Package org.tinyradius.core.dictionary
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.
-
Interface Summary Interface Description CoreDictionary Dictionary A dictionary retrieves AttributeTemplate objects by name or attribute ID.WritableDictionary A dictionary that is not read-only. -
Class Summary Class Description DefaultDictionary The default dictionary is a singleton object containing a dictionary in the memory that is filled on application startup using the default dictionary file from the classpath resourceorg.tinyradius.dictionary.default_dictionary
.MemoryDictionary A dictionary that keeps the values and names in hash maps in the memory.Vendor Vendor definition