程序包 org.tinyradius.dictionary

This package contains interfaces and classes that manage a dictionary of Radius attribute types.

请参阅: 说明

程序包org.tinyradius.dictionary的说明

This package contains interfaces and classes that manage a dictionary of Radius attribute types.

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

The interface Dictionary declares the methods necessary to access a dictionary. Every class that implements this interface can be used to resolve AttributeType objects.

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. The DefaultDictionary class is initialised from the classpath resource org.tinyradius.dictionary.default_dictionary.

Copyright © 2016. All rights reserved.