org.basex.io
Class IOConstants

java.lang.Object
  extended by org.basex.io.IOConstants

public final class IOConstants
extends java.lang.Object

Input/Output Constants.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
static double BLOCKFILL
          Fill Factor (greater than 0.0, maximum 1.0).
static int BLOCKPOWER
          BlockSize Power.
static int NODEPOWER
          Table NodeSize Power.
 
Method Summary
static java.io.File dbfile(java.lang.String db, java.lang.String file)
          Adds the database suffix to the specified filename and creates a file instance.
static java.io.File dbpath(java.lang.String db)
          Returns a file instance for the current database path.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLOCKFILL

public static final double BLOCKFILL
Fill Factor (greater than 0.0, maximum 1.0).

See Also:
Constant Field Values

BLOCKPOWER

public static final int BLOCKPOWER
BlockSize Power.

See Also:
Constant Field Values

NODEPOWER

public static final int NODEPOWER
Table NodeSize Power.

See Also:
Constant Field Values
Method Detail

dbfile

public static java.io.File dbfile(java.lang.String db,
                                  java.lang.String file)
Adds the database suffix to the specified filename and creates a file instance.

Parameters:
db - name of the database
file - filename
Returns:
database filename

dbpath

public static java.io.File dbpath(java.lang.String db)
Returns a file instance for the current database path.

Parameters:
db - name of the database
Returns:
database filename