|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tinyradius.dictionary.DictionaryParser
public class DictionaryParser
Parses a dictionary in "Radiator format" and fills a WritableDictionary.
Constructor Summary | |
---|---|
DictionaryParser()
|
Method Summary | |
---|---|
static Dictionary |
parseDictionary(java.io.InputStream source)
Returns a new dictionary filled with the contents from the given input stream. |
static void |
parseDictionary(java.io.InputStream source,
WritableDictionary dictionary)
Parses the dictionary from the specified InputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DictionaryParser()
Method Detail |
---|
public static Dictionary parseDictionary(java.io.InputStream source) throws java.io.IOException
source
- input stream
java.io.IOException
public static void parseDictionary(java.io.InputStream source, WritableDictionary dictionary) throws java.io.IOException
source
- input streamdictionary
- dictionary data is written to
java.io.IOException
- syntax errors
java.lang.RuntimeException
- syntax errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |