Interface IEclipseStylesheetGenerator
-
- All Known Implementing Classes:
EclipseStylesheetGenerator
public interface IEclipseStylesheetGenerator
This helps generating a proper Eclipse Stylesheet, based on the existing codebase: it will generate a stylesheet minimizing impacts over the codebase (supposing the codebase is well formatted)- Author:
- Benoit Lacelle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
generateSettings(OffsetDateTime limit, Map<Path,String> pathToContent)
This operation can be very longMap<Path,String>
loadFilesContent(Path path, Pattern compile)
-
-
-
Method Detail
-
loadFilesContent
Map<Path,String> loadFilesContent(Path path, Pattern compile) throws IOException
- Throws:
IOException
-
generateSettings
Map<String,String> generateSettings(OffsetDateTime limit, Map<Path,String> pathToContent)
This operation can be very long- Parameters:
limit
- the maximum duration of the operationpathToContent
- a Map from path to the content to match. These content is typically an existing file for which we are looking a relevant formatter stylesheet- Returns:
-
-