|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.torrentsniffer.bencoding.Dictionary
Implementation of the bencoding Dictionary type.
Constructor Summary | |
Dictionary()
|
Method Summary | |
void |
addValue(java.lang.Object value)
Adds a value to the Dictionary. |
void |
close()
Check that all keys have an associated value. |
java.lang.Object |
get(java.lang.String key)
Retrieve the value from the dictionary by specifying a key. |
java.lang.String[] |
getKeys()
Return the keys in this dictionary. |
java.lang.String |
getString(java.lang.String key)
Retrieves a String from the Dictionary |
int |
size()
Returns the size of the dictionary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Dictionary()
Method Detail |
public void addValue(java.lang.Object value)
value
-
java.io.UnsupportedEncodingException
public java.lang.Object get(java.lang.String key)
key
-
public java.lang.String getString(java.lang.String key)
key
-
public void close()
public int size()
public java.lang.String[] getKeys()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |