Uses of Interface
org.johnnei.javatorrent.bittorrent.encoding.IBencodedValue
-
Packages that use IBencodedValue Package Description org.johnnei.javatorrent.bittorrent.encoding -
-
Uses of IBencodedValue in org.johnnei.javatorrent.bittorrent.encoding
Classes in org.johnnei.javatorrent.bittorrent.encoding that implement IBencodedValue Modifier and Type Class Description classAbstractBencodedValueBase class for implementations forIBencodedValuewhich implements allasXmethods to throwUnsupportedOperationExceptionclassBencodedIntegerA bencoded integer.classBencodedListA bencoded list.classBencodedMapA bencoded dictionary.classBencodedStringA bencoded string.Methods in org.johnnei.javatorrent.bittorrent.encoding that return IBencodedValue Modifier and Type Method Description IBencodedValueBencoding. decode(InStream inStream)Decodes the given string reader into the bencoded data structure.IBencodedValueBencodedList. get(int index)Gets an item from the bencoded list.Methods in org.johnnei.javatorrent.bittorrent.encoding that return types with arguments of type IBencodedValue Modifier and Type Method Description List<IBencodedValue>AbstractBencodedValue. asList()List<IBencodedValue>BencodedList. asList()List<IBencodedValue>IBencodedValue. asList()Map<String,IBencodedValue>AbstractBencodedValue. asMap()Map<String,IBencodedValue>BencodedMap. asMap()Map<String,IBencodedValue>IBencodedValue. asMap()Optional<IBencodedValue>BencodedMap. get(String name)Gets the value from the map if available.Optional<IBencodedValue>BencodedMap. remove(String name)Removes a value from the map.Methods in org.johnnei.javatorrent.bittorrent.encoding with parameters of type IBencodedValue Modifier and Type Method Description voidBencodedList. add(IBencodedValue value)Adds a value to the bencoded list.voidBencodedMap. put(String name, IBencodedValue value)Associates the given bencoded value with the given key.
-