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)
protected AbstractParserModule(String sourceDirectory, String extension, String parserId)
sourceDirectory
- not nullextension
- not nullparserId
- not nullpublic String getSourceDirectory()
getSourceDirectory
in interface ParserModule
public String getExtension()
getExtension
in interface ParserModule
public String getParserId()
getParserId
in interface ParserModule
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.