|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xoe.core.packages.FileIteratingInstaller
Base class for installing files. Implement these in non-abstract subclasses: public String getNamespaceURI ();
Field Summary | |
protected Vector |
m_conflicts
|
protected XoePackage |
m_package
|
protected Vector |
m_provides
|
protected Vector |
m_requires
|
Fields inherited from interface org.xoe.core.packages.IPackageXMLHandler |
FEATURE_NAMESPACE, FUNCTIONALITY, INTERFACE |
Constructor Summary | |
FileIteratingInstaller()
|
Method Summary | |
Vector |
generateConflicts()
This function is used at build time. |
Vector |
generateProvides()
This function is used at build time. |
Vector |
generateRequires()
This function is used at build time. |
String[] |
getFeatures(String func)
This function may return null. |
String[] |
getFunctionalities()
Functionalities are Strings that can be used to differentiate between different kinds of IServices. |
String[] |
getInformation()
Returns extra meta-information about the service as an array of Strings. |
String[] |
getInterfaces(String func)
Returns the String names of all the Java interfaces that the IService implements for the given functionality. |
void |
init(org.w3c.dom.Document configDoc)
Services can be configued with a DOM Document. |
protected abstract void |
processFile(ZipInputStream zis,
ZipEntry entry)
This function is called during package *build* to generate the package.xml file. |
void |
setPackage(XoePackage p)
This function is used at build time. |
protected void |
setSuffixes(String[] suffixes)
Set the file suffixes that the installer wishes to process. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.xoe.core.packages.IPackageXMLHandler |
buildDependency, getHandlerPredependencies, getNamespaceURI, install, uninstall, verify |
Field Detail |
protected XoePackage m_package
protected Vector m_provides
protected Vector m_requires
protected Vector m_conflicts
Constructor Detail |
public FileIteratingInstaller()
Method Detail |
protected abstract void processFile(ZipInputStream zis, ZipEntry entry) throws PackageException
public void init(org.w3c.dom.Document configDoc)
IService
init
in interface IService
public String[] getFunctionalities()
IService
getFunctionalities
in interface IService
public String[] getInterfaces(String func)
IService
getInterfaces
in interface IService
public String[] getFeatures(String func)
IService
getFeatures
in interface IService
public String[] getInformation()
IService
getInformation
in interface IService
public String toString()
toString
in class Object
protected void setSuffixes(String[] suffixes)
public void setPackage(XoePackage p) throws PackageException
IPackageXMLHandler
setPackage
in interface IPackageXMLHandler
public Vector generateRequires()
IPackageXMLHandler
null
.generateRequires
in interface IPackageXMLHandler
public Vector generateConflicts()
IPackageXMLHandler
null
.generateConflicts
in interface IPackageXMLHandler
public Vector generateProvides()
IPackageXMLHandler
null
.generateProvides
in interface IPackageXMLHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |