Class DictionaryParser
java.lang.Object
org.tinyradius.core.dictionary.parser.DictionaryParser
Parses a dictionary in Radiator format and fills a WritableDictionary.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DictionaryParser
static DictionaryParser
parseDictionary
(String resource) Returns a new dictionary filled with the contents from the given input stream.
-
Method Details
-
newClasspathParser
-
newFileParser
-
parseDictionary
Returns a new dictionary filled with the contents from the given input stream.- Parameters:
resource
- location of resource, resolved depending onResourceResolver
- Returns:
- dictionary object
- Throws:
IOException
- parse error reading from input
-