|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.examples.FSImport
The First Steps example class.
Constructor Summary | |
FSImport()
|
Method Summary | |
static void |
dump(javax.jcr.Node node)
Dumps the contents of the given node to standard output. |
static void |
importFile(javax.jcr.Node parentnode,
java.io.File file)
Imports a File. |
static void |
main(java.lang.String[] args)
Run the Filesystem Import example. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FSImport()
Method Detail |
public static void main(java.lang.String[] args)
args
- command line argumentspublic static void importFile(javax.jcr.Node parentnode, java.io.File file) throws javax.jcr.RepositoryException, java.io.IOException
parentnode
- Parent Repository Nodefile
- File to be imported
javax.jcr.RepositoryException
- on repository errors, IOException on io errors
java.io.IOException
public static void dump(javax.jcr.Node node) throws javax.jcr.RepositoryException
node
- the node to be dumped
javax.jcr.RepositoryException
- on repository errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |