@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()
ModuleInfoParser
getType
in interface ModuleInfoParser
public java.lang.String getModuleName(java.io.File modulePath) throws java.io.IOException
ModuleInfoParser
getModuleName
in interface ModuleInfoParser
java.io.IOException
private java.io.InputStream getModuleInfoClass(java.io.File modulePath) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException