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.layout |
Project specific GUI components.
|
org.basex.gui.view.editor |
GUI XQuery View.
|
org.basex.gui.view.project | |
org.basex.index |
Database Index structures.
|
org.basex.io |
Input and Output classes.
|
org.basex.io.out | |
org.basex.io.random | |
org.basex.query.func.unit |
Unit Functions.
|
org.basex.query.util.pkg | |
org.basex.server |
Server implementation.
|
org.basex.util.options |
Constructor and Description |
---|
DirParser(IO source,
MainOptions options,
IOFile path)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IOFile |
StaticOptions.dbpath()
Returns the current database path.
|
IOFile |
StaticOptions.dbpath(String name)
Returns a reference to a file or database in the database directory.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DropDB.drop(IOFile path,
String pat)
Recursively drops files in database directory with the specified pattern.
|
static void |
Store.store(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(String pth)
Returns the specified binary file or
null if the resource
path cannot be resolved (e.g. if it points to a parent directory). |
IOFile |
MetaData.dbfile(String filename)
Returns a file instance for the specified database file.
|
static IOFile |
MetaData.file(IOFile path,
String name)
Creates a database file.
|
IOFile |
MetaData.updateFile()
Returns a file that indicates ongoing updates.
|
Modifier and Type | Method and Description |
---|---|
static IOFile |
MetaData.file(IOFile path,
String name)
Creates a database file.
|
Modifier and Type | Method and Description |
---|---|
IOFile |
BaseXFileChooser.select(BaseXFileChooser.Mode mode)
Selects a file or directory.
|
IOFile[] |
BaseXFileChooser.selectAll(BaseXFileChooser.Mode mode)
Selects a file or directory.
|
Modifier and Type | Method and Description |
---|---|
static Icon |
BaseXImages.file(IOFile file)
Returns an icon for the specified file.
|
Modifier and Type | Method and Description |
---|---|
IOFile |
EditorArea.file()
Returns the file reference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EditorView.delete(IOFile file)
Deletes a file.
|
EditorArea |
EditorView.open(IOFile file)
Opens and parses the specified query file.
|
void |
EditorView.rename(IOFile old,
IOFile renamed)
Updates the references to renamed files.
|
Modifier and Type | Method and Description |
---|---|
void |
EditorView.init(ArrayList<IOFile> files)
Opens the previously opened and new files.
|
Modifier and Type | Method and Description |
---|---|
void |
ProjectView.changeRoot(IOFile io,
boolean force)
Changes the root directory.
|
void |
ProjectView.jump(IOFile file)
Jumps to the specified file.
|
void |
ProjectView.save(IOFile file,
boolean rename)
Refreshes the specified file node.
|
Modifier and Type | Method and Description |
---|---|
void |
IdPreMap.write(IOFile file)
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(String regex)
Returns the children of the path that match the specified regular
expression.
|
IOFile |
IOFile.normalize()
Returns a native file path representation.
|
IOFile |
IOFile.parent()
Returns the parent of this file or directory or
null if there is no parent directory. |
IOFile |
IOFile.resolve(String path)
Resolves two paths.
|
Modifier and Type | Method and Description |
---|---|
void |
IOFile.copyTo(IOFile target)
Copies a file to another target.
|
String |
IOFile.relative(IOFile path)
Returns a path to the specified path.
|
boolean |
IOFile.rename(IOFile target)
Renames a file to the specified path.
|
void |
Zip.unzip(IOFile target)
Unzips the archive to the specified directory.
|
void |
Zip.zip(IOFile root,
StringList files)
Zips the specified files.
|
Constructor and Description |
---|
IOFile(IOFile dir,
String name)
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 file)
Constructor, initializing the file reader.
|
Modifier and Type | Method and Description |
---|---|
FElem |
Suite.test(IOFile root,
Context ctx,
Proc proc)
Tests all test functions in the specified path.
|
Modifier and Type | Method and Description |
---|---|
static IOFile |
RepoManager.file(String name,
Repo repo)
Looks for a file with the specified name.
|
IOFile |
Repo.path()
Returns the path to the repository.
|
Modifier and Type | Method and Description |
---|---|
IOFile |
Log.dir()
Returns a reference to the log directory.
|
IOFile[] |
Log.files()
Returns all log files.
|
Constructor and Description |
---|
Options(IOFile opts)
Constructor with options file.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.