Class MetadataGeneratorUtil
java.lang.Object
com.puppycrawl.tools.checkstyle.meta.MetadataGeneratorUtil
Class which handles all the metadata generation and writing calls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
generate
(String path, OutputStream out, String... moduleFolders) Generate metadata from the module source files available in the input argument path.getTargetFiles
(String path, String... moduleFolders) Get files that represent modules.
-
Constructor Details
-
MetadataGeneratorUtil
private MetadataGeneratorUtil()Stop instances being created.
-
-
Method Details
-
generate
public static void generate(String path, OutputStream out, String... moduleFolders) throws IOException, CheckstyleException Generate metadata from the module source files available in the input argument path.- Parameters:
path
- argumentsout
- OutputStream for error messagesmoduleFolders
- folders to check- Throws:
IOException
- ioExceptionCheckstyleException
- checkstyleException
-
getTargetFiles
Get files that represent modules.- Parameters:
moduleFolders
- folders to checkpath
- rootPath- Returns:
- files for scrapping javadoc and generation of metadata files
- Throws:
IOException
- ioException
-