public abstract class AbstractBinaryModuleInfoParser extends java.lang.Object implements ModuleInfoParser
Modifier and Type | Field and Description |
---|---|
private static java.util.regex.Pattern |
MRJAR_DESCRIPTOR |
Constructor and Description |
---|
AbstractBinaryModuleInfoParser() |
Modifier and Type | Method and Description |
---|---|
JavaModuleDescriptor |
getModuleDescriptor(java.nio.file.Path modulePath)
Extracts the name from the module-info file
|
(package private) abstract JavaModuleDescriptor |
parse(java.io.InputStream in) |
public JavaModuleDescriptor getModuleDescriptor(java.nio.file.Path modulePath) throws java.io.IOException
ModuleInfoParser
getModuleDescriptor
in interface ModuleInfoParser
modulePath
- the path to the module-info.class
java.io.IOException
- when the file could not be parsedabstract JavaModuleDescriptor parse(java.io.InputStream in) throws java.io.IOException
java.io.IOException