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...

Inheritance diagram for org.ccnx.ccn.impl.encoding.FileBinaryXMLDictionary:

org.ccnx.ccn.impl.encoding.XMLDictionary

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:

Generated on Thu Feb 16 00:44:52 2012 for Content-Centric Networking in Java by  doxygen 1.5.6