Package com.biglybt.core.torrent.impl
Class TOTorrentXMLSerialiser
- java.lang.Object
-
- com.biglybt.core.xml.util.XUXmlWriter
-
- com.biglybt.core.torrent.impl.TOTorrentXMLSerialiser
-
public class TOTorrentXMLSerialiser extends XUXmlWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected TOTorrentImpl
torrent
-
Constructor Summary
Constructors Modifier Constructor Description protected
TOTorrentXMLSerialiser(TOTorrentImpl _torrent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
serialiseToFile(java.io.File file)
protected void
writeInfo()
protected void
writeRoot()
-
Methods inherited from class com.biglybt.core.xml.util.XUXmlWriter
closeOutputStream, encodeBytes, escapeXML, exdent, flushOutputStream, indent, resetIndent, setGenericSimple, setOutputStream, setOutputWriter, splitWithEscape, unescapeXML, writeGeneric, writeGeneric, writeGeneric, writeGeneric, writeGeneric, writeGeneric, writeGenericMapEntry, writeLineEscaped, writeLineRaw, writeLocalisableTag, writeTag, writeTag, writeTag, writeTag
-
-
-
-
Field Detail
-
torrent
protected final TOTorrentImpl torrent
-
-
Constructor Detail
-
TOTorrentXMLSerialiser
protected TOTorrentXMLSerialiser(TOTorrentImpl _torrent)
-
-
Method Detail
-
serialiseToFile
protected void serialiseToFile(java.io.File file) throws TOTorrentException
- Throws:
TOTorrentException
-
writeRoot
protected void writeRoot() throws TOTorrentException
- Throws:
TOTorrentException
-
writeInfo
protected void writeInfo() throws TOTorrentException
- Throws:
TOTorrentException
-
-