T - The class which the parsers generate.public interface Parsers<T>
| Modifier and Type | Method and Description |
|---|---|
Parser<T> |
getParser(java.lang.String format)
Get a parser for a specific format
|
java.util.Set<java.lang.String> |
getSupportedFormats()
Get all format names for which parsers are known
|
Parser<T> getParser(java.lang.String format) throws ParserNotFoundException
format - The name of the format, which the parser should parseParserNotFoundException - If no parser for the given format is known.java.util.Set<java.lang.String> getSupportedFormats()