Package org.tinyradius.core.dictionary
Interface WritableDictionary
- All Superinterfaces:
CoreDictionary
,Dictionary
- All Known Implementing Classes:
MemoryDictionary
A dictionary that is not read-only. Provides methods
to add entries to the dictionary.
-
Method Summary
Modifier and TypeMethodDescriptionaddAttributeTemplate
(AttributeTemplate attributeTemplate) Adds an AttributeTemplate object to the dictionary.Adds the given vendor to the dictionary.Methods inherited from interface org.tinyradius.core.dictionary.CoreDictionary
getAttributeTemplate, getAttributeTemplate, getAttributeTemplate, getVendor, getVendor
Methods inherited from interface org.tinyradius.core.dictionary.Dictionary
createAttribute, createAttribute, createAttribute, createAttribute, createAttribute, createAttribute
-
Method Details
-
addVendor
Adds the given vendor to the dictionary.- Parameters:
vendor
- vendor to add- Returns:
- this WritableDictionary
- Throws:
IllegalArgumentException
- empty vendor name, invalid vendor ID
-
addAttributeTemplate
Adds an AttributeTemplate object to the dictionary.- Parameters:
attributeTemplate
- AttributeTemplate to add- Returns:
- this WritableDictionary
-