Package com.biglybt.core.torrent.impl
Class TOTorrentXMLDeserialiser
- java.lang.Object
-
- com.biglybt.core.torrent.impl.TOTorrentXMLDeserialiser
-
public class TOTorrentXMLDeserialiser extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
TOTorrentXMLDeserialiser.mapEntry
-
Constructor Summary
Constructors Constructor Description TOTorrentXMLDeserialiser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decodeInfo(SimpleXMLParserDocumentNode doc, TOTorrentImpl torrent)
protected TOTorrent
decodeRoot(SimpleXMLParserDocument doc)
TOTorrent
deserialise(java.io.File file)
protected byte[]
readGenericBytes(SimpleXMLParserDocumentNode node)
protected java.util.List
readGenericList(SimpleXMLParserDocumentNode node)
protected java.lang.Long
readGenericLong(SimpleXMLParserDocumentNode node)
protected java.util.Map
readGenericMap(SimpleXMLParserDocumentNode node)
protected TOTorrentXMLDeserialiser.mapEntry
readGenericMapEntry(SimpleXMLParserDocumentNode node)
protected java.lang.Object
readGenericValue(SimpleXMLParserDocumentNode node)
protected byte[]
readLocalisableString(SimpleXMLParserDocumentNode kid)
-
-
-
Method Detail
-
deserialise
public TOTorrent deserialise(java.io.File file) throws TOTorrentException
- Throws:
TOTorrentException
-
decodeRoot
protected TOTorrent decodeRoot(SimpleXMLParserDocument doc) throws TOTorrentException
- Throws:
TOTorrentException
-
decodeInfo
protected void decodeInfo(SimpleXMLParserDocumentNode doc, TOTorrentImpl torrent) throws TOTorrentException
- Throws:
TOTorrentException
-
readGenericMapEntry
protected TOTorrentXMLDeserialiser.mapEntry readGenericMapEntry(SimpleXMLParserDocumentNode node) throws TOTorrentException
- Throws:
TOTorrentException
-
readGenericValue
protected java.lang.Object readGenericValue(SimpleXMLParserDocumentNode node) throws TOTorrentException
- Throws:
TOTorrentException
-
readGenericBytes
protected byte[] readGenericBytes(SimpleXMLParserDocumentNode node) throws TOTorrentException
- Throws:
TOTorrentException
-
readGenericLong
protected java.lang.Long readGenericLong(SimpleXMLParserDocumentNode node) throws TOTorrentException
- Throws:
TOTorrentException
-
readGenericMap
protected java.util.Map readGenericMap(SimpleXMLParserDocumentNode node) throws TOTorrentException
- Throws:
TOTorrentException
-
readLocalisableString
protected byte[] readLocalisableString(SimpleXMLParserDocumentNode kid) throws TOTorrentException
- Throws:
TOTorrentException
-
readGenericList
protected java.util.List readGenericList(SimpleXMLParserDocumentNode node) throws TOTorrentException
- Throws:
TOTorrentException
-
-