Package org.tinyradius.core.dictionary


package org.tinyradius.core.dictionary
Interfaces and classes that manage a dictionary of Radius attribute types.

Each attribute type is represented by an instance of the object AttributeTemplate. This class stores the type code, the type name and the vendor ID for each attribute type.

Dictionaries that can be changed after construction should implement the interface WritableDictionary. You can use the class DictionaryParser to populate WritableDictionary objects with data from a dictionary file in the well-known Radiator dictionary file format.

MemoryDictionary is the default implementation of WritableDictionary. It manages a dictionary held in the RAM. This class is used together with the DictionaryParser by the class DefaultDictionary which is a singleton object containing the default dictionary that is used if there is no dictionary explicitly specified.