com.aelitis.azureus.core.custom.impl
Class CustomizationImpl

java.lang.Object
  extended by com.aelitis.azureus.core.custom.impl.CustomizationImpl
All Implemented Interfaces:
Customization

public class CustomizationImpl
extends Object
implements Customization


Field Summary
 
Fields inherited from interface com.aelitis.azureus.core.custom.Customization
RT_CNETWORKS, RT_META_SEARCH_TEMPLATES, RT_SUBSCRIPTIONS
 
Constructor Summary
protected CustomizationImpl(CustomizationManagerImpl _manager, String _name, String _version, File _contents)
           
 
Method Summary
 void exportToVuzeFile(File file)
           
protected  File getContents()
           
 String getName()
           
 Object getProperty(String name)
           
 InputStream getResource(String resource_name)
           
 InputStream[] getResources(String resource_name)
           
 String getVersion()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomizationImpl

protected CustomizationImpl(CustomizationManagerImpl _manager,
                            String _name,
                            String _version,
                            File _contents)
                     throws CustomizationException
Throws:
CustomizationException
Method Detail

getName

public String getName()
Specified by:
getName in interface Customization

getVersion

public String getVersion()
Specified by:
getVersion in interface Customization

getContents

protected File getContents()

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface Customization

isActive

public boolean isActive()
Specified by:
isActive in interface Customization

setActive

public void setActive(boolean active)
Specified by:
setActive in interface Customization

getResource

public InputStream getResource(String resource_name)
Specified by:
getResource in interface Customization

getResources

public InputStream[] getResources(String resource_name)
Specified by:
getResources in interface Customization

exportToVuzeFile

public void exportToVuzeFile(File file)
                      throws CustomizationException
Specified by:
exportToVuzeFile in interface Customization
Throws:
CustomizationException