org.ccnx.ccn.impl.encoding.FileBinaryXMLDictionary Class Reference
Encapsulates the mapping from textual XML element and attribute names to the ccnb binary encoding of those elements and attributes.
More...
List of all members.
Public Member Functions |
| FileBinaryXMLDictionary (String dictionaryFile) throws IOException |
| FileBinaryXMLDictionary (InputStream dictionaryStream) throws IOException |
Long | stringToTag (String tag) |
String | tagToString (long tagVal) |
Protected Member Functions |
void | loadDictionaryFile (String dictionaryFile) throws IOException |
void | loadDictionary (InputStream in) throws IOException |
Protected Attributes |
String | _dictionaryFileName |
HashMap< String, Long > | _encodingDictionary = new HashMap<String,Long>() |
HashMap< Long, String > | _decodingDictionary = new HashMap<Long,String>() |
Static Protected Attributes |
static String | DEFAULT_DICTIONARY_RESNAME = "tagname.csvdict" |
Detailed Description
Encapsulates the mapping from textual XML element and attribute names to the ccnb binary encoding of those elements and attributes.
This type encapsulates a dictionary loaded from a file.
- See also:
- BinaryXMLCodec
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/impl/encoding/FileBinaryXMLDictionary.java