|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.core.Settings.Constants
Repository of various constants Changing them does not modify the program semantic but might change its performance/visual behaviour
Nested Class Summary | |
static class |
Settings.Constants.Key
Central repository of settings related to cipher keys. |
static class |
Settings.Constants.UI
Repository of settings related to user interfaces. |
Field Summary | |
static boolean |
ALLOW_MULTIPLE_MAIL_STOPS
Wether the ProgressEvent postmaster(s) can stopped several times. |
static boolean |
ALWAYS_STARTS_LOG
Wether a log reader should always be started statically |
static long |
ARCHIVE_RESOURCE_INTEGRAL_VALUE
The long value returned in case of broken archive. |
static boolean |
ASK_BEFORE_OVERWRITING_LOCAL_FILES
Wether to ask the user for confirmation before overwriting a local file during extraction. |
static java.lang.String |
BACKSPACE
String that erases the previous character when displayed. |
static int |
BYTE_ARRAY_FILTER_MAXIMUM_BUFFER_LENGTH
Maximum length of a ByteArrayFilter buffer |
static java.lang.String |
CIPHER_WILDCARD
Alias to the list of all registered ciphers |
static char |
COMMAND_LINE_FILE_ALIAS
Prefix for file alias command-line argument |
static java.lang.String |
DEFAULT_TRACE
Default output |
static boolean |
DO_NOT_REENTER_FULLY_SPECIFIED_CIPHERS
Wether the cipher/password must not always be rentered by user whenever it is adequately set in command-line. |
static int |
DUMP_BUFFER_SIZE
Size of I/O dump buffers in bytes |
static boolean |
EARLY_LOG_LEVEL_SETTING
Wether to set the log level as soon as it has been parsed from command-line or to wait for the whole command-line to have been parsed ans set it then. |
static int |
ENTRY_LENGTH_DIGITS
Number of digits to be used to report entry length. |
static int |
FILTER_BLOCK_BUFFER_SIZE
Size of byte[] array filters. |
static int[] |
KNOWN_WAR_SIZES
List of all registered WAR ciphers. |
static java.lang.String |
LOG_INDENTATION
Tabulation string to be used to indent log messages according to their depth. |
static int |
MAIL_POSTMASTER_PRIORITY
Scheduling priority of mailbox post agents |
static int |
MAXIMUM_BLOCK_SIZE
The maximum block size in kilobytes |
static int |
MAXIMUM_LOG_LEVEL
The maximum log level |
static int |
MINIMUM_LOG_LEVEL
The minimum log level |
static int |
MULTI_THREADED_BLOCK_SIZE
Block size to be used for parallel I/O computations. |
static boolean |
NEWLY_REGISTERED_CLASS_IS_AUTOMATICALLY_SET
Wether each newly registered class should automatically be set the active class. |
static boolean |
PARALLELIO_PARANOIAC
Wether to add expensive but failsafe tests during parallel I/O operations. |
static boolean |
PREEXTRACT_DATA
Wether to pre-extract data from archive before unstoring. |
static long |
PROGRESS_ENCODED_GRANULARITY
The granularity of encoded data commitment. |
static long |
PROGRESS_PLAIN_GRANULARITY
The granularity of plain data commitment. |
static int |
RANDOM_GENERATOR_CONSUMER_LIFETIME
Lifetime of the random consumer thread. |
static java.lang.String |
STDERR_NAME
Conventionnal file name designating the standard error |
static java.lang.String |
STDOUT_NAME
Conventionnal file name designating the standard output |
static boolean |
SUPPLIED_CIPHERS_IGNORED_IN_EXTRACTING
Wether command-line ciphers are ginored in extracting mode and replaced by those reloaded from archive. |
static boolean |
WARN_DIFFERENT_GROUP
Wether to issue a warning whenever an archive is extracted from a user in a different group than that of the user who created it. |
static boolean |
WARN_DIFFERENT_USER
Wether to issue a warning whenever an archive is extracted from a different user than the one who created it. |
Constructor Summary | |
Settings.Constants()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RANDOM_GENERATOR_CONSUMER_LIFETIME
0
to disable consumer threads.
Random
,
Constant Field Valuespublic static final java.lang.String BACKSPACE
String
that erases the previous character when displayed.
public static final java.lang.String CIPHER_WILDCARD
public static final char COMMAND_LINE_FILE_ALIAS
Syntax
,
SyntaxSet
,
Constant Field Valuespublic static final int DUMP_BUFFER_SIZE
IO
,
Constant Field Valuespublic static final int FILTER_BLOCK_BUFFER_SIZE
byte[]
array filters.
ByteArrayFilter
,
Storer
,
Unstorer
,
Constant Field Valuespublic static final int MULTI_THREADED_BLOCK_SIZE
ParallelIO
,
Storer
,
Unstorer
,
Constant Field Valuespublic static final long PROGRESS_PLAIN_GRANULARITY
ProgressEventNotifier
,
Constant Field Valuespublic static final long PROGRESS_ENCODED_GRANULARITY
ProgressEventNotifier
,
Constant Field Valuespublic static final int MAIL_POSTMASTER_PRIORITY
Mailbox
,
Thread.NORM_PRIORITY
,
Constant Field Valuespublic static final boolean ALLOW_MULTIPLE_MAIL_STOPS
ProgressEvent
postmaster(s) can stopped several times.
This is safe although computationnally expensive and theoretically useless.
Mailbox
,
Constant Field Valuespublic static final int MINIMUM_LOG_LEVEL
LogInterface
,
Constant Field Valuespublic static final int MAXIMUM_LOG_LEVEL
LogInterface
,
Constant Field Valuespublic static final boolean EARLY_LOG_LEVEL_SETTING
LogInterface
,
Constant Field Valuespublic static final java.lang.String LOG_INDENTATION
LogInterface
,
Constant Field Valuespublic static final boolean ALWAYS_STARTS_LOG
LogInterface
,
Constant Field Valuespublic static final long ARCHIVE_RESOURCE_INTEGRAL_VALUE
long
value returned in case of broken archive.
ArchiveLayout
,
Constant Field Valuespublic static final java.lang.String STDOUT_NAME
public static final java.lang.String STDERR_NAME
public static final java.lang.String DEFAULT_TRACE
public static final boolean NEWLY_REGISTERED_CLASS_IS_AUTOMATICALLY_SET
ClassRegistry
,
Constant Field Valuespublic static final int ENTRY_LENGTH_DIGITS
Entry.list(sam.rules.ModusOperandi)
,
Constant Field Valuespublic static final int MAXIMUM_BLOCK_SIZE
public static final boolean DO_NOT_REENTER_FULLY_SPECIFIED_CIPHERS
public static final boolean SUPPLIED_CIPHERS_IGNORED_IN_EXTRACTING
Although this is semantically arguable it allows the same
"-pciphers:passwords"
be used both in archving and
in extracting mode.
public static final boolean PREEXTRACT_DATA
Java
API seems to handle inner Zip
input streams incorrectly. In particular, due to internal native methods the
buffering appears to be skewed, i.e. it does not always read as many bytes as required
at each call. Thus it seems necessary to pre-extract ciphered data to a temporary
file before handling it.
public static final int[] KNOWN_WAR_SIZES
4 ^ bits
this bits
value should remain below 16.
WarFactory
public static final int BYTE_ARRAY_FILTER_MAXIMUM_BUFFER_LENGTH
ByteArrayFilter
buffer
Cipher
,
Constant Field Valuespublic static final boolean WARN_DIFFERENT_USER
public static final boolean WARN_DIFFERENT_GROUP
public static final boolean ASK_BEFORE_OVERWRITING_LOCAL_FILES
public static final boolean PARALLELIO_PARANOIAC
Constructor Detail |
public Settings.Constants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |