|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Proc
org.basex.core.Command
org.basex.core.cmd.ACreate
org.basex.core.cmd.Store
public final class Store
Evaluates the 'store' command and stores binary content into the database.
Field Summary |
---|
Fields inherited from class org.basex.core.Command |
---|
args, context, in, mprop, out, perf, prop |
Fields inherited from class org.basex.core.Proc |
---|
listen, updating |
Constructor Summary | |
---|---|
Store(java.lang.String path)
Constructor, specifying a target path. |
|
Store(java.lang.String path,
java.lang.String input)
Constructor, specifying a target path and an input. |
Method Summary | |
---|---|
void |
build(CmdBuilder cb)
Builds a string representation from the command. |
protected boolean |
run()
Executes the command and serializes the result (internal call). |
static void |
store(org.xml.sax.InputSource in,
IOFile file)
Stores the specified source to the specified file. |
Methods inherited from class org.basex.core.cmd.ACreate |
---|
create, databases, drop, newData, sourceToIO, stoppable, supportsProg |
Methods inherited from class org.basex.core.Command |
---|
close, databases, error, execute, execute, getOption, getOption, info, info, result, run, run, setInput, setInput, toString, updated, updating |
Methods inherited from class org.basex.core.Proc |
---|
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Store(java.lang.String path)
Command.setInput(InputStream)
.
path
- target pathpublic Store(java.lang.String path, java.lang.String input)
path
- target pathinput
- input fileMethod Detail |
---|
protected boolean run()
Command
run
in class Command
public static void store(org.xml.sax.InputSource in, IOFile file) throws java.io.IOException
in
- input sourcefile
- target file
java.io.IOException
- I/O exceptionpublic void build(CmdBuilder cb)
Command
build
in class Command
cb
- command builder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |