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 java.lang.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, java.lang.String _name, java.lang.String _version, java.io.File _contents)
           
 
Method Summary
 void exportToVuzeFile(java.io.File file)
           
protected  java.io.File getContents()
           
 java.lang.String getName()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.io.InputStream getResource(java.lang.String resource_name)
           
 java.io.InputStream[] getResources(java.lang.String resource_name)
           
 java.lang.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,
                            java.lang.String _name,
                            java.lang.String _version,
                            java.io.File _contents)
                     throws CustomizationException
Throws:
CustomizationException
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Customization

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface Customization

getContents

protected java.io.File getContents()

getProperty

public java.lang.Object getProperty(java.lang.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 java.io.InputStream getResource(java.lang.String resource_name)
Specified by:
getResource in interface Customization

getResources

public java.io.InputStream[] getResources(java.lang.String resource_name)
Specified by:
getResources in interface Customization

exportToVuzeFile

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