org.basex.build
Class MemBuilder
java.lang.Object
org.basex.core.Progress
org.basex.build.Builder
org.basex.build.MemBuilder
public final class MemBuilder
- extends Builder
This class creates a memory based database instance.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Method Summary |
MemData |
build(String db)
Builds the database by running the specified parser. |
void |
close()
Closes open references. |
Methods inherited from class org.basex.build.Builder |
build, comment, det, emptyElem, encoding, endDoc, endElem, pi, prog, startDoc, startElem, startNS, text, tit |
MemBuilder
public MemBuilder(Parser p)
- Constructor.
- Parameters:
p
- parser
build
public MemData build(String db)
throws IOException
- Description copied from class:
Builder
- Builds the database by running the specified parser.
- Specified by:
build
in class Builder
- Parameters:
db
- name of database
- Returns:
- data database instance
- Throws:
IOException
- I/O exception
close
public void close()
- Description copied from class:
Builder
- Closes open references.
- Specified by:
close
in class Builder