Package org.tinyradius.core.dictionary
Interface WritableDictionary
- All Superinterfaces:
CoreDictionary
,Dictionary
- All Known Implementing Classes:
MemoryDictionary
public interface WritableDictionary extends Dictionary
A dictionary that is not read-only. Provides methods
to add entries to the dictionary.
-
Method Summary
Modifier and Type Method Description void
addAttributeTemplate(AttributeTemplate attributeTemplate)
Adds an AttributeTemplate object to the dictionary.void
addVendor(Vendor vendor)
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, parseAttribute
-
Method Details
-
addVendor
Adds the given vendor to the dictionary.- Parameters:
vendor
- vendor- Throws:
java.lang.IllegalArgumentException
- empty vendor name, invalid vendor ID
-
addAttributeTemplate
Adds an AttributeTemplate object to the dictionary.- Parameters:
attributeTemplate
- AttributeTemplate object
-