|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.core.Settings.Defaults
Central repository of various default values.
These values are queried whenever a required field is not supplied directly by the user.
A value of null
means that no default value is provided and the user
should be interactively prompted to supply one.
Field Summary | |
static java.io.File |
ARCHIVE
Default archive name. |
static int |
BLOCK_SIZE
Default block size in kiloBytes. |
static sam.cipher.Specification[] |
CIPHER_SPECIFICATIONS
Default cipher stack. |
static java.lang.String |
COMMENT
Default comment. |
static int |
HORIZONTAL_THREADS
Default number of horizontal threads. |
static int |
JAR_COMPRESSION_LEVEL
Default Jar compression level
Example: anything from 0 (no compression) to 9 (best and slowest compression). |
static int |
LOG_LEVEL
Default log level. |
static java.lang.String |
LOG_PREFIX
Prefix of all log messages. |
static sam.io.Packer |
PACKER
Default packer. |
static java.io.File |
TEMPORARY_DIRECTORY
Default temporary directory Might not be null |
static java.lang.String |
TO_BE_ARCHIVED_FILES
Default file specification for to-be-archived files. |
static java.lang.String |
TO_BE_EXTRACTED_FILES
Default file specification for to-be-extracted files. |
static sam.io.Tracker |
TRACKER
Default tracker. |
static java.lang.String |
USER_INTERFACE
Default user interface. |
static int |
VERTICAL_THREADS
Default number of vertical threads. |
Constructor Summary | |
Settings.Defaults()
|
Method Summary | |
static java.lang.String |
TRACE(java.lang.String type)
Gets the default trace for specific type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String USER_INTERFACE
"basic"
or null
Currently "basic"
public static final java.io.File ARCHIVE
"MyArchive.jar"
or null
Currently null
public static final int LOG_LEVEL
-1
and Settings.Constants.MAXIMUM_LOG_LEVEL
Currently -1
(i.e. no logging at all)
public static sam.cipher.Specification[] CIPHER_SPECIFICATIONS
null
or new Specification[] { new Specification("Rijndael", "default password") }
or even new Specification[] { new Specification("Rijndael") }
public static final java.lang.String LOG_PREFIX
grep
or alike)
Example: "Log"
or null
Currently none.
public static final int BLOCK_SIZE
0
(unlimited) to Settings.Constants.MAXIMUM_BLOCK_SIZE
Currently 64
public static final sam.io.Packer PACKER
Packer.get("name")
or null
Currently null
public static final sam.io.Tracker TRACKER
Tracker.get("name")
or null
Currently null
public static final int VERTICAL_THREADS
1
Currently 1
public static final int HORIZONTAL_THREADS
1
Currently 1
public static final java.lang.String COMMENT
"This is a SAM archive"
or null
Currently null
public static final java.lang.String TO_BE_ARCHIVED_FILES
"."
(current directory), "*.java"
or null
Currently null
public static final java.lang.String TO_BE_EXTRACTED_FILES
"."
(current directory), "*.java"
or null
Currently null
public static final int JAR_COMPRESSION_LEVEL
Jar
compression level
Example: anything from 0
(no compression) to 9
(best and slowest compression).
Currently 9
public static final java.io.File TEMPORARY_DIRECTORY
null
Constructor Detail |
public Settings.Defaults()
Method Detail |
public static final java.lang.String TRACE(java.lang.String type)
type
- a single-word description of the trace type, e.g. "log" or "mismatching_files"
In this implementation this always return null
.sam.rules.UnixLikeSyntaxSet#makeWritableTrace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |