Package com.biglybt.core.torrent.impl
Class TOTorrentDeserialiseImpl
- java.lang.Object
-
- com.biglybt.core.logging.LogRelation
-
- com.biglybt.core.torrent.impl.TOTorrentImpl
-
- com.biglybt.core.torrent.impl.TOTorrentDeserialiseImpl
-
- All Implemented Interfaces:
TOTorrent
public class TOTorrentDeserialiseImpl extends TOTorrentImpl
-
-
Field Summary
-
Fields inherited from class com.biglybt.core.torrent.impl.TOTorrentImpl
this_mon, TK_ADDITIONAL_OK_ATTRS, TK_ANNOUNCE, TK_ANNOUNCE_LIST, TK_BEP47_ATTRS, TK_COMMENT, TK_COMMENT_UTF8, TK_CREATED_BY, TK_CREATION_DATE, TK_ENCODING, 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_SOURCE, TK_V2_FILE_TREE, TK_V2_META_VERSION, TK_V2_PIECE_LAYERS, TK_V2_PIECES_ROOT, TK_WEBSEED_BT, TK_WEBSEED_GR
-
Fields inherited from interface com.biglybt.core.torrent.TOTorrent
AZUREUS_PRIVATE_PROPERTIES, AZUREUS_PROPERTIES, DEFAULT_IGNORE_FILES, ENCODING_ACTUALLY_UTF8_KEYS, TT_V1, TT_V1_V2, TT_V2
-
-
Constructor Summary
Constructors Constructor Description TOTorrentDeserialiseImpl(byte[] bytes)
TOTorrentDeserialiseImpl(java.io.File file)
TOTorrentDeserialiseImpl(java.io.InputStream is)
TOTorrentDeserialiseImpl(java.util.Map map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
construct(byte[] bytes)
protected void
construct(java.io.InputStream is)
protected void
construct(java.util.Map meta_data)
protected void
print(java.lang.String indent, java.lang.String name, byte[] value)
protected void
print(java.lang.String indent, java.lang.String name, java.lang.Long value)
protected void
print(java.lang.String indent, java.lang.String name, java.util.List list)
protected void
print(java.lang.String indent, java.lang.String name, java.util.Map map)
void
printMap()
-
Methods inherited from class com.biglybt.core.torrent.impl.TOTorrentImpl
addAdditionalInfoProperty, addAdditionalProperty, addGlobalListener, addListener, addTorrentAnnounceURLSet, anonymityTransform, fireChanged, fixupRootHashes, getAdditionalByteArrayProperty, getAdditionalInfoProperties, getAdditionalListProperty, getAdditionalLongProperty, getAdditionalMapProperty, getAdditionalProperties, getAdditionalProperty, getAdditionalStringProperty, getAnnounceURL, getAnnounceURLGroup, getComment, getCreatedBy, getCreationDate, getFileCount, getFiles, getFullHash, getHash, getHashOverride, getHashWrapper, getMonitor, getName, getNumberOfPieces, getPieceLength, getPieces, getPrivate, getQueryableInterfaces, getRelationText, getSimpleTorrent, getSize, getSource, getTorrentType, getUTF8Name, hasSameHashAs, isCreated, isDecentralised, isExportable, isSimpleTorrent, print, readStringFromMetaData, readStringFromMetaData, removeAdditionalProperties, removeAdditionalProperty, removeGlobalListener, removeListener, selectHybridHashType, serialiseToBEncodedFile, serialiseToByteArray, serialiseToMap, serialiseToXMLFile, setAdditionalByteArrayProperty, setAdditionalListProperty, setAdditionalLongProperty, setAdditionalMapProperty, setAdditionalProperty, setAdditionalStringProperty, setAnnounceURL, setComment, setComment, setConstructed, setCreatedBy, setCreatedBy, setCreationDate, setFiles, setHashFromInfo, setHashOverride, setName, setNameUTF8, setPiece, setPieceLength, setPieces, setPrivate, setSimpleTorrent, setSource, setTorrentType, updateExportability, writeStringToMetaData, writeStringToMetaData
-
Methods inherited from class com.biglybt.core.logging.LogRelation
propogatedRelationText, queryForClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.biglybt.core.torrent.TOTorrent
getEffectiveTorrentType, getTruncatedHash
-
-
-
-
Constructor Detail
-
TOTorrentDeserialiseImpl
public TOTorrentDeserialiseImpl(java.io.File file) throws TOTorrentException
- Throws:
TOTorrentException
-
TOTorrentDeserialiseImpl
public TOTorrentDeserialiseImpl(java.io.InputStream is) throws TOTorrentException
- Throws:
TOTorrentException
-
TOTorrentDeserialiseImpl
public TOTorrentDeserialiseImpl(byte[] bytes) throws TOTorrentException
- Throws:
TOTorrentException
-
TOTorrentDeserialiseImpl
public TOTorrentDeserialiseImpl(java.util.Map map) throws TOTorrentException
- Throws:
TOTorrentException
-
-
Method Detail
-
construct
protected void construct(java.io.InputStream is) throws TOTorrentException
- Throws:
TOTorrentException
-
construct
protected void construct(byte[] bytes) throws TOTorrentException
- Throws:
TOTorrentException
-
construct
protected void construct(java.util.Map meta_data) throws TOTorrentException
- Throws:
TOTorrentException
-
printMap
public void printMap()
-
print
protected void print(java.lang.String indent, java.lang.String name, java.util.Map map)
-
print
protected void print(java.lang.String indent, java.lang.String name, java.util.List list)
-
print
protected void print(java.lang.String indent, java.lang.String name, java.lang.Long value)
-
print
protected void print(java.lang.String indent, java.lang.String name, byte[] value)
-
-