com.aelitis.azureus.core.vuzefile
Class VuzeFileHandler

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

public class VuzeFileHandler
extends Object


Constructor Summary
protected VuzeFileHandler()
           
 
Method Summary
 void addProcessor(VuzeFileProcessor proc)
           
 VuzeFile create()
           
static VuzeFileHandler getSingleton()
           
protected  VuzeFile getVuzeFile(InputStream is)
           
 void handleFiles(VuzeFile[] files, int expected_types)
           
 VuzeFile loadAndHandleVuzeFile(String target, int expected_types)
           
 VuzeFile loadVuzeFile(byte[] bytes)
           
 VuzeFile loadVuzeFile(File file)
           
 VuzeFile loadVuzeFile(InputStream is)
           
 VuzeFile loadVuzeFile(Map map)
           
 VuzeFile loadVuzeFile(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(String target)

loadVuzeFile

public VuzeFile loadVuzeFile(byte[] bytes)

loadVuzeFile

public VuzeFile loadVuzeFile(InputStream is)

loadVuzeFile

public VuzeFile loadVuzeFile(File file)

getVuzeFile

protected VuzeFile getVuzeFile(InputStream is)

loadVuzeFile

public VuzeFile loadVuzeFile(Map map)

loadAndHandleVuzeFile

public VuzeFile loadAndHandleVuzeFile(String target,
                                      int expected_types)

handleFiles

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

create

public VuzeFile create()

addProcessor

public void addProcessor(VuzeFileProcessor proc)