com.aelitis.azureus.core.vuzefile
Class VuzeFileImpl
java.lang.Object
com.aelitis.azureus.core.vuzefile.VuzeFileImpl
- All Implemented Interfaces:
- VuzeFile
public class VuzeFileImpl
- extends java.lang.Object
- implements VuzeFile
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VuzeFileImpl
protected VuzeFileImpl(VuzeFileHandler _handler)
VuzeFileImpl
protected VuzeFileImpl(VuzeFileHandler _handler,
java.util.Map map)
getName
public java.lang.String getName()
- Specified by:
getName
in interface VuzeFile
getComponents
public VuzeFileComponent[] getComponents()
- Specified by:
getComponents
in interface VuzeFile
addComponent
public VuzeFileComponent addComponent(int type,
java.util.Map content)
- Specified by:
addComponent
in interface VuzeFile
exportToMap
public java.util.Map exportToMap()
throws java.io.IOException
- Specified by:
exportToMap
in interface VuzeFile
- Throws:
java.io.IOException
exportToBytes
public byte[] exportToBytes()
throws java.io.IOException
- Specified by:
exportToBytes
in interface VuzeFile
- Throws:
java.io.IOException
exportToJSON
public java.lang.String exportToJSON()
throws java.io.IOException
- Specified by:
exportToJSON
in interface VuzeFile
- Throws:
java.io.IOException
write
public void write(java.io.File target)
throws java.io.IOException
- Specified by:
write
in interface VuzeFile
- Throws:
java.io.IOException