com.aelitis.azureus.core.vuzefile
Class VuzeFileHandler

java.lang.Object
  extended by com.aelitis.azureus.core.vuzefile.VuzeFileHandler

public class VuzeFileHandler
extends java.lang.Object


Constructor Summary
protected VuzeFileHandler()
           
 
Method Summary
 void addProcessor(VuzeFileProcessor proc)
           
 VuzeFile create()
           
static VuzeFileHandler getSingleton()
           
protected  VuzeFile getVuzeFile(java.io.InputStream is)
           
 void handleFiles(VuzeFile[] files, int expected_types)
           
 VuzeFile loadAndHandleVuzeFile(java.lang.String target, int expected_types)
           
 VuzeFile loadVuzeFile(byte[] bytes)
           
 VuzeFile loadVuzeFile(java.io.File file)
           
 VuzeFile loadVuzeFile(java.io.InputStream is)
           
 VuzeFile loadVuzeFile(java.util.Map map)
           
 VuzeFile loadVuzeFile(java.lang.String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VuzeFileHandler

protected VuzeFileHandler()
Method Detail

getSingleton

public static VuzeFileHandler getSingleton()

loadVuzeFile

public VuzeFile loadVuzeFile(java.lang.String target)

loadVuzeFile

public VuzeFile loadVuzeFile(byte[] bytes)

loadVuzeFile

public VuzeFile loadVuzeFile(java.io.InputStream is)

loadVuzeFile

public VuzeFile loadVuzeFile(java.io.File file)

getVuzeFile

protected VuzeFile getVuzeFile(java.io.InputStream is)

loadVuzeFile

public VuzeFile loadVuzeFile(java.util.Map map)

loadAndHandleVuzeFile

public VuzeFile loadAndHandleVuzeFile(java.lang.String target,
                                      int expected_types)

handleFiles

public void handleFiles(VuzeFile[] files,
                        int expected_types)

create

public VuzeFile create()

addProcessor

public void addProcessor(VuzeFileProcessor proc)