public interface IParsersInfo
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandLineOption(java.lang.String formatID)
Gets the command-line option of the format file identified by the ID
passed as argument
|
java.util.Iterator<java.lang.String> |
getCommandLineOptionsIterator()
Gets an iterator on the existent command-line options
|
java.lang.String |
getFileExtension(java.lang.String formatID)
Gets the file extension of the format identified by the ID passed as
argument
|
java.util.Iterator<java.lang.String> |
getFileExtensionsIterator() |
java.lang.String |
getFormatByCommandLineOption(java.lang.String option)
Gets the ID of the format file whose command-line option is passed as
argument
|
java.lang.String |
getFormatByExtension(java.lang.String extension)
Gets the ID of the format file whose file extension is passed as argument
|
java.util.Iterator<java.lang.String> |
getFormatsIterator()
Gets an iterator over the recognized IDs
|
java.util.Iterator<java.lang.String> |
getInputFormatsIterator()
Gets an iterator on the existent input formats IDs
|
java.util.Iterator<java.lang.String> |
getOutputFormatsIterator()
Gets an iterator on the existent output formats IDs
|
boolean |
hasCommandLineOption(java.lang.String option)
Check if exists a specific command-line option
|
boolean |
hasFileExtension(java.lang.String extension)
Check if there is any format file for a file extension
|
boolean |
hasFormat(java.lang.String formatID)
Check if exists an specific format file
|
boolean |
hasInputFormat(java.lang.String formatID)
Check if exists a specific input format file
|
boolean |
hasInputRecognizedFormat(java.lang.String fileExtension)
Checks if there's any input recognized format for a file extension
|
boolean |
hasOutputFormat(java.lang.String formatID)
Check if exists a specific output format file
|
java.lang.String getFileExtension(java.lang.String formatID)
formatID
- the ID of the format file whose file extension is requiredjava.lang.IllegalArgumentException
- if the formatID is not a recognized formatjava.lang.String getCommandLineOption(java.lang.String formatID)
formatID
- the ID of the format file whose command-line option is
requiredjava.lang.IllegalArgumentException
- if the formatID is not a recognized formatjava.lang.String getFormatByExtension(java.lang.String extension)
extension
- the extension whose format file ID is requiredjava.lang.IllegalArgumentException
- if the extension is not a recognized file extensionjava.lang.String getFormatByCommandLineOption(java.lang.String option)
option
- the command-line option whose format file ID is requiredjava.lang.IllegalArgumentException
- if the option is not a recognized command-line optionboolean hasFileExtension(java.lang.String extension)
extension
- a file extensionboolean hasFormat(java.lang.String formatID)
format
- ID The ID of the format fileboolean hasInputFormat(java.lang.String formatID)
format
- ID The ID of the input format fileboolean hasOutputFormat(java.lang.String formatID)
format
- ID The ID of the output format fileboolean hasCommandLineOption(java.lang.String option)
option
- a command-line optionjava.util.Iterator<java.lang.String> getInputFormatsIterator()
java.util.Iterator<java.lang.String> getCommandLineOptionsIterator()
java.util.Iterator<java.lang.String> getFileExtensionsIterator()
java.util.Iterator<java.lang.String> getOutputFormatsIterator()
java.util.Iterator<java.lang.String> getFormatsIterator()
boolean hasInputRecognizedFormat(java.lang.String fileExtension)
fileExtension
- the file extension whose input format will be sought