|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.exist.ant.AbstractXMLDBTask
org.exist.ant.XMLDBStoreTask
An Ant task to store a set of files into eXist.
The task expects a nested fileset element. The files selected by the fileset will be stored into the database. New collections can be created as needed. It is also possible to specify that files relative to the base directory should be stored into subcollections of the root collection, where the relative path of the directory corresponds to the relative path of the subcollections.
Constructor Summary | |
XMLDBStoreTask()
|
Method Summary | |
org.apache.tools.ant.types.FileSet |
createFileSet()
|
void |
execute()
|
void |
setCreatecollection(boolean create)
|
void |
setCreatesubcollections(boolean create)
|
void |
setSrcFile(java.io.File file)
|
void |
setType(java.lang.String type)
|
Methods inherited from class org.exist.ant.AbstractXMLDBTask |
setDriver, setFailonerror, setInitdb, setPassword, setUri, setUser |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLDBStoreTask()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setSrcFile(java.io.File file)
public org.apache.tools.ant.types.FileSet createFileSet()
public void setCreatecollection(boolean create)
public void setCreatesubcollections(boolean create)
public void setType(java.lang.String type)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |