| Package | Description |
|---|---|
| org.basex.build |
Classes for creating new database instances.
|
| org.basex.core |
Database core classes.
|
| org.basex.core.cmd |
Database commands.
|
| org.basex.data |
Database structures.
|
| org.basex.gui |
GUI Package.
|
| org.basex.gui.layout |
Project specific GUI components.
|
| org.basex.gui.view.editor |
GUI XQuery View.
|
| org.basex.index |
Database Index structures.
|
| org.basex.io |
Input and Output classes.
|
| org.basex.io.out | |
| org.basex.io.random | |
| org.basex.query.util.pkg |
| Modifier and Type | Field and Description |
|---|---|
protected IOFile |
DirParser.rawPath
Database path for storing binary files.
|
| Constructor and Description |
|---|
DirParser(IO source,
Prop pr,
IOFile path)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IOFile |
MainProp.dbpath()
Returns the current database path.
|
IOFile |
MainProp.dbpath(java.lang.String db)
Returns a file instance for the specified database.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DropDB.drop(IOFile path)
Drops a database directory.
|
static boolean |
DropDB.drop(IOFile path,
java.lang.String pat)
Recursively drops files in database directory with the specified pattern.
|
static void |
Store.store(org.xml.sax.InputSource in,
IOFile file)
Stores the specified source to the specified file.
|
| Modifier and Type | Field and Description |
|---|---|
IOFile |
MetaData.path
Database path.
|
| Modifier and Type | Method and Description |
|---|---|
IOFile |
MetaData.binaries()
Returns the binary directory.
|
IOFile |
MetaData.binary(java.lang.String pth)
Returns the specified binary file, or
null if the resource
path cannot be resolved (e.g. |
IOFile |
MetaData.dbfile(java.lang.String fn)
Returns a file instance for the specified database file.
|
IOFile |
DiskData.updateFile()
Returns a file that indicates ongoing updates.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DiskData.pinned(IOFile dbpath,
java.lang.String uuid)
Checks if a database is pinned by processes that have a UUID different to the
specified one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GUIProp.recent(IOFile file)
Refreshes the list of recent query files and updates the query path.
|
| Modifier and Type | Method and Description |
|---|---|
IOFile |
BaseXFileChooser.select(BaseXFileChooser.Mode mode)
Selects a file or directory.
|
| Modifier and Type | Method and Description |
|---|---|
org.basex.gui.view.editor.EditorArea |
EditorView.open(IOFile file)
Opens the specified query file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IdPreMap.write(IOFile f)
Write the map to the specified file.
|
| Constructor and Description |
|---|
IdPreMap(IOFile f)
Construct a map by reading it from a file.
|
| Modifier and Type | Method and Description |
|---|---|
IOFile[] |
IOFile.children()
Returns the children of the path.
|
IOFile[] |
IOFile.children(java.lang.String pattern)
Returns the children of the path that match the specified regular
expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IOFile.rename(IOFile trg)
Renames the file to the specified name.
|
void |
Zip.unzip(IOFile target)
Unzips the archive to the specified directory.
|
void |
Zip.zip(IOFile source,
java.util.regex.Pattern pattern)
Zips the specified directory.
|
| Constructor and Description |
|---|
IOFile(IOFile dir,
java.lang.String n)
Constructor.
|
| Constructor and Description |
|---|
DataOutput(IOFile db)
Constructor, specifying a file.
|
DataOutput(IOFile db,
int bufs)
Constructor, specifying a file and a buffer size.
|
| Constructor and Description |
|---|
DataAccess(IOFile f)
Constructor, initializing the file reader.
|
| Modifier and Type | Method and Description |
|---|---|
IOFile |
Repo.path(java.lang.String pkg)
Returns the path to the specified repository package.
|