public abstract class AbstractParserModule extends Object implements ParserModule
| Modifier | Constructor and Description |
|---|---|
|
AbstractParserModule()
Constructor with null.
|
|
AbstractParserModule(String parserId)
Constructor with same value for everything: source directory and file extension equal parserId.
|
|
AbstractParserModule(String parserId,
String extension)
Constructor with same value for parser id and source directory.
|
protected |
AbstractParserModule(String sourceDirectory,
String extension,
String parserId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Returns the default file extension for a given module.
|
String |
getParserId()
Returns the parser id for a given module.
|
String |
getSourceDirectory()
Returns the directory that contains source files for a given module.
|
public AbstractParserModule()
public AbstractParserModule(String parserId)
public AbstractParserModule(String parserId, String extension)
public String getSourceDirectory()
getSourceDirectory in interface ParserModulepublic String getExtension()
getExtension in interface ParserModulepublic String getParserId()
getParserId in interface ParserModuleCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.