|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DataDirObject is an interface that allows various types of objects to be stored in a DataDir. The DataDir class provides methods for storing and retrieving bitstrings, byte arrays, Strings, numbers, and OIDs (Object Identifier from Z39.50). If you want 1) to store an object of an additional type and 2) do not want to convert that object to a byte array or String then implement the object from this interface. Use daddObj() to insert the object into a DataDir. The implemented object will need a method to convert a byte array back into the object since a DataDir built from a BerString only has byte arrays.
Method Summary | |
Object |
clone()
Method to create a clone of the object. |
int |
length()
Method to get the length of the object. |
byte[] |
toByteArray()
Method to convert the object to a byte array. |
String |
toString()
Method to convert the object to a String. |
Method Detail |
public byte[] toByteArray()
public int length()
public String toString()
public Object clone()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |