|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Prop
public final class Prop
This class assembles properties which are used all around the project. They are initially read from and finally written to disk.
| Field Summary | |
|---|---|
static boolean |
allInfo
Detailed query info. |
static boolean |
attrindex
Flag for creating an attribute value index. |
static boolean |
chop
Flag for whitespace chopping. |
static java.lang.String |
dbpath
Database path. |
static boolean |
debug
Debug mode. |
static java.lang.String |
dotty
Path to dotty. |
static java.lang.String |
ENCODING
Returns the system's default encoding. |
static boolean |
entity
Flag for entity parsing. |
static boolean |
fscont
Flag for importing file contents. |
static boolean |
fsmeta
Flag for importing file metadata. |
static boolean |
fsstat
Flag for creating fs stat info. |
static int |
fstextmax
Maximum size for textual imports. |
static boolean |
ftindex
Flag for creating a fulltext index. |
static java.lang.String |
HOME
User's home directory. |
static boolean |
info
Short query info. |
static boolean |
mainmem
Flag for loading database table into main memory. |
static java.lang.String |
NL
New line string. |
static boolean |
onthefly
Flag for creating databases on-the-fly (in memory). |
static java.lang.String |
pathfinder
Path to pathfinder. |
static boolean |
pfDAG
Dots the Query plan. |
static boolean |
pfOp
Show executed operators. |
static boolean |
pfXML
Print XML Query plan. |
static int |
runs
Number of query executions. |
static boolean |
serialize
Flag for serializing query results. |
static boolean |
SKIP
The following options are not saved/read; don't remove this flag. |
static boolean |
textindex
Flag for creating a text index. |
static boolean |
UNIX
Flag denoting if OS belongs to UNIX or Windows family. |
static boolean |
wordindex
Flag for creating a word index. |
static java.lang.String |
WORK
Returns the current working directory. |
static boolean |
xmloutput
Flag for serialization as XML. |
static boolean |
xqerrcode
Flow for showing the XQuery error code. |
static boolean |
xqformat
Format XQuery output. |
| Method Summary | |
|---|---|
static void |
pf(int d)
Sets some (temporary) pathfinder debug modes. |
static void |
read()
Reads the configuration file and initializes the project properties. |
static void |
read(java.lang.String filename,
java.lang.reflect.Field[] fields)
Assigns the properties from the specified file to the field array. |
static void |
write()
Writes the configuration file. |
static void |
write(java.lang.String filename,
java.lang.reflect.Field[] fields)
Writes the properties from field array to the specified file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean allInfo
public static boolean attrindex
public static boolean chop
public static java.lang.String dbpath
public static boolean debug
public static java.lang.String dotty
public static final java.lang.String ENCODING
public static boolean entity
public static boolean fscont
public static boolean fsmeta
public static boolean fsstat
public static int fstextmax
public static boolean ftindex
public static final java.lang.String HOME
public static boolean info
public static boolean mainmem
public static final java.lang.String NL
public static boolean onthefly
public static java.lang.String pathfinder
public static boolean pfDAG
public static boolean pfOp
public static boolean pfXML
public static int runs
public static boolean serialize
public static final boolean SKIP
public static boolean textindex
public static final boolean UNIX
public static boolean wordindex
public static final java.lang.String WORK
public static boolean xmloutput
public static boolean xqerrcode
public static boolean xqformat
| Method Detail |
|---|
public static void pf(int d)
d - debug valuepublic static void read()
public static void read(java.lang.String filename,
java.lang.reflect.Field[] fields)
filename - file to be readfields - fields to be assignedpublic static void write()
public static void write(java.lang.String filename,
java.lang.reflect.Field[] fields)
filename - file to be readfields - fields to be assigned
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||