请参阅: 说明
接口 | 说明 |
---|---|
Dictionary |
A dictionary retrieves AttributeType objects by name or
type code.
|
WritableDictionary |
A dictionary that is not read-only.
|
类 | 说明 |
---|---|
AttributeType |
Represents a Radius attribute type.
|
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 resource
org.tinyradius.dictionary.default_dictionary . |
DictionaryParser |
Parses a dictionary in "Radiator format" and fills a
WritableDictionary.
|
MemoryDictionary |
A dictionary that keeps the values and names in hash maps
in the memory.
|
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.