public interface IParsersClassProvider extends IParsersInfo
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInputFormatClassName(java.lang.String formatID)
Gets the name of the InputParser subclass for the format
|
java.lang.String |
getInputFormatClassNameThroughExtension(java.lang.String extension)
Looks if there's any input format whose files correspond to the extension given and returns the name of the input format class which parses that format
|
java.lang.String |
getOutputFormatClassName(java.lang.String formatID)
Gets the name of the OutputParser subclass for the format
|
getCommandLineOption, getCommandLineOptionsIterator, getFileExtension, getFileExtensionsIterator, getFormatByCommandLineOption, getFormatByExtension, getFormatsIterator, getInputFormatsIterator, getOutputFormatsIterator, hasCommandLineOption, hasFileExtension, hasFormat, hasInputFormat, hasInputRecognizedFormat, hasOutputFormat
java.lang.String getInputFormatClassName(java.lang.String formatID) throws PlinguaCoreException
formatID
- the format which InputParser subclass name is requiredPlinguaCoreException
- if the given format hasn't a IntputParser subclassjava.lang.String getOutputFormatClassName(java.lang.String formatID) throws PlinguaCoreException
formatID
- the format which OutputParser subclass name is requiredPlinguaCoreException
- if the given format hasn't a OutputParser subclassjava.lang.String getInputFormatClassNameThroughExtension(java.lang.String extension) throws PlinguaCoreException
extension
- the extension which input format class name should be returnedPlinguaCoreException
- if there's no recognized input parser for the extension given