org.tinyradius.dictionary
Interface WritableDictionary

All Superinterfaces:
Dictionary
All Known Implementing Classes:
DefaultDictionary, MemoryDictionary

public interface WritableDictionary
extends Dictionary

A dictionary that is not read-only. Provides methods to add entries to the dictionary.


Method Summary
 void addAttributeType(AttributeType attributeType)
          Adds an AttributeType object to the dictionary.
 void addVendor(int vendorId, java.lang.String vendorName)
          Adds the given vendor to the dictionary.
 
Methods inherited from interface org.tinyradius.dictionary.Dictionary
getAttributeTypeByCode, getAttributeTypeByCode, getAttributeTypeByName, getVendorId, getVendorName
 

Method Detail

addVendor

void addVendor(int vendorId,
               java.lang.String vendorName)
Adds the given vendor to the dictionary.

Parameters:
vendorId - vendor ID
vendorName - name of the vendor

addAttributeType

void addAttributeType(AttributeType attributeType)
Adds an AttributeType object to the dictionary.

Parameters:
attributeType - AttributeType object