public class SourceFormatterHelper
extends java.lang.Object
Constructor and Description |
---|
SourceFormatterHelper(boolean useProperties) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected java.util.List<java.lang.String> |
getFileNames(java.lang.String baseDir,
java.util.List<java.lang.String> recentChangesFileNames,
java.util.List<java.nio.file.PathMatcher> excludeDirPathMatchers,
java.util.List<java.nio.file.PathMatcher> excludeFilePathMatchers,
java.util.List<java.nio.file.PathMatcher> includeFilePathMatchers) |
java.util.List<java.lang.String> |
getFileNames(java.lang.String baseDir,
java.util.List<java.lang.String> recentChangesFileNames,
java.lang.String[] excludes,
java.lang.String[] includes) |
void |
init() |
void |
printError(java.lang.String fileName,
java.io.File file) |
void |
printError(java.lang.String fileName,
java.lang.String message) |
protected java.util.List<java.lang.String> |
scanForFiles(java.lang.String baseDir,
java.util.List<java.nio.file.PathMatcher> excludeDirPathMatchers,
java.util.List<java.nio.file.PathMatcher> excludeFilePathMatchers,
java.util.List<java.nio.file.PathMatcher> includeFilePathMatchers) |
protected void |
updateProperties(java.lang.String fileName) |
public void close() throws java.io.IOException
java.io.IOException
public java.util.List<java.lang.String> getFileNames(java.lang.String baseDir, java.util.List<java.lang.String> recentChangesFileNames, java.lang.String[] excludes, java.lang.String[] includes) throws java.lang.Exception
java.lang.Exception
public void init() throws java.io.IOException
java.io.IOException
public void printError(java.lang.String fileName, java.io.File file)
public void printError(java.lang.String fileName, java.lang.String message)
protected java.util.List<java.lang.String> getFileNames(java.lang.String baseDir, java.util.List<java.lang.String> recentChangesFileNames, java.util.List<java.nio.file.PathMatcher> excludeDirPathMatchers, java.util.List<java.nio.file.PathMatcher> excludeFilePathMatchers, java.util.List<java.nio.file.PathMatcher> includeFilePathMatchers) throws java.lang.Exception
java.lang.Exception
protected java.util.List<java.lang.String> scanForFiles(java.lang.String baseDir, java.util.List<java.nio.file.PathMatcher> excludeDirPathMatchers, java.util.List<java.nio.file.PathMatcher> excludeFilePathMatchers, java.util.List<java.nio.file.PathMatcher> includeFilePathMatchers) throws java.lang.Exception
java.lang.Exception
protected void updateProperties(java.lang.String fileName)