|
||||||||||
| 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 boolean |
compplan
Creates the query plan before or after compilation. |
static java.lang.String |
createfilter
Path for filtering XML Documents. |
static java.lang.String |
dbpath
Database path. |
static boolean |
debug
Debug mode. |
static boolean |
dotplan
Dots the Query plan. |
static java.lang.String |
dotty
Path to dotty. |
static boolean |
dtd
Flag for parsing DTDs in internal parser. |
static java.lang.String |
ENCODING
Returns the system's default encoding. |
static boolean |
entity
Flag for entity parsing in internal parser. |
static boolean |
fscont
Flag for importing file contents. |
static boolean |
fsmeta
Flag for importing file metadata. |
static int |
fstextmax
Maximum size for textual imports. |
static boolean |
ftcs
Flag for fulltext case sensitivity. |
static boolean |
ftdc
Flag for fulltext diacritics. |
static boolean |
ftfuzzy
Flag for creating a fuzzy index. |
static boolean |
ftindex
Flag for creating a fulltext index. |
static boolean |
ftittr
Flag for iterator optimized storage within ftindex. |
static boolean |
ftst
Flag for fulltext stemming. |
static boolean |
fuse
Fuse support. |
static boolean |
gui
GUI mode (shouldn't be overwritten by property file). |
static java.lang.String |
HOME
User's home directory. |
static int |
indexocc
Number of index occurrences to print in the index info. |
static boolean |
info
Short query info. |
static boolean |
intparse
Use internal XML parser. |
static java.lang.String[] |
LANGCREDS
Translation credits. |
static java.lang.String |
language
Language Name (currently: English or German). |
static java.lang.String[] |
LANGUAGES
Supported languages. |
static int |
lserr
Levenshtein default error. |
static boolean |
mab2flat
Flag for creating flat MAB2 data. |
static boolean |
MAC
Flag denoting if OS belongs to Mac family. |
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 |
OS
OS Flag (should be ignored whenever possible). |
static java.lang.String |
phppath
PHP Path. |
static int |
port
Port for client/server communication. |
static int |
runs
Number of query executions. |
static java.lang.String |
SEP
New line string. |
static boolean |
serialize
Flag for serializing query results. |
static boolean |
server
Server mode (shouldn't be overwritten by property file). |
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 int |
timeout
Server timeout in seconds. |
static java.lang.String |
TMP
System's temporary directory. |
static boolean |
UNIX
Flag denoting if OS belongs not to Windows family. |
static java.lang.String |
webpath
Web Server path. |
static int |
webport
Port for web server. |
static java.lang.String |
WORK
Returns the current working directory. |
static boolean |
xmloutput
Flag for serialization as XML. |
static boolean |
xmlplan
Prints a XML plan. |
static boolean |
xqerrcode
Flow for showing the XQuery error code. |
static boolean |
xqformat
Format XQuery output. |
static IO |
xquery
Last XQuery file. |
| Method Summary | |
|---|---|
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 final java.lang.String NL
public static final java.lang.String SEP
public static final java.lang.String ENCODING
public static final java.lang.String WORK
public static final java.lang.String HOME
public static final java.lang.String TMP
public static final java.lang.String OS
public static final boolean UNIX
public static final boolean MAC
public static final java.lang.String[] LANGUAGES
public static final java.lang.String[] LANGCREDS
public static java.lang.String dbpath
public static java.lang.String webpath
public static java.lang.String dotty
public static java.lang.String language
public static int port
public static int webport
public static final boolean SKIP
public static boolean debug
public static boolean info
public static boolean allInfo
public static boolean serialize
public static boolean xmloutput
public static boolean dotplan
public static boolean xmlplan
public static boolean compplan
public static boolean xqformat
public static boolean intparse
public static boolean dtd
public static boolean entity
public static int runs
public static boolean chop
public static boolean ftindex
public static boolean textindex
public static boolean attrindex
public static boolean mainmem
public static boolean onthefly
public static java.lang.String createfilter
public static int indexocc
public static boolean ftittr
public static boolean ftfuzzy
public static boolean ftst
public static boolean ftcs
public static boolean ftdc
public static boolean xqerrcode
public static IO xquery
public static boolean fscont
public static boolean fsmeta
public static int fstextmax
public static int lserr
public static boolean mab2flat
public static int timeout
public static boolean server
public static boolean gui
public static boolean fuse
public static java.lang.String phppath
| Method Detail |
|---|
public 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 | |||||||||