@Component(role=ModuleInfoParser.class, hint="asm") public class AsmModuleInfoParser extends java.lang.Object implements ModuleInfoParser
ModuleInfoParser.Type| Constructor and Description |
|---|
AsmModuleInfoParser() |
| Modifier and Type | Method and Description |
|---|---|
private java.io.InputStream |
getModuleInfoClass(java.io.File modulePath) |
java.lang.String |
getModuleName(java.io.File modulePath)
Extracts the name from the module-info file
|
ModuleInfoParser.Type |
getType()
What kind of file does the parser use
|
public ModuleInfoParser.Type getType()
ModuleInfoParsergetType in interface ModuleInfoParserpublic java.lang.String getModuleName(java.io.File modulePath)
throws java.io.IOException
ModuleInfoParsergetModuleName in interface ModuleInfoParserjava.io.IOExceptionprivate java.io.InputStream getModuleInfoClass(java.io.File modulePath)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOException