|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.core.AbstractProcess
org.basex.core.Process
org.basex.core.proc.CreateDB
public final class CreateDB
Creates a new database.
| Field Summary |
|---|
| Fields inherited from class org.basex.core.Process |
|---|
args |
| Constructor Summary | |
|---|---|
CreateDB(java.lang.String input)
Constructor. |
|
CreateDB(java.lang.String input,
java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
static Data |
xml(IO io,
java.lang.String db)
Creates and returns a database for the specified XML document. |
static Data |
xml(Parser p,
java.lang.String db)
Creates and returns a database for the specified XML document. |
static Data |
xml(javax.xml.transform.sax.SAXSource s)
Creates and returns a database from the specified SAX source. |
| Methods inherited from class org.basex.core.Process |
|---|
args, data, error, execute, execute, info, info, info, name, output, printing, result, updating |
| Methods inherited from class org.basex.core.Progress |
|---|
checkStop, det, detail, prog, progress, progress, stop, title |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateDB(java.lang.String input)
input - input path
public CreateDB(java.lang.String input,
java.lang.String name)
input - input pathname - name of database| Method Detail |
|---|
public static Data xml(IO io,
java.lang.String db)
throws java.io.IOException
db - name of the database to be createdio - file name
java.io.IOException - exception
public static Data xml(javax.xml.transform.sax.SAXSource s)
throws java.io.IOException
s - sax source
java.io.IOException - exception
public static Data xml(Parser p,
java.lang.String db)
throws java.io.IOException
p - xml parserdb - name of the database to be created
java.io.IOException - exceptionpublic java.lang.String toString()
toString in class Process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||