org.gudy.azureus2.core3.torrent.impl
Class TOTorrentDeserialiseImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.logging.LogRelation
      extended by org.gudy.azureus2.core3.torrent.impl.TOTorrentImpl
          extended by org.gudy.azureus2.core3.torrent.impl.TOTorrentDeserialiseImpl
All Implemented Interfaces:
TOTorrent

public class TOTorrentDeserialiseImpl
extends TOTorrentImpl


Field Summary
 
Fields inherited from class org.gudy.azureus2.core3.torrent.impl.TOTorrentImpl
this_mon, TK_ADDITIONAL_OK_ATTRS, TK_ANNOUNCE, TK_ANNOUNCE_LIST, TK_COMMENT, TK_COMMENT_UTF8, TK_CREATED_BY, TK_CREATION_DATE, TK_FILES, TK_HASH_OVERRIDE, TK_INFO, TK_LENGTH, TK_NAME, TK_NAME_UTF8, TK_PATH, TK_PATH_UTF8, TK_PIECE_LENGTH, TK_PIECES, TK_PRIVATE, TK_WEBSEED_BT, TK_WEBSEED_GR
 
Fields inherited from interface org.gudy.azureus2.core3.torrent.TOTorrent
AZUREUS_PRIVATE_PROPERTIES, AZUREUS_PROPERTIES, DEFAULT_IGNORE_FILES, ENCODING_ACTUALLY_UTF8_KEYS
 
Constructor Summary
TOTorrentDeserialiseImpl(byte[] bytes)
           
TOTorrentDeserialiseImpl(File file)
           
TOTorrentDeserialiseImpl(InputStream is)
           
TOTorrentDeserialiseImpl(Map map)
           
 
Method Summary
protected  void construct(byte[] bytes)
           
protected  void construct(InputStream is)
           
protected  void construct(Map meta_data)
           
protected  void print(String indent, String name, byte[] value)
           
protected  void print(String indent, String name, List list)
           
protected  void print(String indent, String name, Long value)
           
protected  void print(String indent, String name, Map map)
           
 void printMap()
           
 
Methods inherited from class org.gudy.azureus2.core3.torrent.impl.TOTorrentImpl
addAdditionalInfoProperty, addAdditionalProperty, addListener, addTorrentAnnounceURLSet, anonymityTransform, fireChanged, getAdditionalByteArrayProperty, getAdditionalInfoProperties, getAdditionalListProperty, getAdditionalLongProperty, getAdditionalMapProperty, getAdditionalProperties, getAdditionalProperty, getAdditionalStringProperty, getAnnounceURL, getAnnounceURLGroup, getComment, getCreatedBy, getCreationDate, getFileCount, getFiles, getHash, getHashOverride, getHashWrapper, getMonitor, getName, getNumberOfPieces, getPieceLength, getPieces, getPrivate, getQueryableInterfaces, getRelationText, getSimpleTorrent, getSize, getUTF8Name, hasSameHashAs, isCreated, isDecentralised, isSimpleTorrent, print, readStringFromMetaData, readStringFromMetaData, removeAdditionalProperties, removeAdditionalProperty, removeListener, serialiseToBEncodedFile, serialiseToByteArray, serialiseToMap, serialiseToXMLFile, setAdditionalByteArrayProperty, setAdditionalListProperty, setAdditionalLongProperty, setAdditionalMapProperty, setAdditionalProperty, setAdditionalStringProperty, setAnnounceURL, setComment, setComment, setCreatedBy, setCreatedBy, setCreationDate, setFiles, setHashFromInfo, setHashOverride, setName, setNameUTF8, setPieceLength, setPieces, setPrivate, setSimpleTorrent, writeStringToMetaData, writeStringToMetaData
 
Methods inherited from class org.gudy.azureus2.core3.logging.LogRelation
propogatedRelationText, queryForClass, queryForClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TOTorrentDeserialiseImpl

public TOTorrentDeserialiseImpl(File file)
                         throws TOTorrentException
Throws:
TOTorrentException

TOTorrentDeserialiseImpl

public TOTorrentDeserialiseImpl(InputStream is)
                         throws TOTorrentException
Throws:
TOTorrentException

TOTorrentDeserialiseImpl

public TOTorrentDeserialiseImpl(byte[] bytes)
                         throws TOTorrentException
Throws:
TOTorrentException

TOTorrentDeserialiseImpl

public TOTorrentDeserialiseImpl(Map map)
                         throws TOTorrentException
Throws:
TOTorrentException
Method Detail

construct

protected void construct(InputStream is)
                  throws TOTorrentException
Throws:
TOTorrentException

construct

protected void construct(byte[] bytes)
                  throws TOTorrentException
Throws:
TOTorrentException

construct

protected void construct(Map meta_data)
                  throws TOTorrentException
Throws:
TOTorrentException

printMap

public void printMap()

print

protected void print(String indent,
                     String name,
                     Map map)

print

protected void print(String indent,
                     String name,
                     List list)

print

protected void print(String indent,
                     String name,
                     Long value)

print

protected void print(String indent,
                     String name,
                     byte[] value)