public class DictionaryParser extends Object
| 构造器和说明 |
|---|
DictionaryParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Dictionary |
parseDictionary(InputStream source)
Returns a new dictionary filled with the contents
from the given input stream.
|
static void |
parseDictionary(InputStream source,
WritableDictionary dictionary)
Parses the dictionary from the specified InputStream.
|
public static Dictionary parseDictionary(InputStream source) throws IOException
source - input streamIOExceptionpublic static void parseDictionary(InputStream source, WritableDictionary dictionary) throws IOException
source - input streamdictionary - dictionary data is written toIOException - syntax errorsRuntimeException - syntax errorsCopyright © 2016. All rights reserved.