A B C D E F G H I J K L M N O P Q R S T U V W X Y

A

accepts(File) - Method in class sam.ui.RulingInterface.AccessMode
Wether specified file grants this access mode
achieved - Variable in class sam.event.ProgressEvent.Statistics
Number of bytes actually achieved
achievedPercentage() - Method in class sam.event.ProgressEvent.Statistics
Gets the achieved percentage, as an int in the range 0..100 inclusive
achievedSizeString() - Method in class sam.event.ProgressEvent.Statistics
Gets the number of bytes already achieved in a human-readable format
add(Specification) - Method in class sam.ui.awt.CipherInputField.SpecificationsList
Stacks a new single CipherInputField.SpecificationsList.SingleSpecification for specified cipher.
addArray(Vector, Object[]) - Static method in class sam.toolkit.Text
Appends specified elements to the end of the vector.
allocateNewArray(Class, int) - Static method in class sam.toolkit.Text
Allocates a new array of specified base type.
allocateNewArray(Object, int) - Static method in class sam.toolkit.Text
Allocates a new array with the same base type as the specified array.
ALLOW_MULTIPLE_MAIL_STOPS - Static variable in class sam.core.Settings.Constants
Wether the ProgressEvent postmaster(s) can stopped several times.
ALWAYS - Static variable in class sam.ui.awt.Dialog
Alias of the "ALWAYS" button
ALWAYS_SILENT - Static variable in class sam.core.Settings.Constants.Key
Wether to be totally silent about key material.
ALWAYS_STARTS_LOG - Static variable in class sam.core.Settings.Constants
Wether a log reader should always be started statically
append() - Method in class sam.ui.awt.Grid
Adds a new empty component.
append(Component) - Method in class sam.ui.awt.GrowableGrid
 
append(Component) - Method in class sam.ui.awt.Grid
Adds a new component.
append(String) - Method in class sam.ui.awt.Grid
Adds a new text component.
appendClassPath(String) - Static method in class sam.core.Settings.Environment
Appends a class path to the current class path
appendClassPath(String) - Static method in class sam.toolkit.Process
Deprecated.  
appendNewerFrom(List) - Method in class sam.entry.List
Appends all newer entries to this enumeration.
appendPanel(Component) - Method in class sam.ui.awt.Grid
Adds a new component inside a freshly built Panel.
ARCHIVE - Static variable in class sam.core.Settings.Defaults
Default archive name.
ARCHIVE_RESOURCE_INTEGRAL_VALUE - Static variable in class sam.core.Settings.Constants
The long value returned in case of broken archive.
archive() - Method in class sam.rules.ModusOperandi
 
ArchiveLayout - class sam.core.ArchiveLayout.
This class defines the internal Jar archive layout.
ArchiveLayout.LayoutVersion - class sam.core.ArchiveLayout.LayoutVersion.
 
ArchiveLayout.Resource - class sam.core.ArchiveLayout.Resource.
Specific resources in the jar archive.
ArchiveLayout.Runtime - class sam.core.ArchiveLayout.Runtime.
 
archiveSerialNumber() - Method in class sam.rules.ModusOperandi
Sets the serial number of the archive
ARCHIVING - Static variable in class sam.rules.ModusOperandi
Archiving mode of operation.
areFullySpecified(Specification[]) - Static method in class sam.cipher.Specification
 
asBooleans - Variable in class sam.cipher.Key
 
asBytes - Variable in class sam.cipher.Key
 
ASCII - Static variable in class sam.cipher.Key
One char issues 8 bits
asInts - Variable in class sam.cipher.Key
 
ASK_BEFORE_OVERWRITING_LOCAL_FILES - Static variable in class sam.core.Settings.Constants
Wether to ask the user for confirmation before overwriting a local file during extraction.
askWetherToRetry(IOException) - Static method in class sam.io.IO
Asks the user wether to retry an interrupted I/O operation
asLongs - Variable in class sam.cipher.Key
 
asShorts - Variable in class sam.cipher.Key
 
AUTHOR - Static variable in class sam.core.Settings.Environment
Author of this program as a String

B

BACKSPACE - Static variable in class sam.core.Settings.Constants
String that erases the previous character when displayed.
BASE_DIRECTORY - Static variable in class sam.core.Settings.Distribution
The base directory of all source files
Benchmark - class sam.cipher.Benchmark.
Executable class for the registered cipher implementations.
Benchmark() - Constructor for class sam.cipher.Benchmark
 
BENCHMARKING - Static variable in class sam.rules.ModusOperandi
Benchmarking mode of operation.
BINARIES - Static variable in class sam.core.Settings.Distribution
String[] of all binaries files
BINARY - Static variable in class sam.cipher.Key
One char (0,1) issues 1 bit
BitInputStream - class sam.io.BitInputStream.
Bit-level input stream.
BitInputStream(InputStream) - Constructor for class sam.io.BitInputStream
 
BitOutputStream - class sam.io.BitOutputStream.
Bit-level output stream.
BitOutputStream(OutputStream) - Constructor for class sam.io.BitOutputStream
 
bits - Variable in class sam.cipher.Key
Actual bits.
bitsPerLong - Variable in class sam.cipher.Key
Number of significant bits per long of bits.
BLOCK_SIZE - Static variable in class sam.core.ArchiveLayout
The block size used @see sam.Packer
BLOCK_SIZE - Static variable in class sam.core.Settings.Defaults
Default block size in kiloBytes.
blockSize() - Method in class sam.io.Mixer
Gets the block size of this mixer.
blockSize() - Method in class sam.rules.ModusOperandi
 
BOOT_CLASS - Static variable in class sam.core.Settings.Environment
The main runnable class
BOOTSTRAP_USER_INTERFACE - Static variable in class sam.core.Settings.Startup
The user interface to be loaded at startup
bufferedDump(InputStream, OutputStream) - Static method in class sam.io.IO
Dumps an input data stream to an output stream This implementation loads and writes data in a bufferized fashion
bufferedDump(InputStream, OutputStream, long) - Static method in class sam.io.IO
Dumps an input data stream to an output stream This implementation loads and writes data in a bufferized fashion
build(String) - Method in class sam.toolkit.ClassRegistry
Instantiates a new target registered as name Note that dynamic casting to baseType is guaranteed to be successfull.
buildMixer() - Method in class sam.io.Packer
Creates a mixer that is well-suited for this Packer Note that this will be called at most once for each Packer instance.
Button - class sam.ui.awt.Button.
Trivial wrapper to build buttons with their action listener.
Button(String, ActionListener) - Constructor for class sam.ui.awt.Button
 
BYTE_ARRAY_FILTER_MAXIMUM_BUFFER_LENGTH - Static variable in class sam.core.Settings.Constants
Maximum length of a ByteArrayFilter buffer
ByteArrayFilter - class sam.io.ByteArrayFilter.
Abstract class for filtering byte[] arrays
ByteArrayFilter.InputStream - class sam.io.ByteArrayFilter.InputStream.
Instance inner-class for filtering an InputStream with outer-instance's filter, as in:
ByteArrayFilter.InputStream(InputStream) - Constructor for class sam.io.ByteArrayFilter.InputStream
Builts a new InputStream to read data that will be transparently filtered.
ByteArrayFilter.InputStream(int, InputStream) - Constructor for class sam.io.ByteArrayFilter.InputStream
Builts a new InputStream to read data that will be transparently filtered.
ByteArrayFilter.OutputStream - class sam.io.ByteArrayFilter.OutputStream.
Instance inner-class for filtering an OutputStream with outer-instance's filter, as in:
ByteArrayFilter.OutputStream(int, OutputStream) - Constructor for class sam.io.ByteArrayFilter.OutputStream
Builts a new OutputStream to write data that will be transparently filtered.
ByteArrayFilter.OutputStream(OutputStream) - Constructor for class sam.io.ByteArrayFilter.OutputStream
Builts a new OutputStream to write data that will be transparently filtered.
ByteArrayFilter(int) - Constructor for class sam.io.ByteArrayFilter
 
ByteCountOutputStream - class sam.io.ByteCountOutputStream.
OutputStream filter which counts written bytes
ByteCountOutputStream(OutputStream) - Constructor for class sam.io.ByteCountOutputStream
 
bytesToChar(byte[]) - Static method in class sam.toolkit.Text
Converts one integer to corresponding character according to the local Charset Warning: this method is highly inefficient.

C

CANCEL - Static variable in class sam.ui.awt.Dialog
Alias of the "CANCEL" button
CATALOG - Static variable in class sam.core.ArchiveLayout
The (int:"fileLength",int:"date",utf:"fileName")* binary list of all archived files
check() - Method in class sam.io.ChecksumCheckerInputStream
Deprecated. Checks the computed checksum.
check(ZipFile) - Method in class sam.core.ArchiveLayout.LayoutVersion
 
CHECKING - Static variable in class sam.rules.ModusOperandi
Probing mode of operation.
checkLayoutVersion() - Method in class sam.rules.ModusOperandi
Checks wether the layout of the archive can be handled by this version of the application
checkRead() - Method in class sam.entry.List
Check all entries of this enumeration for reading.
checkSamVersion() - Method in class sam.rules.ModusOperandi
Checks wether the data stored in the archive can be processed by this version of the application
ChecksumCheckerInputStream - class sam.io.ChecksumCheckerInputStream.
Deprecated.  
ChecksumCheckerInputStream.MismatchingChecksumException - exception sam.io.ChecksumCheckerInputStream.MismatchingChecksumException.
Deprecated. Exception thrown whenver checksums do not match
ChecksumCheckerInputStream(InputStream, CRC32) - Constructor for class sam.io.ChecksumCheckerInputStream
Deprecated. Builds a new CheksumCheckerInputStream
ChecksumEvent - class sam.event.ChecksumEvent.
 
ChecksumEvent(long) - Constructor for class sam.event.ChecksumEvent
 
ChecksumTracker - class sam.io.ChecksumTracker.
Tracker that adds a CRC32 checksum trace to processed data.
ChecksumTracker() - Constructor for class sam.io.ChecksumTracker
 
checkUserAndGroup(String, String, String, String) - Method in class sam.core.Unstorer
Checks user and group information.
cheksum - Variable in class sam.event.ChecksumEvent
 
choose(String, String[]) - Method in class sam.ui.RulingInterface
Prompts the user for entering a string.
choose(String, String[]) - Method in class sam.ui.text.RulingInterface
 
choose(String, String[]) - Method in class sam.ui.awt.RulingInterface
 
chooseCiphers(Specification[]) - Method in class sam.ui.RulingInterface
Prompts the user to choose the ciphers and enter the corresponding passwords in ciphering mode.
chooseInteger(String, int[], int) - Method in class sam.ui.RulingInterface
Prompts the user for choosing an integer among several ones.
chooseString(String, String[], String) - Method in class sam.ui.RulingInterface
Prompts the user for choosing a string among several ones.
Cipher - class sam.cipher.Cipher.
General purpose ciphering class.
CIPHER_SPECIFICATIONS - Static variable in class sam.core.Settings.Defaults
Default cipher stack.
CIPHER_WILDCARD - Static variable in class sam.core.Settings.Constants
Alias to the list of all registered ciphers
Cipher.ByteArrayFilter - class sam.cipher.Cipher.ByteArrayFilter.
byte[] array filter implementation based on this cipher.
Cipher.ByteArrayFilter() - Constructor for class sam.cipher.Cipher.ByteArrayFilter
Builds a new byte[] array filter
Cipher.ByteArrayFilter(int) - Constructor for class sam.cipher.Cipher.ByteArrayFilter
Builds a new byte[] array filter of specified filter block length
Cipher.Error - error sam.cipher.Cipher.Error.
Exception class for ciphering functions.
Cipher.Error(String) - Constructor for class sam.cipher.Cipher.Error
 
Cipher.Error(Throwable) - Constructor for class sam.cipher.Cipher.Error
 
cipher(byte[]) - Method in class sam.cipher.Cipher
Deprecated.  
cipher(byte[], int, Key) - Method in class sam.cipher.Cipher
Either encrypts or decrypts data according to the key direction.
Cipher(Key) - Constructor for class sam.cipher.Cipher
Builds a new Cipher
CipherInputField - class sam.ui.awt.CipherInputField.
Cipher specification input field.
CipherInputField.CipherBar - class sam.ui.awt.CipherInputField.CipherBar.
Stack of buttons for pushing new ciphers
CipherInputField.CipherBar(Specification[]) - Constructor for class sam.ui.awt.CipherInputField.CipherBar
 
CipherInputField.SpecificationsList - class sam.ui.awt.CipherInputField.SpecificationsList.
Field for entering a whole list of specicications
CipherInputField.SpecificationsList.SingleSpecification - class sam.ui.awt.CipherInputField.SpecificationsList.SingleSpecification.
GUI Component for one single cipher/password input (roughly speaking a TextField)
CipherInputField.SpecificationsList.SingleSpecification(Specification) - Constructor for class sam.ui.awt.CipherInputField.SpecificationsList.SingleSpecification
Builds a new cipher/password input field.
CipherInputField.SpecificationsList(int) - Constructor for class sam.ui.awt.CipherInputField.SpecificationsList
Builds a new SpecificationsList field.
CipherInputField(String, Specification[], boolean) - Constructor for class sam.ui.awt.CipherInputField
Opens a new cipher stack window.
CIPHERS - Static variable in class sam.core.ArchiveLayout
The ordered list of all ciphers, in plain ASCII with new line as delimiter.
ciphers() - Method in class sam.rules.ModusOperandi
Gets the ciphers stack.
ClassRegistry - class sam.toolkit.ClassRegistry.
General-purpose Class registry This serves as both a registry and a factory.
ClassRegistry() - Constructor for class sam.toolkit.ClassRegistry
Builds a new ClassRegistry
ClassRegistry(Class) - Constructor for class sam.toolkit.ClassRegistry
Builds a new ClassRegistry
ClassRegistry(Class, String) - Constructor for class sam.toolkit.ClassRegistry
Builds a new ClassRegistry
ClassRegistry(String) - Constructor for class sam.toolkit.ClassRegistry
Builds a new ClassRegistry
CLOSE - Static variable in class sam.ui.awt.Dialog
Alias of the "CLOSE" button
close() - Method in class sam.io.Huffman.LeafInputStream
 
close() - Method in class sam.io.Huffman.LeafOutputStream
 
close() - Method in class sam.io.ByteCountOutputStream
 
close() - Method in class sam.io.DoubleByte.WriterOutputStream
 
close() - Method in class sam.io.CloseAvoiderOutputStream
Avois closing the underlying stream, but flushes it to mimic a close() call
close() - Method in class sam.io.Mixer.InputStream
 
close() - Method in class sam.io.Mixer.OutputStream
 
close() - Method in class sam.io.ByteArrayFilter.InputStream
 
close() - Method in class sam.io.ByteArrayFilter.OutputStream
 
close() - Method in class sam.io.BitInputStream
 
close() - Method in class sam.io.BitOutputStream
 
close() - Method in class sam.io.ParallelIO.ScatterOutputStream
Simply forwards the closing call to the underlying stream
close() - Method in class sam.io.ParallelIO.GatherOutputStream
Simply forwards the closing call to the underlying stream
close() - Method in class sam.io.ParallelIO.ScatterInputStream
Simply forwards the closing call to the underlying stream
close() - Method in class sam.io.ParallelIO.GatherInputStream
Simply forwards the closing call to the underlying stream
close() - Method in class sam.io.ChecksumCheckerInputStream
Deprecated. Closes the underlying stream and checks the checksums.
close() - Method in class sam.ui.awt.TextAreaWriter
 
close() - Method in class sam.ui.awt.ProgressEventListener
 
close(OutputStream, Packer, CloseAvoiderOutputStream) - Method in class sam.core.Storer
Closes the archive entry.
CloseAvoiderOutputStream - class sam.io.CloseAvoiderOutputStream.
OutputStream that interrupts close() calls.
CloseAvoiderOutputStream(OutputStream) - Constructor for class sam.io.CloseAvoiderOutputStream
 
COMMAND_LINE_FILE_ALIAS - Static variable in class sam.core.Settings.Constants
Prefix for file alias command-line argument
COMMENT - Static variable in class sam.core.ArchiveLayout
An optionnal comment associated with the archive, in plain utf.
COMMENT - Static variable in class sam.core.Settings.Defaults
Default comment.
comment() - Method in class sam.rules.ModusOperandi
 
Comparator - class sam.entry.Comparator.
Comparator over Entry instances
Comparator.Extension - class sam.entry.Comparator.Extension.
This class implements an extension/name/path ordering.
Comparator.Extension(String) - Constructor for class sam.entry.Comparator.Extension
 
Comparator.Tokenized - class sam.entry.Comparator.Tokenized.
This class implements a reverse lexicographic order on tokenized named.
Comparator.Tokenized(String) - Constructor for class sam.entry.Comparator.Tokenized
 
Comparator(Comparator) - Constructor for class sam.entry.Comparator
 
compare(byte[], byte[]) - Static method in class sam.toolkit.Text
Compares two byte arrays
compare(byte[], byte[], int) - Static method in class sam.toolkit.Text
Compares two byte arrays
compare(byte[], int, byte[], int) - Static method in class sam.toolkit.Text
Compares two byte arrays
compare(byte[], int, byte[], int, int) - Static method in class sam.toolkit.Text
Compares two byte arrays
compare(byte[], int, int, byte[], int, int) - Static method in class sam.toolkit.Text
Compares two byte arrays
compare(FileEventNotifier, File) - Method in class sam.entry.Entry
Gets an OutputStream ready for comparing this entry to the file stored into specific directory.
compare(Object, Object) - Method in class sam.entry.NameFilter.Comparator
 
compare(Object, Object) - Method in class sam.entry.Comparator
Note: this comparator imposes orderings that are inconsistent with equals, for which concerns length and date.
compare(String, String) - Method in class sam.entry.Comparator
 
compare(String, String) - Method in class sam.entry.Comparator.Tokenized
 
COMPARING - Static variable in class sam.rules.ModusOperandi
Comparing mode of operation.
compressionMethod - Variable in class sam.core.ArchiveLayout.Resource
The preferred compression method for this resource
COMPUTER_ARCHITECTURE - Static variable in class sam.core.Settings.Environment
The hardware architecture the current VM is running on
consume(int) - Static method in class sam.toolkit.Random
Spawns a new thread which at random times consums the random generator
consume(int, int) - Static method in class sam.toolkit.Random
Spawns a new thread which at random times consums the random generator
consume(int, int, int) - Static method in class sam.toolkit.Random
Spawns a new thread which at random times consums the random generator
contains(Object[], Object) - Static method in class sam.toolkit.Text
Wether specified array contains specified object.
CopyFrom(Frog.Key.Entry) - Method in class sam.cipher.Frog.Key.Entry
 
count() - Method in class sam.entry.List
Counts the total number of remaining entries in this enumeration.
countCharacter(String, char) - Static method in class sam.toolkit.Text
Incredibly enough this is not part of the standard API ...
countLines(String) - Static method in class sam.toolkit.Text
Counts the number of lines of a text.
createArchive(File) - Method in class sam.core.Storer
Creates the archive.
createEvent() - Method in class sam.event.ProgressEventNotifier
Creates a new ProgressEvent describing the current progress state
createTemporaryFile(File) - Static method in class sam.io.IO
Creates a new temporary file.
creatorGroup() - Method in class sam.rules.ModusOperandi
 
creatorUser() - Method in class sam.rules.ModusOperandi
 
currentCallStack() - Static method in class sam.toolkit.Process
Gets the current call stack.
currentEntryName - Variable in class sam.event.ProgressEvent
The name of the entry being currently processed
currentEntryShortName(int) - Method in class sam.event.ProgressEvent
Gets a shorter name for the entry being currently processed

D

DATA - Static variable in class sam.core.ArchiveLayout
The compressed raw data of all orignal files first appended together and then filtered through the ciphers, and randomly mixed with random-sized randomly unbalanced data chunks.
dataChunkLength - Variable in class sam.io.Mixer.InputStream
The number of plain bytes ready for reading
date - Variable in class sam.entry.Entry
Actual last access time of this entry.
Deal - class sam.cipher.Deal.
Implementation of the Deal algorithm Retrofitted for personal use by Guillaume Lacôte.>Guillaume Lacôte.
Deal.Key - class sam.cipher.Deal.Key.
Key implementation that is adapted to the Deal cipher.
Deal.Key(long[]) - Constructor for class sam.cipher.Deal.Key
Mandatory constructor implementation.
Deal(Key) - Constructor for class sam.cipher.Deal
 
DECRYPT - Static variable in class sam.cipher.Cipher
Decryption specifier for instantiation
decrypt(byte[], int, Key) - Method in class sam.cipher.Cipher
Called in case of decrypting key
decrypt(byte[], int, Key) - Method in class sam.cipher.Loki
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.Frog
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.Mars
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.RC6
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.Rijndael
Convenience method to decrypt exactly one block of plaintext, assuming Rijndael's default block size (128-bit).
decrypt(byte[], int, Key) - Method in class sam.cipher.Serpent
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.Twofish
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.XOR
Same as encrypt since the XOR function is involutive
decrypt(byte[], int, Key) - Method in class sam.cipher.Deal
Decrypts exactly one block of plaintext.
decrypt(byte[], int, Key) - Method in class sam.cipher.DES
Decrypt exactly one block of ciphertext.
decrypt(byte[], int, Key) - Method in class sam.cipher.WarFactory.War
Decrypts exactly one block of ciphertext.
DEFAULT - Static variable in class sam.io.RandomMixer
Immutable default value, defined as new RandomMixer(0.05, 0.05, 0.50, 0.50)
DEFAULT_LOCATION - Static variable in class sam.core.Settings.Constants.UI.AWT
Default location of components freshly spawned by the awt-based user interface
DEFAULT_LOG_POSITION - Static variable in class sam.core.Settings.Constants.UI.AWT
Default log window position relative to the main window.
DEFAULT_TRACE - Static variable in class sam.core.Settings.Constants
Default output
density - Variable in class sam.io.RandomMixer
Actual density factor
DES - class sam.cipher.DES.
Implementation of the DES cipher Retrofitted for personal use by Guillaume Lacôte.
DES.Key - class sam.cipher.DES.Key.
Key implementation that is adapted to the DES cipher.
DES.Key(long[]) - Constructor for class sam.cipher.DES.Key
Mandatory constructor implementation.
DES(Key) - Constructor for class sam.cipher.DES
 
DESCRIBING - Static variable in class sam.rules.ModusOperandi
Describing mode of operation.
description - Variable in class sam.io.Packer
A human-readable description of this packer
description - Variable in class sam.io.Tracker
A human-readable description of this tracker
description - Variable in class sam.ui.RulingInterface.AccessMode
Human-readable description of this access mode
description - Variable in class sam.rules.Syntax
A human-readable description of this single Syntax element
description - Variable in class sam.cipher.Factory
A human-readable description of this cipher.
Dialog - class sam.ui.awt.Dialog.
General-purpose dialog box.
DIALOG_DEFAULT_LIFETIME - Static variable in class sam.core.Settings.Constants.UI.AWT
Default life time of dialog spawned by the awt-based user interface
Dialog(String, Component, int) - Constructor for class sam.ui.awt.Dialog
Pop-ups a new information box.
Dialog(String, Component, int, long) - Constructor for class sam.ui.awt.Dialog
Pop-ups a new information box.
direction - Variable in class sam.cipher.Key
Reports wether this is an encryption- or a decryption-key.
disable() - Method in class sam.ui.LogInterface
Disables any logging.
disposeFrames() - Static method in class sam.ui.UserInterface
Abruptly disposes all frames of the application.
DO_NOT_REENTER_FULLY_SPECIFIED_CIPHERS - Static variable in class sam.core.Settings.Constants
Wether the cipher/password must not always be rentered by user whenever it is adequately set in command-line.
DOCUMENTATION - Static variable in class sam.core.Settings.Distribution
String[] of all documentation files
doParse(String) - Method in class sam.rules.Syntax
Really parses a command-line supplied switch
doParse(String) - Method in class sam.rules.Syntax.Resource
 
doSaveTo(JarOutputStream) - Method in class sam.rules.Syntax.Resource
 
doSetTo(ModusOperandi) - Method in class sam.rules.Syntax.Resource
 
DoubleByte - class sam.io.DoubleByte.
Classes for input/output on streams two bytes at a time
DoubleByte.Exception - exception sam.io.DoubleByte.Exception.
Exception thrown from DoubleByte classes
DoubleByte.Exception() - Constructor for class sam.io.DoubleByte.Exception
 
DoubleByte.Exception(String) - Constructor for class sam.io.DoubleByte.Exception
 
DoubleByte.InputStreamReader - class sam.io.DoubleByte.InputStreamReader.
Reads double-bytes from standard single-byte InputStream
DoubleByte.InputStreamReader(InputStream) - Constructor for class sam.io.DoubleByte.InputStreamReader
 
DoubleByte.OutputStreamWriter - class sam.io.DoubleByte.OutputStreamWriter.
Writes double-bytes into standard single-byte OutputStream
DoubleByte.OutputStreamWriter(OutputStream) - Constructor for class sam.io.DoubleByte.OutputStreamWriter
 
DoubleByte.Reader - interface sam.io.DoubleByte.Reader.
Simple double-byte reader abstraction
DoubleByte.ReaderInputStream - class sam.io.DoubleByte.ReaderInputStream.
Reads single bytes from a double-bytes Reader
DoubleByte.ReaderInputStream() - Constructor for class sam.io.DoubleByte.ReaderInputStream
 
DoubleByte.ReaderInputStream(DoubleByte.Reader) - Constructor for class sam.io.DoubleByte.ReaderInputStream
 
DoubleByte.Writer - interface sam.io.DoubleByte.Writer.
Simple double-byte writer abstraction
DoubleByte.WriterOutputStream - class sam.io.DoubleByte.WriterOutputStream.
Writes single bytes into a double-bytes Writer
DoubleByte.WriterOutputStream() - Constructor for class sam.io.DoubleByte.WriterOutputStream
 
DoubleByte.WriterOutputStream(DoubleByte.Writer) - Constructor for class sam.io.DoubleByte.WriterOutputStream
 
DoubleByte() - Constructor for class sam.io.DoubleByte
 
drawLong(long[]) - Static method in class sam.toolkit.Random
Draws one of specified Longs randomly
drawString(String[]) - Static method in class sam.toolkit.Random
Draws one of specified Strings randomly
dropEmpty(Specification[]) - Static method in class sam.cipher.Specification
Drops all specifications whose password is null or empty
dropNulls(Object[]) - Static method in class sam.toolkit.Text
Drops the null elements of an array
DUMMY - Static variable in class sam.io.Mixer
Dummy mixer implementation.
DUMMY - Static variable in class sam.event.ProgressEvent
Dummy entry for testing/debugging purpose
DUMMY - Static variable in class sam.entry.Entry
Dummy entry for testing/debugging purposes
DUMP_BUFFER_SIZE - Static variable in class sam.core.Settings.Constants
Size of I/O dump buffers in bytes

E

EARLY_LOG_LEVEL_SETTING - Static variable in class sam.core.Settings.Constants
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.
EDITABLE - Static variable in class sam.ui.awt.Dialog
Flag specifying that the content of this dialog should be editable by the user
EditBox - class sam.ui.awt.EditBox.
General-purpose information box.
EditBox(String, String) - Constructor for class sam.ui.awt.EditBox
Pop-ups a new information box.
EditBox(String, String, int) - Constructor for class sam.ui.awt.EditBox
Pop-ups a new information box.
elapsedTimeMilliseconds - Variable in class sam.event.ProgressEvent.Statistics
Time elapsed since the beginning
EMAIL - Static variable in class sam.core.Settings.Environment
Email address of the author, as a String
EMPTY - Static variable in class sam.entry.Enumerator
Empty enumerator
EMPTY - Static variable in class sam.cipher.Cipher
Empty cipher implementation, does nothing.
EMPTY - Static variable in class sam.cipher.Key
One char issues no single bit
enable() - Method in class sam.ui.LogInterface
Enables logging again.
ENCODED_BAR_COLOR - Static variable in class sam.core.Settings.Constants.UI.AWT
Encoded progress bar color
encodingRatio - Variable in class sam.event.ProgressEvent.Statistics
The ratio between encoded data and plain data
ENCRYPT - Static variable in class sam.cipher.Cipher
Encryption specifier for instantiation
encrypt(byte[], int, Key) - Method in class sam.cipher.Cipher
Called in case of encrypting key
encrypt(byte[], int, Key) - Method in class sam.cipher.Loki
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.Frog
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.Mars
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.RC6
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.Rijndael
Convenience method to encrypt exactly one block of plaintext, assuming Rijndael's default block size (128-bit).
encrypt(byte[], int, Key) - Method in class sam.cipher.Serpent
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.Twofish
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.XOR
Cyclic exclusive-or of the bytes of data.
encrypt(byte[], int, Key) - Method in class sam.cipher.Deal
Encrypts exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.DES
Encrypt exactly one block of plaintext.
encrypt(byte[], int, Key) - Method in class sam.cipher.WarFactory.War
Encrypts exactly one block of plaintext.
enterCiphers(String, Specification[], boolean) - Method in class sam.ui.RulingInterface
Prompts the user for entering the ciphers/passwords.
enterCiphers(String, Specification[], boolean) - Method in class sam.ui.text.RulingInterface
 
enterCiphers(String, Specification[], boolean) - Method in class sam.ui.awt.RulingInterface
 
enterFileOrDirectory(String, File, RulingInterface.AccessMode) - Method in class sam.ui.RulingInterface
Prompts the user for entering a file name.
enterFileOrDirectory(String, File, RulingInterface.AccessMode) - Method in class sam.ui.text.RulingInterface
 
enterFileOrDirectory(String, File, RulingInterface.AccessMode) - Method in class sam.ui.awt.RulingInterface
 
enterInteger(String, int, int, int) - Method in class sam.ui.RulingInterface
Prompts the user for entering an integral number.
enterInteger(String, int, int, int) - Method in class sam.ui.text.RulingInterface
 
enterInteger(String, int, int, int) - Method in class sam.ui.awt.RulingInterface
 
enterPasswords(Specification[]) - Method in class sam.ui.RulingInterface
Prompts the user to enter the password for specified ciphers in deciphering mode.
enterString(String, String) - Method in class sam.ui.RulingInterface
Prompts the user for entering a string.
enterString(String, String) - Method in class sam.ui.text.RulingInterface
 
enterString(String, String) - Method in class sam.ui.awt.RulingInterface
 
entry - Variable in class sam.event.FileEvent
The Entry concerned by this event
entry - Variable in class sam.event.ProgressEvent
Statistics on current entry
Entry - class sam.entry.Entry.
This class is a basic abstraction over files for the purpose of archiving.
ENTRY_LENGTH_DIGITS - Static variable in class sam.core.Settings.Constants
Number of digits to be used to report entry length.
ENTRY_NAME_LENGTH - Static variable in class sam.core.Settings.Constants.UI.AWT
Length of entry names in progress window
ENTRY_PATH_SEPARATOR - Static variable in class sam.core.ArchiveLayout
The path separator to be used in Entry
ENTRY_SHORT_NAME_LENGTH - Static variable in class sam.core.Settings.Constants.UI.Text
The displayed name length of entries in the text-based user interface
enumerate(Object[]) - Static method in class sam.toolkit.Text
Enumerates elements of an array.
Enumerator - class sam.entry.Enumerator.
 
Enumerator() - Constructor for class sam.entry.Enumerator
 
EQUALITY - Static variable in class sam.entry.NameFilter
Specification is reduced to equality
equals(Object) - Method in class sam.cipher.Key
General-purpose.
error() - Method in class sam.ui.UserInterface
 
error() - Method in class sam.ui.text.UserInterface
 
error() - Method in class sam.ui.basic.UserInterface
 
error() - Method in class sam.ui.awt.UserInterface
 
ErrorInterface - class sam.ui.ErrorInterface.
Abstract error interface
ErrorInterface() - Constructor for class sam.ui.ErrorInterface
 
EventNotifier - class sam.event.EventNotifier.
Central event notifier.
EventNotifier(FileEventNotifier, ProgressEventNotifier) - Constructor for class sam.event.EventNotifier
Builds a new event notifier.
example() - Method in class sam.rules.Syntax
Builds an example for this single Syntax element
example() - Method in class sam.rules.Syntax.Resource
 
example() - Method in class sam.rules.SyntaxSet
Builds an example of this syntax set.
example(String) - Static method in class sam.io.PrintTrace
Draws an example from given file name and standard streams.
exclude(Enumerator) - Method in class sam.entry.List
Excludes specified entries from current list.
execute() - Method in class sam.rules.JavaProgram
Runs the application in the current JVM.
executePostCommand() - Method in class sam.rules.ModusOperandi
 
exists(String) - Method in class sam.cipher.Registry
Wether specified name is that of an already registered Cipher factory
exit() - Static method in class sam.toolkit.Process
 
exit(int) - Static method in class sam.toolkit.Process
 
expandToBytes() - Method in class sam.cipher.Key
 
expandToInts() - Method in class sam.cipher.Key
 
expandToLongs() - Method in class sam.cipher.Key
 
expandToShorts() - Method in class sam.cipher.Key
 
EXTRACTING - Static variable in class sam.rules.ModusOperandi
Extracting mode of operation.

F

factored(float, int) - Static method in class sam.io.RandomMixer
 
Factory - class sam.cipher.Factory.
General-purpose Cipher factory.
Factory(String, String) - Constructor for class sam.cipher.Factory
Builds a new Cipher factory
fail(String) - Method in class sam.ui.ErrorInterface
Aborts the program.
fail(String, Throwable) - Method in class sam.ui.ErrorInterface
Aborts the program due to specified Throwable.
fail(Throwable) - Method in class sam.ui.ErrorInterface
Aborts the program due to specified Throwable.
FAILED - Static variable in class sam.event.FileEventNotifier
Notification type for processed entry events
failed(FileEvent) - Method in class sam.event.FileEventAdapter
Called whenever the handling of a file failed
failed(FileEvent) - Method in class sam.event.FileEventWriter
Called whenever the handling of a file failed
failed(FileEvent) - Method in class sam.event.FileEventListener
Called whenever the handling of a file failed
FAILSAFE - Static variable in class sam.core.Settings.Constants.UI
The name of a failsafe user interface Its initialization should never fail.
failure(String) - Method in class sam.ui.ErrorInterface
 
Fifo - class sam.toolkit.Fifo.
Basic first-in first-out list implementation.
Fifo() - Constructor for class sam.toolkit.Fifo
 
FILE - Static variable in class sam.ui.RulingInterface
Access mode for a readable or writable file
file() - Method in class sam.event.EventNotifier
Gets the FileEvent notifier
FileEvent - class sam.event.FileEvent.
Event concerning file.
FileEvent(Entry, String) - Constructor for class sam.event.FileEvent
 
FileEventAdapter - class sam.event.FileEventAdapter.
Trivial FileEvent listener that does nothing.
FileEventAdapter() - Constructor for class sam.event.FileEventAdapter
 
FileEventListener - class sam.event.FileEventListener.
Generic type of FileEvent listeners
FileEventListener() - Constructor for class sam.event.FileEventListener
 
FileEventNotifier - class sam.event.FileEventNotifier.
Class for dispatching FileEvent through registered FileEventListeners.
FileEventNotifier.NotificationType - class sam.event.FileEventNotifier.NotificationType.
Class describing a notification type.
FileEventNotifier.NotificationType() - Constructor for class sam.event.FileEventNotifier.NotificationType
 
FileEventNotifier() - Constructor for class sam.event.FileEventNotifier
 
FileEventWriter - class sam.event.FileEventWriter.
Trivial FileEvent listener that reports all file events to a Writer
FileEventWriter() - Constructor for class sam.event.FileEventWriter
Builds a new listener that tracks back all events to standard output
FileEventWriter(PrintWriter) - Constructor for class sam.event.FileEventWriter
Builds a new listener that tracks back all events to specified output
FileEventWriter(Writer) - Constructor for class sam.event.FileEventWriter
Builds a new listener that tracks back all events to specified writer
files() - Method in class sam.rules.ModusOperandi
 
FileSystem - class sam.entry.FileSystem.
Enumerates local files and recurse sub-directories
FileSystem(File) - Constructor for class sam.entry.FileSystem
Builds a new file system enumerator which enumerates files in specified directory
FileSystem(File, boolean) - Constructor for class sam.entry.FileSystem
Builds a new file system enumerator which enumerates files in specified directory
FileSystem(File, boolean, boolean) - Constructor for class sam.entry.FileSystem
Builds a new file system enumerator.
FileSystem(String) - Constructor for class sam.entry.FileSystem
Builds a new file system enumerator which enumerates files in specified directory
fill(byte[], int, int) - Static method in class sam.cipher.Cipher
Called whenever the whole buffer can not be filled up with fresh data.
fillIn(String[], String[]) - Static method in class sam.cipher.Specification
Fills cipher and password specifications into an array of Specifications.
fillRandomly(byte[], int, int) - Method in class sam.io.ByteArrayFilter
Called whenever the whole buffer can not be filled up with fresh data.
FILTER_BLOCK_BUFFER_SIZE - Static variable in class sam.core.Settings.Constants
Size of byte[] array filters.
filter(byte[]) - Method in class sam.io.ByteArrayFilter
 
filter(byte[], int) - Method in class sam.io.MultiThreadedByteArrayFilter
 
filter(byte[], int) - Method in class sam.io.ByteArrayFilter
Filters the data byte[] array from position offset up to offset + length - 1.
filter(byte[], int) - Method in class sam.cipher.Cipher.ByteArrayFilter
 
filter(byte[], int, int) - Method in class sam.io.MultiThreadedByteArrayFilter
 
filter(byte[], int, int) - Method in class sam.io.ByteArrayFilter
 
filter(Enumerator) - Method in class sam.entry.Enumerator
Discards unspecified entries from current enumeration.
filter(Enumerator, NameFilter) - Method in class sam.entry.Enumerator
Discards unspecified entries from current enumeration.
filterInput(InputStream) - Method in class sam.io.StreamFilter
Filters (decompress) the archive input.
filterOutput(OutputStream) - Method in class sam.io.StreamFilter
Filters (compress) the archive output.
finalize() - Method in class sam.io.ChecksumCheckerInputStream
Deprecated. Makes sure the checksums are checked on exit.
finalize() - Method in class sam.event.ProgressEventNotifier
On destruction the postmaster thread must be stopped.
finalize() - Method in class sam.ui.awt.LogInterface
 
finalize() - Method in class sam.ui.awt.ProgressEventListener
 
finalize() - Method in class sam.ui.awt.Dialog
 
finalize() - Method in class sam.toolkit.Mailbox
On destruction waits for all readers to finish reading any pending mail.
finishFilter(OutputStream) - Method in class sam.io.StreamFilter
Finishes the archive output filtering.
firstByte(int) - Static method in class sam.io.DoubleByte
 
firstWord(String, char) - Static method in class sam.toolkit.Text
Gets the first word of a two-word string
flush() - Method in class sam.io.Huffman.LeafOutputStream
 
flush() - Method in class sam.io.ByteCountOutputStream
 
flush() - Method in class sam.io.DoubleByte.WriterOutputStream
 
flush() - Method in class sam.io.CloseAvoiderOutputStream
 
flush() - Method in class sam.io.Mixer.OutputStream
 
flush() - Method in class sam.io.ByteArrayFilter.OutputStream
 
flush() - Method in class sam.io.BitOutputStream
This does NOT write current buffer but simply forwards the flush call to the underlying stream.
flush() - Method in class sam.io.ParallelIO.ScatterOutputStream
Simply forwards the flushing call to the underlying stream
flush() - Method in class sam.io.ParallelIO.GatherOutputStream
Simply forwards the flushing call to the underlying stream
flush() - Static method in class sam.ui.LogInterface
Flushes any pending log message.
flush() - Method in class sam.ui.awt.TextAreaWriter
 
FP(int[]) - Static method in class sam.cipher.DES
Apply in situ the DES FP trnasformation (IP-1) to a DES block.
FREE_SOURCES - Static variable in class sam.core.Settings.Distribution
String[] of all freely distributable source files
frequency - Variable in class sam.io.RandomMixer
Actual frequency factor
freshen(FileEventNotifier, File) - Method in class sam.entry.Entry
Gets an OutputStream ready for freshening this entry into specific directory.
FRESHENING - Static variable in class sam.rules.ModusOperandi
Freshening mode of operation.
Frog - class sam.cipher.Frog.
Implementation of the Frog cipher.
Frog.Key - class sam.cipher.Frog.Key.
Key implementation that is adapted to the Frog cipher.
Frog.Key.Entry - class sam.cipher.Frog.Key.Entry.
 
Frog.Key.Entry() - Constructor for class sam.cipher.Frog.Key.Entry
 
Frog.Key(long[]) - Constructor for class sam.cipher.Frog.Key
Mandatory constructor implementation.
Frog(Key) - Constructor for class sam.cipher.Frog
 
fromHexa(String) - Static method in class sam.toolkit.Text
Recovers an int integral number from its hexadecimal representation
fromStrings(String[]) - Static method in class sam.toolkit.Text
Turns an array of integers to the array of their String representation

G

get() - Static method in class sam.ui.UserInterface
Gets the current user interface.
get() - Method in class sam.core.ArchiveLayout.Resource
Opens this Resource from the boot-time jar file assumed to be the archive
get() - Static method in class sam.rules.SyntaxSet
Builds a new SyntaxSet instance.
get() - Method in class sam.toolkit.ClassRegistry
Gets the current user interface.
get() - Method in class sam.toolkit.Fifo
Extracts the least recently put object from this Fifoget(int) - Method in class sam.io.Huffman
Gets the leaf coding for specified value.
get(int) - Method in class sam.cipher.Frog.Key.Entry
 
get(int) - Method in class sam.toolkit.StringFactory
Builds the indentation prefix for specified length
get(String) - Static method in class sam.io.Packer
Gets the packer of specified name.
get(String) - Static method in class sam.io.Tracker
Gets the tracker of specified name.
get(String) - Method in class sam.toolkit.ClassRegistry
Sets and gets specified user interface.
get(ZipFile) - Method in class sam.core.ArchiveLayout.Resource
Opens this Resource from specified archive
get1() - Method in class sam.cipher.Key
 
get16() - Method in class sam.cipher.Key
 
get32() - Method in class sam.cipher.Key
 
get64() - Method in class sam.cipher.Key
 
get8() - Method in class sam.cipher.Key
 
getAsStream(String) - Static method in class sam.io.IO
Turns a String to a readable stream
getAsStream(String[]) - Static method in class sam.io.IO
Turns a list of Strings to a readable stream
getBaseDirectory(File, Package) - Static method in class sam.toolkit.Process
 
getBaseJarArchive(URL) - Static method in class sam.toolkit.Process
 
getBestDescription(String, Class) - Static method in class sam.cipher.ReflexiveFactory
Gets the best name for specified cipher class.
getBestName(String, Class) - Static method in class sam.cipher.ReflexiveFactory
Gets the best name for specified cipher class.
getBits() - Method in class sam.cipher.Key
 
getBooleans() - Method in class sam.cipher.Key
 
getButton(Component) - Method in class sam.ui.awt.LogInterface
Gets a proper switch button to activate/deactivate the log.
getBytes() - Method in class sam.cipher.Key
 
getBytes(ZipFile) - Method in class sam.core.ArchiveLayout.Resource
Reads this Resource as a byte[] array
getChoice() - Method in class sam.ui.awt.Dialog
Returns user selected button.
getCipher(boolean) - Method in class sam.cipher.Specification
Instantiates this specification to a proper Cipher
getCiphers() - Method in class sam.cipher.Registry
Gets the names of all registered ciphers.
getCiphers(Specification[], boolean) - Static method in class sam.cipher.Specification
Instantiates a specification list to a proper Ciphers list.
getClassDirectory(Class) - Static method in class sam.toolkit.Process
 
getClassUrl(Class) - Static method in class sam.toolkit.Process
 
getClassUrl(Class, char) - Static method in class sam.toolkit.Process
 
getComponents() - Method in class sam.ui.awt.GrowableGrid
 
getCompressionRatioString() - Method in class sam.event.ProgressEvent.Statistics
Gets the compression ratio in a human-readable format
getConstructor(Class, Class[]) - Static method in class sam.toolkit.Process
Finds out a suitable constructor inside specified class that accepts specified arguments types.
getContent() - Method in class sam.ui.awt.Dialog
Returns current text.
getCurrentProcessor() - Static method in class sam.io.ParallelIO
Gets the current IOProcessor
getCurrentThreads() - Static method in class sam.toolkit.Process
Gets the list of all active threads.
getDataChunkLength(long) - Method in class sam.io.Mixer
Sets the next data chunk length, in bytes.
getDataChunkLength(long) - Method in class sam.io.RandomMixer
 
getDataChunkLength(long) - Method in class sam.io.HuffmanMixer
 
getDate() - Static method in class sam.toolkit.Text
Deprecated.  
getDate(long) - Static method in class sam.toolkit.Text
Deprecated.  
getDateTime(long) - Static method in class sam.toolkit.Text
Deprecated.  
getDeclaredTypes() - Method in class sam.rules.SyntaxSet
Gets the list of all valid one-char parameter prefixes, as a String
getDefaultTemporary() - Static method in class sam.core.Settings.Environment
Gets the default temporary directory
getDefaultTemporary() - Static method in class sam.toolkit.Process
Deprecated.  
getDescription() - Method in class sam.cipher.Specification
Gets the human-readable description of this cipher.
getDescription(String) - Method in class sam.cipher.Registry
Gets the description of the cipher registered under specified name, or default string if not available (This never returns null).
getDuration(long) - Static method in class sam.toolkit.Text
Deprecated.  
getFileEventListener() - Method in class sam.ui.RunningInterface
Builds a new FileEvent listener.
getFileOrDirectory(String, File, RulingInterface.AccessMode) - Method in class sam.ui.RulingInterface
Gets a file or directory and ensures it can be read/written as required
getFileOrDirectory(String, String, RulingInterface.AccessMode) - Method in class sam.ui.RulingInterface
Gets a file or directory and ensures it can be read/written as required
getFromStream(InputStream) - Static method in class sam.io.IO
Turns a stream to a String
getFromStream(InputStream, boolean) - Static method in class sam.io.IO
Turns a stream to a String
getInputStream() - Method in class sam.entry.Entry
Returns an InputStream for reading this entry, assumed it is a local file.
getInt(ZipFile) - Method in class sam.core.ArchiveLayout.Resource
Reads this Resource as a int number
getInteger(String, int, int, int) - Method in class sam.ui.RulingInterface
Gets a user-supplied integral number.
getInts() - Method in class sam.cipher.Key
 
getJarSourceArchive(Class) - Static method in class sam.toolkit.Process
 
getKeys(Map, Object[]) - Static method in class sam.toolkit.Text
Gets a snapshot of the valid key set of a given Map.
getKeyStrings(Map) - Static method in class sam.toolkit.Text
Gets a snapshot of the valid key set of a given Map.
getKnwonInterfaces() - Static method in class sam.ui.UserInterface
Gets the list of all known user interfaces
getLastClassName(Class) - Static method in class sam.toolkit.Text
Gets the Java class name without its package qualification.
getLevel() - Method in class sam.ui.LogInterface
Gets the current log level upper limit.
getLocation(Component, Component, String) - Static method in class sam.ui.awt.LogInterface
Gets the best location to display the log adjacent to another.
getLong(ZipFile) - Method in class sam.core.ArchiveLayout.Resource
Reads this Resource as a long number
getLongs() - Method in class sam.cipher.Key
 
getMessage(Throwable) - Static method in class sam.toolkit.Text
 
getMixer() - Method in class sam.io.Packer
Gets the Mixer associated to this Packer Note that the Mixer instance is always the same.
getName(Class) - Method in class sam.toolkit.NamedClassRegistry
 
getNames(Specification[]) - Static method in class sam.cipher.Specification
Gets the names of a stack of specifications.
getNumberOfCiphers() - Method in class sam.cipher.Registry
 
getOneDecimalString(double) - Static method in class sam.toolkit.Text
Gets the representation of ratio with a one-decimal-digit precision.
getOneDecimalString(long, long) - Static method in class sam.toolkit.Text
Gets the representation of value / divisor with a one-decimal-digit precision.
getPackers() - Static method in class sam.io.Packer
Gets the list of all registered packers.
getPercent(int, int, boolean) - Static method in class sam.toolkit.Text
Deprecated.  
getPercent(long, long, boolean) - Static method in class sam.toolkit.Text
Deprecated.  
getPercentage(long, long) - Static method in class sam.toolkit.Text
Gets the percentage corresponding to specified ratio.
getPreferredKeySize(int) - Method in class sam.cipher.Factory
Specifies preferred key size, in bits.
getPreferredKeySize(int) - Method in class sam.cipher.WarFactory
 
getPreferredSize(int) - Method in class sam.cipher.Cipher
Specifiy preferred buffer size.
getPreferredSize(int) - Method in class sam.cipher.Loki
 
getPreferredSize(int) - Method in class sam.cipher.Frog
 
getPreferredSize(int) - Method in class sam.cipher.Mars
Gets the preferred cipher block size
getPreferredSize(int) - Method in class sam.cipher.RC6
 
getPreferredSize(int) - Method in class sam.cipher.Rijndael
 
getPreferredSize(int) - Method in class sam.cipher.Serpent
 
getPreferredSize(int) - Method in class sam.cipher.Twofish
 
getPreferredSize(int) - Method in class sam.cipher.XOR
 
getPreferredSize(int) - Method in class sam.cipher.Deal
The DES preferred size is always 16
getPreferredSize(int) - Method in class sam.cipher.DES
The DES preferred size is always 8
getPreferredSize(int) - Method in class sam.cipher.WarFactory.War
 
getPrintableChecksum() - Method in class sam.event.ChecksumEvent
 
getProgressBar(float) - Static method in class sam.ui.text.ProgressEventListener
Gets text-based a progress bar corresponding to specified achieved percentage
getProgressEventListener() - Method in class sam.ui.RunningInterface
Builds a new ProgressEvent listener.
getRate() - Method in class sam.event.ProgressEvent.Statistics
Gets the processing rate in a human-readable format
getRegisteredCiphers() - Static method in class sam.cipher.Specification
Gets the list of all currently registerd ciphers as a Specification[] list.
getRemainingDuration() - Method in class sam.event.ProgressEvent.Statistics
Gets the estimated remaining duration.
getRemainingDurationString() - Method in class sam.event.ProgressEvent.Statistics
Gets the estimated remaining duration, as a human-remaining string
getRemovedSince(Enumerator) - Method in class sam.entry.List
Returns the enumeration of all entries appearing in other but not in this.
getRounds(int, int) - Static method in class sam.cipher.Rijndael
Return The number of rounds for a given Rijndael's key and block sizes.
getRule() - Method in class sam.rules.Syntax
Gets the Rule specified by this RuleSpecification.
getRule() - Method in class sam.rules.Syntax.Resource
 
getShorts() - Method in class sam.cipher.Key
 
getSizeString(long) - Static method in class sam.toolkit.Text
Gets a human-readable String representation of a size.
getSpecification() - Method in class sam.ui.awt.CipherInputField.SpecificationsList.SingleSpecification
Gets the specification entered inside this SingleSpecification
getSpecifications() - Method in class sam.ui.awt.CipherInputField
Gets the specifications selected byt the user
getSpecifications() - Method in class sam.ui.awt.CipherInputField.SpecificationsList
Gets the stack of specification currently built.
getString(String, String) - Method in class sam.ui.RulingInterface
Gets a user-supplied string.
getString(ZipFile) - Method in class sam.core.ArchiveLayout.Resource
Reads this Resource as a String
getStrings(ZipFile) - Method in class sam.core.ArchiveLayout.Resource
Reads this Resource line-by-line as a String[] array
getText() - Method in class sam.ui.awt.EditBox
Returns current text.
getTime() - Static method in class sam.toolkit.Text
Deprecated.  
getTime(long) - Static method in class sam.toolkit.Text
Deprecated.  
getTokens(InputStream, String) - Static method in class sam.io.IO
Tokenizes a stream.
getTotalDuration() - Method in class sam.event.ProgressEvent.Statistics
Gets the estimated total duration.
getTotalDurationString() - Method in class sam.event.ProgressEvent.Statistics
Gets the estimated total duration, as a human-readable string
getTrace() - Method in class sam.io.Mixer
Gets the current mixing trace since creation of the stream
getTrackers() - Static method in class sam.io.Tracker
Gets the list of all registered trackers.
getValue() - Method in class sam.ui.awt.IntegerInputField
Gets the current value.
getWidth(float) - Method in class sam.ui.awt.ProgressBar
Gets the adapted width for specified ratio.
global - Variable in class sam.event.ProgressEvent
Global statistics
GO - Static variable in class sam.ui.awt.Dialog
Alias of the "GO" button
grantToken() - Method in class sam.io.ParallelIO.IOProcessor
Grants this processor's token having been processed
grantToken(long) - Method in class sam.io.ParallelIO
 
greetings() - Static method in class sam.core.Settings.Environment
Gets a greeting string, suitable to display e.g.
Grid - class sam.ui.awt.Grid.
Largely used: shortcut for adding several objects in a single line of code.
Grid(int, int) - Constructor for class sam.ui.awt.Grid
Builds a new grid
GROUP - Static variable in class sam.core.ArchiveLayout
The group of the user creating the archive
GROUP - Static variable in class sam.core.Settings.Environment
The group of the user running the current VM
GrowableGrid - class sam.ui.awt.GrowableGrid.
Horizontal or vertical Grid without a limit in the number of its components.
GrowableGrid(int, boolean) - Constructor for class sam.ui.awt.GrowableGrid
 

H

haltIfRequired() - Static method in class sam.toolkit.Process
 
handleException(String, Throwable) - Method in class sam.ui.ErrorInterface
Attempts to handle specified exception.
hasImportedArchive() - Method in class sam.rules.ModusOperandi
 
hasMoreElements() - Method in class sam.entry.Enumerator
Wether this Enumerator has more elements
hasMoreElements() - Method in class sam.entry.FileSystem
 
hasMoreElements() - Method in class sam.entry.List
 
hasMoreElements() - Method in class sam.entry.Multiple
 
hasMoreElements() - Method in class sam.toolkit.Random.IntegerSetRandomizer
Wether this enumeration has more elements to enumerate.
help() - Method in class sam.rules.SyntaxSet
Hopefully helps.
HELPING - Static variable in class sam.rules.ModusOperandi
Helping mode of operation.
HEXA - Static variable in class sam.cipher.Key
One char (0,1,..9,A,..F) issues 4 bits
hide() - Method in class sam.ui.awt.LogInterface
Hides the log window.
HIDING_LOG_DISABLES_IT - Static variable in class sam.core.Settings.Constants.UI.AWT
Wether opening the log window should also enable log
highestIn(int, int[]) - Static method in class sam.cipher.Factory
Gets the highest integer less than or equal to suggested from exhaustive list of valid values, or minimum of those if such a number does not exist.
highestMultiple(int, int) - Static method in class sam.cipher.Factory
Gets the highest integer less than or equal to number that is a multiple of root, and that is higher than root.
HOME - Static variable in class sam.core.Settings.Environment
The home directory of the user running the current VM
HOME_PAGE - Static variable in class sam.core.Settings.Environment
Home page of the program, as a String
HORIZONTAL_THREADS - Static variable in class sam.core.Settings.Defaults
Default number of horizontal threads.
horizontalThreads() - Method in class sam.rules.ModusOperandi
 
Huffman - class sam.io.Huffman.
Implementation of the auto-adaptive Huffman-tree coding input/output-streams with variable pattern length.
Huffman.Leaf - class sam.io.Huffman.Leaf.
Special Node representing a leaf.
Huffman.LeafInputStream - class sam.io.Huffman.LeafInputStream.
Class for reading leaves from an Huffman-compressed InputStream
Huffman.LeafInputStream(InputStream) - Constructor for class sam.io.Huffman.LeafInputStream
 
Huffman.LeafOutputStream - class sam.io.Huffman.LeafOutputStream.
Class for writing Huffman-compressed leaves to an OutputStream
Huffman.LeafOutputStream(OutputStream) - Constructor for class sam.io.Huffman.LeafOutputStream
 
Huffman(int) - Constructor for class sam.io.Huffman
Builds a new generic Huffman tree of specified pattern width.
Huffman(int, int) - Constructor for class sam.io.Huffman
Creates a new well-balanced Huffman tree.
Huffman16 - class sam.io.Huffman16.
 
Huffman16() - Constructor for class sam.io.Huffman16
Creates a new well-balanced Huffman tree.
Huffman8 - class sam.io.Huffman8.
 
Huffman8() - Constructor for class sam.io.Huffman8
Creates a new well-balanced Huffman tree.
HuffmanMixer - class sam.io.HuffmanMixer.
Implementation of a mixer that is well-suited for Huffman-encoded streams It inserts pseudo-randomized characters drawn in a way that is equivalent to draw an arbitrary Huffman tree among all possible ones.
HuffmanMixer(Huffman) - Constructor for class sam.io.HuffmanMixer
 

I

IGNORE - Static variable in class sam.ui.awt.Dialog
Alias of the "IGNORE" button
IGNORE - Static variable in class sam.cipher.Key
One char issues no bit at all
IGNORE_EMPTY - Static variable in class sam.core.Settings.Constants.Key
Wether to discard ciphers whose Key is empty.
IMPORTED_ARCHIVE - Static variable in class sam.core.ArchiveLayout
The optionnal imported archive
importedArchive() - Method in class sam.rules.ModusOperandi
 
importedFiles() - Method in class sam.rules.ModusOperandi
 
incompatibleArchiveLayout(int) - Method in class sam.ui.ErrorInterface
Called whenever an archive of incompatible layout version is submitted for extraction.
InfoBox - class sam.ui.awt.InfoBox.
General-purpose information box.
InfoBox(String, String) - Constructor for class sam.ui.awt.InfoBox
Pop-ups a new information box.
InfoBox(String, String, int) - Constructor for class sam.ui.awt.InfoBox
Pop-ups a new information box.
InfoBox(String, String, int, long) - Constructor for class sam.ui.awt.InfoBox
Pop-ups a new information box.
InfoBox(String, Throwable) - Constructor for class sam.ui.awt.InfoBox
Pop-ups a new error message box
infos() - Method in class sam.rules.ModusOperandi
Prints a short summary of all settings
INPUT - Static variable in class sam.ui.awt.Dialog
Combined mode of for input dialog This is the combination of EDITABLE, OK and CANCEL buttons
input(InputStream) - Method in class sam.io.Huffman
Stream for decoding huffman-encoded data
input(InputStream) - Method in class sam.io.Huffman8
Stream for decoding 8 bits huffman-encoded data
input(InputStream) - Method in class sam.io.Huffman16
Stream for decoding 16 bits huffman-encoded data
IntegerInputField - class sam.ui.awt.IntegerInputField.
Simple integer input field
IntegerInputField(int, int, int) - Constructor for class sam.ui.awt.IntegerInputField
Builds a new integer input field.
interrupt() - Static method in class sam.toolkit.Process
 
intToChar(int) - Static method in class sam.toolkit.Text
Converts one integer to corresponding character according to the local Charset Warning: this method is highly inefficient.
INVERSE - Static variable in class sam.cipher.Cipher
Decryption specifier for instantiation
inverse() - Method in class sam.cipher.Frog.Key
 
inverse() - Method in class sam.cipher.RC6.Key
 
inverse() - Method in class sam.cipher.Rijndael.Key
 
inverse() - Method in class sam.cipher.Twofish.Key
 
inverse() - Method in class sam.cipher.Key
Inverses this key.
inverse() - Method in class sam.cipher.Deal.Key
Inverses this key
inverse() - Method in class sam.cipher.WarFactory.Key
Inverses this key.
IO - class sam.io.IO.
Input/output toolkit
IP(int[]) - Static method in class sam.cipher.DES
Apply in situ the DES IP transformation to a DES block.
isArchiving() - Method in class sam.rules.ModusOperandi
 
isAtBeginning() - Method in class sam.event.ProgressEvent.Statistics
Wether this job is finished
isCanceled() - Method in class sam.ui.awt.CipherInputField
Returns false if, and only if the user exited with the "OK" button.
isEmpty() - Method in class sam.entry.Enumerator
Wether this Enumerator has no more elements
isEmpty() - Method in class sam.entry.List
Tests wether all included entries are of length 0, or if there is no more entry at all.
isEmpty() - Method in class sam.cipher.Frog.Key
 
isEmpty() - Method in class sam.cipher.RC6.Key
 
isEmpty() - Method in class sam.cipher.Rijndael.Key
 
isEmpty() - Method in class sam.cipher.Twofish.Key
 
isEmpty() - Method in class sam.cipher.Key
Wether this key is empty
isEmpty() - Method in class sam.cipher.Deal.Key
Wether this key is empty
isEmpty() - Method in class sam.cipher.Specification
Wether this specifications is empty, i.e.
isEmpty() - Method in class sam.toolkit.Fifo
 
isExtracting() - Method in class sam.rules.ModusOperandi
 
isFinished() - Method in class sam.event.ProgressEvent.Statistics
Wether this job is finished
isNextEntry() - Method in class sam.event.ProgressEvent
Wether this is the first event concerning the current entry, i.e.
isOlderThanIn(File) - Method in class sam.entry.Entry
Wether this entry denotes a file which is older than an already existing file ins specified directory.
isOptionnal - Variable in class sam.core.ArchiveLayout.Resource
Wether this resource must always be present in the archive
isRunningOnMicrosoftOS() - Static method in class sam.core.Settings.Environment
Checks wether the VM is running under a Microsoft operating system.
isSet() - Static method in class sam.ui.UserInterface
Wether a user interface has ever been set.
isSet() - Method in class sam.toolkit.ClassRegistry
Wether any target has ever been set.
isSpecial() - Method in class sam.rules.ModusOperandi
 

J

JAR_COMPRESSION_LEVEL - Static variable in class sam.core.Settings.Defaults
Default Jar compression level Example: anything from 0 (no compression) to 9 (best and slowest compression).
jar(byte[], String, JarOutputStream) - Static method in class sam.io.IO
Dumps a byte[] array of data to a new entry in a Jar archive
jar(byte[], String, JarOutputStream, int) - Static method in class sam.io.IO
Dumps a byte[] array of data to a new entry in a Jar archive
jar(InputStream, long, String, JarOutputStream) - Static method in class sam.io.IO
Dumps a stream to a new entry in a Jar archive
jar(InputStream, long, String, JarOutputStream, int) - Static method in class sam.io.IO
Dumps a stream to a new entry in a Jar archive
jar(InputStream, String, JarOutputStream) - Static method in class sam.io.IO
Dumps a stream to a new entry in a Jar archive
jar(InputStream, String, JarOutputStream, int) - Static method in class sam.io.IO
Dumps a stream to a new entry in a Jar archive
JavaProgram - class sam.rules.JavaProgram.
Wrapper for java command-lines

K

keepNewerThan(Enumerator) - Method in class sam.entry.List
Keeps only entries from this enumeration that are newer than in specified enumeration.
key - Variable in class sam.cipher.Cipher
Actual key assigned to this cipher
Key - class sam.cipher.Key.
General purpose key class.
Key.Mode - class sam.cipher.Key.Mode.
Parsing mode for converting characters to significant bits.
Key(boolean[]) - Constructor for class sam.cipher.Key
Builds a new key.
Key(long[]) - Constructor for class sam.cipher.Key
Builds a new key.
Key(long[], int) - Constructor for class sam.cipher.Key
Builds a new key.
Key(long[], int, boolean) - Constructor for class sam.cipher.Key
Builds a new key.
Key(String, Key.Mode, int) - Constructor for class sam.cipher.Key
Builds a new key.
keyBits - Variable in class sam.cipher.WarFactory
Number of bits per key element
kill() - Method in class sam.ui.awt.Dialog
Kills this dialog.
KILLED - Static variable in class sam.ui.awt.Dialog
Result state specifying that the dialog was killed (window closed)
KNOWN_WAR_SIZES - Static variable in class sam.core.Settings.Constants
List of all registered WAR ciphers.

L

LAYOUT_VERSION - Static variable in class sam.core.ArchiveLayout
 
LAYOUT_VERSION_NUMBER - Static variable in class sam.core.ArchiveLayout
SAM file format version, currently 0.90 (encoded as the 90 integer)
left(String, int) - Static method in class sam.toolkit.Text
Shrinks or expands specified text do desired length
length - Variable in class sam.io.ByteArrayFilter
Length of a block size
length - Variable in class sam.entry.Entry
Actual total number of bytes contained by this entry.
length - Variable in class sam.cipher.WarFactory
Total buffer length, i.e.
LEXICOGRAPHICAL - Static variable in class sam.entry.Comparator
Lexicographical comparator over Entry extensions, then name, then path
LICENSE - Static variable in class sam.core.Settings.Distribution
String[] of all license files
limit - Variable in class sam.event.ProgressEvent.Statistics
Number of bytes to be achieved
limitSizeString() - Method in class sam.event.ProgressEvent.Statistics
Gets the number of bytes already achieved in a human-readable format
LINE_LENGTH - Static variable in class sam.core.Settings.Constants.UI.Text
Maximum length of a text-base progress event line
List - class sam.entry.List.
Static enumerator.
List(Entry[]) - Constructor for class sam.entry.List
Makes a list from specified entries array.
List(Entry[], int, int) - Constructor for class sam.entry.List
Makes a list from specified entries array portion.
List(InputStream) - Constructor for class sam.entry.List
Make a list from file names list read from an input stream.
list(ModusOperandi) - Method in class sam.entry.Entry
Lists this entry in Unix-like format.
List(String[]) - Constructor for class sam.entry.List
Make a list from file names list.
LISTING - Static variable in class sam.rules.ModusOperandi
Listing mode of operation.
load() - Static method in class sam.core.Settings.Startup
Loads various classes (and thus executes their static initializers
load(DataInputStream) - Method in class sam.io.Tracker
Reloads this tracker state
load(DataInputStream) - Method in class sam.io.ChecksumTracker
Checks the computed checksum and loads that of the next one.
load(InputStream) - Static method in class sam.entry.Enumerator
Restores an Enumerator and statifies it
load(ZipFile) - Method in class sam.rules.Syntax
Loads a Rule from specified archive
load(ZipFile) - Method in class sam.rules.Syntax.Resource
 
load(ZipFile) - Method in class sam.rules.SyntaxSet
Loads syntaxes from specified archive
loadFullCatalog(File) - Static method in class sam.core.ArchiveLayout
Loads the full catalog of specified archive, including files contained in imported archives.
LOG_EXPANSIONS - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a log whenever a key is turncated to match a ciphers specific key size.
LOG_INDENTATION - Static variable in class sam.core.Settings.Constants
Tabulation string to be used to indent log messages according to their depth.
LOG_KEY_INSTANTIATION - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a log whenever a new key is created.
LOG_KEY_MATERIAL_LENGTH - Static variable in class sam.core.Settings.Constants.Key
Wether to include effective key material length while logging key instantiation.
LOG_LENGTH - Static variable in class sam.core.Settings.Constants.UI.AWT
Default maximal length of log buffer of the awt-based user interface
LOG_LEVEL - Static variable in class sam.core.Settings.Defaults
Default log level.
LOG_PREFIX - Static variable in class sam.core.Settings.Defaults
Prefix of all log messages.
LOG_TRUNCATIONS - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a log whenever a key is turncated to match a ciphers specific key size.
LOG_WINDOW_SIZE - Static variable in class sam.core.Settings.Constants.UI.AWT
Immutable dimension of the main progress window.
log() - Method in class sam.ui.UserInterface
 
log() - Method in class sam.ui.text.UserInterface
 
log() - Method in class sam.ui.basic.UserInterface
 
log() - Method in class sam.ui.awt.UserInterface
 
log(int, Class, String) - Method in class sam.ui.LogInterface
Logs a new event.
log(String) - Method in class sam.ui.LogInterface
Actually handles a log message.
log(String) - Method in class sam.ui.awt.LogInterface
 
LogInterface - class sam.ui.LogInterface.
General purpose log interface.
LogInterface - class sam.ui.awt.LogInterface.
Pluggable AWT-based log interface
LogInterface.LogLevelInput - class sam.ui.awt.LogInterface.LogLevelInput.
Simple log-level scroll bar.
LogInterface.LogLevelInput(int, int, int) - Constructor for class sam.ui.awt.LogInterface.LogLevelInput
Builds a new log level input
LogInterface() - Constructor for class sam.ui.LogInterface
 
LogInterface() - Constructor for class sam.ui.awt.LogInterface
Builds a new log interface
Loki - class sam.cipher.Loki.
Implementation of the Loki97 Retrofitted for personal use by Guillaume Lacôte.
Loki.Key - class sam.cipher.Loki.Key.
Key implementation that is adapted to the Loki cipher.
Loki.Key(long[]) - Constructor for class sam.cipher.Loki.Key
Mandatory constructor implementation.
Loki(Key) - Constructor for class sam.cipher.Loki
 
longestPath() - Method in class sam.io.Huffman
 

M

MAIL_POSTMASTER_PRIORITY - Static variable in class sam.core.Settings.Constants
Scheduling priority of mailbox post agents
Mailbox - class sam.toolkit.Mailbox.
This class implements an asynchronous mailbox.
Mailbox.Reader - interface sam.toolkit.Mailbox.Reader.
General type for mail readers
Mailbox() - Constructor for class sam.toolkit.Mailbox
Builds a new Mailbox.
main - class sam.main.
Simple main wrapper.
main() - Constructor for class sam.main
 
main(String[]) - Static method in class sam.io.Huffman
Main executable code.
main(String[]) - Static method in class sam.io.ParallelIO
 
main(String[]) - Static method in class sam.main
 
main(String[]) - Static method in class sam.ui.UserInterface
Simple test code Loads a user interface and performs basic tests on it Syntax is java sam.ui.UserInterface [user-interface]
main(String[]) - Static method in class sam.cipher.Cipher
Tests all registered ciphers implementations.
main(String[]) - Static method in class sam.cipher.Benchmark
 
main(String[]) - Static method in class sam.toolkit.Random
 
main(String[]) - Static method in class sam.toolkit.Workshop
Sample test code.
main(String[]) - Static method in class sam.toolkit.Mailbox
Sample mailbox test code.
make(long[], boolean) - Method in class sam.cipher.Factory
Instantiates a new Cipher implementation.
make(long[], boolean) - Method in class sam.cipher.ReflexiveFactory
Builds a new cipher instance through constructors found by introspection.
make(long[], boolean) - Method in class sam.cipher.WarFactory
Instantiates a new WarFactory.War cipher.
make(String, String) - Static method in class sam.io.PrintTrace
Creates an adequate printable trace.
makeManifest() - Static method in class sam.core.Settings.Distribution
Builds a manifest file set to boot on the main boot class.
makeManifest(Class) - Static method in class sam.core.Settings.Distribution
Builds a manifest file set to boot on specified boot class.
mangleFileName(String, File) - Static method in class sam.entry.Entry
Mangles a native file name to an Entry path.
MANIFEST - Static variable in class sam.core.ArchiveLayout
Manifest used for archive.
Mars - class sam.cipher.Mars.
Implementation of the MARS cipher.
Mars.Key - class sam.cipher.Mars.Key.
Key implementation that is adapted to the Mars cipher.
Mars.Key(long[]) - Constructor for class sam.cipher.Mars.Key
Mandatory constructor implementation.
Mars(Key) - Constructor for class sam.cipher.Mars
 
mask - Variable in class sam.cipher.Key
Mask for keeping only the significant bits of a long.
MAXIMUM_BLOCK_SIZE - Static variable in class sam.core.Settings.Constants
The maximum block size in kilobytes
MAXIMUM_LOG_LEVEL - Static variable in class sam.core.Settings.Constants
The maximum log level
merge(String[][]) - Static method in class sam.toolkit.Text
 
mergeBytes(int, int) - Static method in class sam.io.DoubleByte
 
message - Variable in class sam.event.FileEvent
A message describing this event in a human-readable format
MICROSOFT_DISLAIMER - Static variable in class sam.core.Settings.Environment
Security disclaimer for users of Microsoft operating system.
MINIMUM_LOG_LEVEL - Static variable in class sam.core.Settings.Constants
The minimum log level
MISMATCHING - Static variable in class sam.event.FileEventNotifier
Notification type for mismatching entry events
mismatching(FileEvent) - Method in class sam.event.FileEventAdapter
Called whenever a file does not match its archived version
mismatching(FileEvent) - Method in class sam.event.FileEventWriter
Called whenever a file does not match its archived version
mismatching(FileEvent) - Method in class sam.event.FileEventListener
Called whenever a file does not match its archived version
MismatchingChecksumException - exception sam.io.MismatchingChecksumException.
Exception thrown whenever the computed checksum does not match the required one.
MismatchingChecksumException(Checksum, long) - Constructor for class sam.io.MismatchingChecksumException
Builds a new MismatchingChecksumException
MISSING - Static variable in class sam.event.FileEventNotifier
Notification type for missing entry events
missing(FileEvent) - Method in class sam.event.FileEventAdapter
Called whenever a file is missing
missing(FileEvent) - Method in class sam.event.FileEventWriter
Called whenever a file is missing
missing(FileEvent) - Method in class sam.event.FileEventListener
Called whenever a file is missing
mix() - Method in class sam.io.Mixer.OutputStream
 
Mixer - class sam.io.Mixer.
Class for mixing streams with garbage bytes.
MIXER - Static variable in class sam.core.ArchiveLayout
The (long:"garbageBytes",long:"dataBytes")* Mixing trace
Mixer.InputStream - class sam.io.Mixer.InputStream.
Inner-class for transparently unmixing an mixed stream
Mixer.InputStream(InputStream) - Constructor for class sam.io.Mixer.InputStream
 
Mixer.OutputStream - class sam.io.Mixer.OutputStream.
Inner-class for transparently mixing a stream The trace is stored back in the outer Mixer instance once the close() method is called
Mixer.OutputStream(OutputStream) - Constructor for class sam.io.Mixer.OutputStream
 
Mixer() - Constructor for class sam.io.Mixer
 
ModusOperandi - class sam.rules.ModusOperandi.
Class describing what has to be done and how to do it.
ModusOperandi.Opus - class sam.rules.ModusOperandi.Opus.
Class defining which mode of operation is required: typically one of "archiving", "extracting", etc.
ModusOperandi.Opus(String) - Constructor for class sam.rules.ModusOperandi.Opus
 
ModusOperandi() - Constructor for class sam.rules.ModusOperandi
 
MULTI_THREADED_BLOCK_SIZE - Static variable in class sam.core.Settings.Constants
Block size to be used for parallel I/O computations.
Multiple - class sam.entry.Multiple.
Easy "tee" on entry enumerators
Multiple(Enumerator, Enumerator) - Constructor for class sam.entry.Multiple
 
MultiThreadedByteArrayFilter - class sam.io.MultiThreadedByteArrayFilter.
Class for filtering byte[] arrays using multiple threads in parallel to increase performance.
MultiThreadedByteArrayFilter(ByteArrayFilter, Workshop, int) - Constructor for class sam.io.MultiThreadedByteArrayFilter
 

N

name - Variable in class sam.io.Packer
The name of this packer
name - Variable in class sam.io.Tracker
The name of this tracker
name - Variable in class sam.io.PrintTrace
Name of this trace, e.g.
name - Variable in class sam.core.ArchiveLayout.Resource
The entry name of this resource
name - Variable in class sam.rules.Syntax
The name of this single Syntax element
name - Variable in class sam.rules.ModusOperandi.Opus
 
name - Variable in class sam.entry.Entry
Actual name of this entry.
name - Variable in class sam.cipher.Factory
The code name of this cipher
name - Variable in class sam.cipher.Specification
The choosen cipher name
name() - Method in class sam.rules.UnixLikeSyntaxSet
 
name() - Method in class sam.rules.SyntaxSet
Gets the name of this syntax set
name() - Method in class sam.toolkit.ClassRegistry
Gets the name of the gurrent target
NamedClassRegistry - class sam.toolkit.NamedClassRegistry.
Class registry that keeps trace of registration names associated to specific names.
NamedClassRegistry(Class, String) - Constructor for class sam.toolkit.NamedClassRegistry
Builds a new NamedClassRegistry for specified base type and specified description.
NameFilter - class sam.entry.NameFilter.
Name filtering class.
NameFilter.Comparator - class sam.entry.NameFilter.Comparator.
Basic derivation of an order.
NameFilter.Comparator() - Constructor for class sam.entry.NameFilter.Comparator
 
NameFilter.Wildcards - class sam.entry.NameFilter.Wildcards.
Standard wild-characters regular expansion.
NameFilter.Wildcards(char, char, boolean) - Constructor for class sam.entry.NameFilter.Wildcards
Builds a new wildcards-based name filter
NameFilter() - Constructor for class sam.entry.NameFilter
 
NEVER - Static variable in class sam.ui.awt.Dialog
Alias of the "NEVER" button
newerFiles() - Method in class sam.rules.ModusOperandi
 
NEWLY_REGISTERED_CLASS_IS_AUTOMATICALLY_SET - Static variable in class sam.core.Settings.Constants
Wether each newly registered class should automatically be set the active class.
next() - Method in class sam.toolkit.Random.IntegerSetRandomizer
Gets the next integer to enumerate
nextBoolean() - Static method in class sam.toolkit.Random
Draws a boolean randomly.
nextByte() - Static method in class sam.toolkit.Random
Draws a byte randomly.
nextDataChunkLength(long) - Method in class sam.io.Mixer
Sets the next data chunk length, in bytes.
nextElement() - Method in class sam.entry.Enumerator
 
nextElement() - Method in class sam.toolkit.Random.IntegerSetRandomizer
Gets the next element to enumerate
nextEntry() - Method in class sam.entry.Enumerator
Gets next entry, or null if none
nextEntry() - Method in class sam.entry.FileSystem
 
nextEntry() - Method in class sam.entry.List
 
nextEntry() - Method in class sam.entry.Multiple
 
nextHex(int) - Static method in class sam.toolkit.Random
Draws an hexadecimal sequence of specified length.
nextInt() - Static method in class sam.toolkit.Random
Draws an integer randomly.
nextInt(int) - Static method in class sam.toolkit.Random
Draws an integer randomly in the range 0, limit - 1.
nextLong() - Static method in class sam.toolkit.Random
Draws a long integer randomly.
nextLong(long) - Static method in class sam.toolkit.Random
Draws a long integer randomly in the range 0, limit - 1.
NO - Static variable in class sam.ui.awt.Dialog
Alias of the "NO" button
NO_TIME_LIMIT - Static variable in class sam.ui.awt.Dialog
Special time duration specifying no time limit at all
NON_SELECTABLE_TYPE - Static variable in class sam.rules.Syntax
Special switch type for abstract syntactic elements that are not really user-selectable
NOTHING - Static variable in class sam.ui.awt.Dialog
Result state specifying that no button has been choosen
notifier() - Method in class sam.rules.ModusOperandi
 
notify(FileEvent, FileEventListener) - Method in class sam.event.FileEventNotifier.NotificationType
Notifies specified listener of specified event.
notifyAll(FileEventNotifier.NotificationType, Entry, String) - Method in class sam.event.FileEventNotifier
Notifies all registered listeners of specified event
notifyAll(FileEventNotifier.NotificationType, FileEvent) - Method in class sam.event.FileEventNotifier
Notifies all registered listeners of specified event
notifyEncoded(long) - Method in class sam.event.ProgressEventNotifier
Notifies more bytes of encoded data to have been processed.
notifyListeners() - Method in class sam.event.ProgressEventNotifier
Notifies all registered listeners of the current progress state Note that notification is asynchronous.
notifyNextEntry(Entry) - Method in class sam.event.ProgressEventNotifier
Notifies a new entry being processed.
notifyPlain(long) - Method in class sam.event.ProgressEventNotifier
Notifies more bytes of plain data to have been processed This is called automatically by inner input/output streams
notifyRead(long) - Method in class sam.event.ProgressEventNotifier.PlainInputStream
 
notifyRead(long) - Method in class sam.event.ProgressEventNotifier.EncodedInputStream
 
notifyWritten(long) - Method in class sam.event.ProgressEventNotifier.PlainOutputStream
 
notifyWritten(long) - Method in class sam.event.ProgressEventNotifier.EncodedOutputStream
 
NULL_OUTPUT - Static variable in class sam.io.IO
Basic null output.
numberOfCurrentEntry - Variable in class sam.event.ProgressEvent
The number of the current entry
numberOfLeaves() - Method in class sam.io.Huffman
 
numberOfNodes() - Method in class sam.io.Huffman
 
numberOfRounds - Variable in class sam.cipher.WarFactory.Key
The number of rounds issuable through these bits
numberOfRounds() - Method in class sam.cipher.WarFactory.Key
Gets the number of rounds to be processed by this key.
numberOfWorkers() - Method in class sam.toolkit.Workshop
 
numberOfWrittenBytes() - Method in class sam.io.ByteCountOutputStream
 

O

OCTAL - Static variable in class sam.cipher.Key
One char (0,1,..,7) issues 3 bits
off() - Method in class sam.ui.awt.SwitchButton
Called whenever this button is turned off
OK - Static variable in class sam.ui.awt.Dialog
Alias of the "OK" button
on() - Method in class sam.ui.awt.SwitchButton
Called whenever this button is turned on
oneMore() - Method in class sam.io.Huffman.Leaf
Increments the weight of this leaf by one.
OPEN - Static variable in class sam.ui.awt.Dialog
Alias of the "OPEN" button
open(ModusOperandi, InputStream) - Method in class sam.core.Unstorer
Opens the encoded data and turns it to a plain data stream
open(ModusOperandi, JarOutputStream) - Method in class sam.core.Storer
Opens an entry of the archive to write plain data into.
openArchive(File, File) - Method in class sam.core.Unstorer
Opens the encoded data from the archive.
OPERATING_SYSTEM - Static variable in class sam.core.Settings.Environment
The operating system the current VM is running under
OPERATING_SYSTEM_VERSION - Static variable in class sam.core.Settings.Environment
The operating system version the current VM is running under
out() - Method in class sam.io.PrintTrace
Gets the output writer of this trace.
output(OutputStream) - Method in class sam.io.Huffman
Stream for encoding 8 bits huffman-encoded data
output(OutputStream) - Method in class sam.io.Huffman8
Stream for encoding 8 bits huffman-encoded data
output(OutputStream) - Method in class sam.io.Huffman16
Stream for encoding 16 bits huffman-encoded data
outputDirectory() - Method in class sam.rules.ModusOperandi
 
overwrite(FileEventNotifier, File) - Method in class sam.entry.Entry
Gets an OutputStream ready for writing this entry into specific directory.
OVERWRITING - Static variable in class sam.rules.ModusOperandi
Overwriting mode of operation.
OVERWRITTEN - Static variable in class sam.event.FileEventNotifier
Notification type for overwritten entry events
overwritten(FileEvent) - Method in class sam.event.FileEventAdapter
Called whenever a file is overwritten
overwritten(FileEvent) - Method in class sam.event.FileEventWriter
Called whenever a file is overwritten
overwritten(FileEvent) - Method in class sam.event.FileEventListener
Called whenever a file is overwritten

P

Packer - class sam.io.Packer.
Generic class for packing and unpacking data.
PACKER - Static variable in class sam.core.ArchiveLayout
The plain text name of the packer used
PACKER - Static variable in class sam.core.Settings.Defaults
Default packer.
packer() - Method in class sam.rules.ModusOperandi
 
Packer(String, String) - Constructor for class sam.io.Packer
Builds a new Packer
paint(Graphics) - Method in class sam.ui.awt.ProgressBar
Repaints this progress bar.
paintBars(Graphics) - Method in class sam.ui.awt.ProgressBar
Paints the inner bars.
paintBorders(Graphics) - Method in class sam.ui.awt.ProgressBar
Paints the border of the progress bar.
paintText(Graphics) - Method in class sam.ui.awt.ProgressBar
Paints the text onto the progress bar
ParallelIO - class sam.io.ParallelIO.
Multi-threaded implementation of InputStream and OutputStream
PARALLELIO_PARANOIAC - Static variable in class sam.core.Settings.Constants
Wether to add expensive but failsafe tests during parallel I/O operations.
ParallelIO.Exception - exception sam.io.ParallelIO.Exception.
Exception thrown in case of errors in ParallelIO
ParallelIO.Exception() - Constructor for class sam.io.ParallelIO.Exception
 
ParallelIO.Exception(String) - Constructor for class sam.io.ParallelIO.Exception
 
ParallelIO.GatherInputStream - class sam.io.ParallelIO.GatherInputStream.
Class for gathring buffered writes from multiple threads.
ParallelIO.GatherInputStream(InputStream) - Constructor for class sam.io.ParallelIO.GatherInputStream
 
ParallelIO.GatherOutputStream - class sam.io.ParallelIO.GatherOutputStream.
Class for gathring buffered writes from multiple threads.
ParallelIO.GatherOutputStream(OutputStream) - Constructor for class sam.io.ParallelIO.GatherOutputStream
 
ParallelIO.IOProcessor - class sam.io.ParallelIO.IOProcessor.
Abstraction for processors which actually do the job
ParallelIO.IOProcessor() - Constructor for class sam.io.ParallelIO.IOProcessor
 
ParallelIO.ScatterInputStream - class sam.io.ParallelIO.ScatterInputStream.
Class for scattering buffered reads accross multiple threads.
ParallelIO.ScatterInputStream(InputStream, Workshop) - Constructor for class sam.io.ParallelIO.ScatterInputStream
 
ParallelIO.ScatterOutputStream - class sam.io.ParallelIO.ScatterOutputStream.
Class for scattering buffered writes accross multiple threads.
ParallelIO.ScatterOutputStream(OutputStream, Workshop) - Constructor for class sam.io.ParallelIO.ScatterOutputStream
 
ParallelIO() - Constructor for class sam.io.ParallelIO
 
parse(String) - Method in class sam.rules.Syntax
Parses a command-line supplied switch This is a failsafe wrapper to Syntax.doParse(java.lang.String)
parse(String[]) - Method in class sam.rules.SyntaxSet
Parses a command-line and imports specified fields
parse(String, Key.Mode, int) - Static method in class sam.cipher.Key
Parses a String passphrase to a long[] array key material.
parseInteger(String) - Static method in class sam.toolkit.Text
Parses an integer, or returns zero if incorrectly formatted
parseInteger(String, int) - Static method in class sam.toolkit.Text
Parses an integer, or returns defaultValue if incorrectly formatted
parseInteger(String, String, int, int) - Method in class sam.rules.Syntax
Shortcut for easily parsing an integer
password - Variable in class sam.cipher.Specification
The choosen password
path() - Method in class sam.event.FileEvent
Gets the relative path of the file concerned by this event.
PLAIN - Static variable in class sam.cipher.Key
One char issues 6 bits.
PLAIN_BAR_COLOR - Static variable in class sam.core.Settings.Constants.UI.AWT
Plain progress bar color
post(Object) - Method in class sam.toolkit.Mailbox
Posts one more mail
post(String) - Static method in class sam.ui.LogInterface
Posts a new log message Message processing is asynchronous
PREEXTRACT_DATA - Static variable in class sam.core.Settings.Constants
Wether to pre-extract data from archive before unstoring.
preextract(InputStream, File) - Static method in class sam.io.IO
Pre-extracts data.
PREFERENCES - Static variable in class sam.core.Settings.Constants.UI
The decreasing ordered list of the preferred user interfaces
PRINT_COMPRESSION_RATIO - Static variable in class sam.core.Settings.Constants.UI.AWT
Wether to print compression ratio
print(String) - Method in class sam.ui.RunningInterface
Prints a message to inform the user of something normal.
print(String, String) - Method in class sam.ui.RunningInterface
Prints a message to inform the user of something normal.
printComment(String) - Method in class sam.core.Unstorer
Prints the comment, if any.
println(PrintStream) - Method in class sam.entry.Enumerator
Lists entries names
println(PrintWriter) - Method in class sam.entry.Enumerator
Lists entries names
printTo(PrintWriter) - Method in class sam.event.FileEvent
Prints this event onto specified Writer
PrintTrace - class sam.io.PrintTrace.
Standard output trace.
Process - class sam.toolkit.Process.
General-purpose utility class grouping various tools concerning processes, threads and VM.
process() - Method in class sam.io.ParallelIO.IOProcessor
Here the real job
process(ModusOperandi) - Method in class sam.core.Storer
 
process(ModusOperandi) - Method in class sam.core.Unstorer
 
process(ModusOperandi) - Method in class sam.rules.ModusOperandi.Opus
 
process(RuleSet) - Method in class sam.rules.ModusOperandi
Processes specified rule set
PROCESSED - Static variable in class sam.event.FileEventNotifier
Notification type for failed entry events
processed(FileEvent) - Method in class sam.event.FileEventAdapter
Called whenever a file is processed
processed(FileEvent) - Method in class sam.event.FileEventWriter
Called whenever a file is processed
processed(FileEvent) - Method in class sam.event.FileEventListener
Called whenever a file is processed
PROGRAM_BINARY - Static variable in class sam.core.Settings.Environment
The command-line prefix to run the program This looks like "java sam.main"
PROGRAM_NAME - Static variable in class sam.core.Settings.Environment
 
PROGRAM_VERSION - Static variable in class sam.core.Settings.Environment
SAM version, currently 0.92 (encoded as the 92 integer)
programDescription() - Static method in class sam.core.Settings.Environment
A human-readable description of the program and its environment
programVersion() - Static method in class sam.core.Settings.Environment
SAM version, as a human-readable String
PROGRESS_BAR_LENGTH - Static variable in class sam.core.Settings.Constants.UI.Text
The displayed name length of entries in the text-based user interface
PROGRESS_ENCODED_GRANULARITY - Static variable in class sam.core.Settings.Constants
The granularity of encoded data commitment.
PROGRESS_PLAIN_GRANULARITY - Static variable in class sam.core.Settings.Constants
The granularity of plain data commitment.
PROGRESS_WINDOW_SIZE - Static variable in class sam.core.Settings.Constants.UI.AWT
Immutable dimension of the main progress window.
progress() - Method in class sam.event.EventNotifier
The ProgressEvent notifier
progress(ProgressEvent) - Method in interface sam.event.ProgressEventListener
Notifies of current progress
progress(ProgressEvent) - Method in class sam.ui.text.ProgressEventListener
This outputs progress information one line per entry.
progress(ProgressEvent) - Method in class sam.ui.awt.ProgressEventListener
This prints progress information in a not-so-beautiful way.
ProgressBar - class sam.ui.awt.ProgressBar.
Double-index progress-bar.
ProgressBar() - Constructor for class sam.ui.awt.ProgressBar
Builds a new progress bar.
ProgressEvent - class sam.event.ProgressEvent.
Class summarizing informations about the current progress state.
ProgressEvent.Statistics - class sam.event.ProgressEvent.Statistics.
Partial statistics
ProgressEventListener - interface sam.event.ProgressEventListener.
Generic type of ProgressEvent listeners
ProgressEventListener - class sam.ui.text.ProgressEventListener.
Text-based progress event listener This outputs progress information one line per entry.
ProgressEventListener - class sam.ui.awt.ProgressEventListener.
AWT-based implementation of a ProgressEventListener
ProgressEventNotifier - class sam.event.ProgressEventNotifier.
Class for dispatching ProgressEvent through registered ProgressEventListeners.
ProgressEventNotifier.EncodedInputStream - class sam.event.ProgressEventNotifier.EncodedInputStream.
Instance inner-class for notifying the number of bytes read from an encoded InputStream.
ProgressEventNotifier.EncodedInputStream(InputStream) - Constructor for class sam.event.ProgressEventNotifier.EncodedInputStream
 
ProgressEventNotifier.EncodedOutputStream - class sam.event.ProgressEventNotifier.EncodedOutputStream.
Instance inner-class for notifying the number of encoded bytes written to an OutputStream.
ProgressEventNotifier.EncodedOutputStream(OutputStream) - Constructor for class sam.event.ProgressEventNotifier.EncodedOutputStream
 
ProgressEventNotifier.PlainInputStream - class sam.event.ProgressEventNotifier.PlainInputStream.
Instance inner-class for notifying the number of bytes read from a plain InputStream.
ProgressEventNotifier.PlainInputStream(InputStream) - Constructor for class sam.event.ProgressEventNotifier.PlainInputStream
 
ProgressEventNotifier.PlainOutputStream - class sam.event.ProgressEventNotifier.PlainOutputStream.
Instance inner-class for notifying the number of plain bytes written to an OutputStream.
ProgressEventNotifier.PlainOutputStream(OutputStream) - Constructor for class sam.event.ProgressEventNotifier.PlainOutputStream
 
ProgressEventNotifier() - Constructor for class sam.event.ProgressEventNotifier
Builds a new ProgressEvent notifier.
put(JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Opens this Resource from specified archive
put(Object) - Method in class sam.toolkit.Fifo
Adds one more object to this FifoputBytes(byte[], JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Writes this Resource line-by-line as a byte[] array
putInputStream(InputStream, JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Writes this Resource as an InputStream
putInt(int, JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Writes this Resource as a int number
putLong(long, JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Writes this Resource as a long number
putNextEntry(JarOutputStream, String, int) - Static method in class sam.io.IO
Creates a new entry in a Jar archive
putRuntime(JarOutputStream) - Method in class sam.core.ArchiveLayout.Runtime
 
putString(String, JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Writes this Resource as a String
putStrings(String[], JarOutputStream) - Method in class sam.core.ArchiveLayout.Resource
Writes this Resource line-by-line as a String[] array
putVersion(JarOutputStream) - Method in class sam.core.ArchiveLayout.LayoutVersion
 

Q

QUESTION - Static variable in class sam.ui.awt.Dialog
Combined mode of for question dialog This is the combination of YES and NO buttons

R

Random - class sam.toolkit.Random.
Random numbers generator.
RANDOM_GENERATOR_CONSUMER_LIFETIME - Static variable in class sam.core.Settings.Constants
Lifetime of the random consumer thread.
Random.IntegerSetRandomizer - class sam.toolkit.Random.IntegerSetRandomizer.
Class for randomizing over fixed integer sets.
Random.IntegerSetRandomizer(int) - Constructor for class sam.toolkit.Random.IntegerSetRandomizer
Builds a new randomly choosen permutation on a range of integers.
Random.IntegerSetRandomizer(int[]) - Constructor for class sam.toolkit.Random.IntegerSetRandomizer
Builds a new randomly choosen permutation on a range of weighted integers.
Random() - Constructor for class sam.toolkit.Random
 
RandomMixer - class sam.io.RandomMixer.
Basic pseudo-random implementation of a mixer.
RandomMixer(float, float, float, float) - Constructor for class sam.io.RandomMixer
Builds a new RandomMixer instance, with values as float in the range 0.01..0.99
RandomMixer(String) - Constructor for class sam.io.RandomMixer
 
RandomMixer(String, String) - Constructor for class sam.io.RandomMixer
 
RandomMixer(String, String, String) - Constructor for class sam.io.RandomMixer
 
RandomMixer(String, String, String, String) - Constructor for class sam.io.RandomMixer
Builds a new RandomMixer instance, with values as String coding integers in the range 1..99
ranged(int, int, int) - Static method in class sam.cipher.Factory
Ensures a size fits in specified range.
ratio() - Method in class sam.io.Huffman
 
RC6 - class sam.cipher.RC6.
Implementation of the RC6 cipher.
RC6.Key - class sam.cipher.RC6.Key.
Key implementation that is adapted to the RC6 cipher.
RC6.Key(long[]) - Constructor for class sam.cipher.RC6.Key
Mandatory constructor implementation.
RC6(Key) - Constructor for class sam.cipher.RC6
 
read() - Method in class sam.io.Huffman.LeafInputStream
Uncompresses next pattern from a Huffman-compressed stream.
read() - Method in interface sam.io.DoubleByte.Reader
 
read() - Method in class sam.io.DoubleByte.InputStreamReader
 
read() - Method in class sam.io.DoubleByte.ReaderInputStream
 
read() - Method in class sam.io.Mixer.InputStream
 
read() - Method in class sam.io.ByteArrayFilter.InputStream
 
read() - Method in class sam.io.BitInputStream
 
read() - Method in class sam.io.ParallelIO.ScatterInputStream
Simply reads one byte from the underlying stream
read() - Method in class sam.io.ParallelIO.GatherInputStream
Simply reads one byte from the underlying stream
read(byte[], int, int) - Method in class sam.io.Mixer.InputStream
Reads plain bytes of data.
read(byte[], int, int) - Method in class sam.io.ByteArrayFilter.InputStream
 
read(byte[], int, int) - Method in class sam.io.ParallelIO.ScatterInputStream
Scatters reads on multiple threads from the underlying stream
read(byte[], int, int) - Method in class sam.io.ParallelIO.GatherInputStream
Scatters reads on multiple threads from the underlying stream
read(FileEventNotifier) - Method in class sam.entry.Entry
Gets an InputStream ready for reading the file corresponding the this entry.
read(Object) - Method in interface sam.toolkit.Mailbox.Reader
Reads one mail
READABLE_DIRECTORY - Static variable in class sam.ui.RulingInterface
Access mode for a readable and traversable directory
READABLE_FILE - Static variable in class sam.ui.RulingInterface
Access mode for a readable file
READABLE_FILE_OR_DIRECTORY - Static variable in class sam.ui.RulingInterface
 
reader - Variable in class sam.io.DoubleByte.ReaderInputStream
 
readFully(InputStream) - Static method in class sam.io.IO
Loads a full stream to memory
readGarbageChunk(InputStream, long) - Method in class sam.io.Mixer
Reads garbage data from the stream.
readGarbageChunk(InputStream, long) - Method in class sam.io.RandomMixer
 
readGarbageChunk(InputStream, long) - Method in class sam.io.HuffmanMixer
 
reallyDoClose() - Method in class sam.io.CloseAvoiderOutputStream
Really closes the stream
recognizesSwitch(char) - Method in class sam.rules.Syntax
Wether this syntax element recognizes proposed switch type
redundancy - Variable in class sam.io.RandomMixer
Actual redundancy factor
ReflexiveFactory - class sam.cipher.ReflexiveFactory.
Implementation of a Cipher factory based on reflection.
ReflexiveFactory(Class, String, String) - Constructor for class sam.cipher.ReflexiveFactory
Makes a new registration entry for a cipher.
ReflexiveFactory(String) - Constructor for class sam.cipher.ReflexiveFactory
Builds a new reflexive Cipher factory based on the supposedly existing outer class.
ReflexiveFactory(String, String) - Constructor for class sam.cipher.ReflexiveFactory
Builds a new reflexive Cipher factory based on the supposedly existing outer class.
register(Class, String) - Static method in class sam.ui.UserInterface
Registers a new UserInterface as name
register(Class, String) - Method in class sam.toolkit.ClassRegistry
Registers a new target as name
register(Class, String) - Method in class sam.toolkit.NamedClassRegistry
Registers a new target as name
register(Factory) - Method in class sam.cipher.Registry
Registers a new Cipher class.
register(FileEventListener) - Method in class sam.event.FileEventNotifier
Registers a new FileEvent listener
register(ParallelIO.IOProcessor) - Static method in class sam.io.ParallelIO
Registers specified IOProcessor as the current one
register(ProgressEventListener) - Method in class sam.event.ProgressEventNotifier
Registers a new ProgressEvent listener
registeredTargets() - Method in class sam.toolkit.ClassRegistry
Gets the list of all registered objects
Registry - class sam.cipher.Registry.
Central repository of all Cipher implementations
REGISTRY - Static variable in class sam.ui.UserInterface
Class registry in charge of registring and lazily instantiating UserInterfaces
REGISTRY - Static variable in class sam.rules.SyntaxSet
Registry of all defined SyntaxSet Subclasses should include a static statement like
REGISTRY - Static variable in class sam.cipher.Cipher
Central registry of all known cipher implementations.
Registry() - Constructor for class sam.cipher.Registry
 
remove(Component) - Method in class sam.ui.awt.GrowableGrid
 
removeAll() - Method in class sam.ui.awt.GrowableGrid
 
removeAllSpecifications() - Method in class sam.ui.awt.CipherInputField.SpecificationsList
Clears the cipher stack.
removedFiles() - Method in class sam.rules.ModusOperandi
 
removeDuplicates(Comparator) - Method in class sam.entry.List
Removes duplicate entries from a sorted files list.
removeDuplicates(NameFilter) - Method in class sam.entry.List
Removes duplicates file specification.
replace(String, String, String) - Static method in class sam.toolkit.Text
Replaces all occurences of a pattern in a text
requestToken() - Method in class sam.io.ParallelIO.IOProcessor
Requests this processor's token be allowed to be processed
requestToken(long) - Method in class sam.io.ParallelIO
Waits for specified token be ready to be processed
reset() - Method in class sam.io.Huffman
Resets the Huffman tree into a fully well-balanced one.
reset() - Method in class sam.io.ByteCountOutputStream
 
reset() - Method in class sam.ui.awt.ProgressBar
Resets this progress bar.
reset() - Method in class sam.entry.List
Restarts the enumeration from the beginning
reset() - Method in class sam.toolkit.ClassRegistry
Resets the current target.
resize(long[]) - Method in class sam.cipher.WarFactory
Resizes key to the uppest lower multiple of keyBits If the current size is larger, the key is truncated.
resizeKey(boolean[], int) - Static method in class sam.cipher.Factory
Resizes key to specified length.
resizeKeyToPreferredSize(boolean[]) - Method in class sam.cipher.Factory
Resizes key to its desired length.
restart() - Static method in class sam.toolkit.Process
 
RESTRICTED_SOURCES - Static variable in class sam.core.Settings.Distribution
String[] of all source files ruled by a dedicated license
right(String, int) - Static method in class sam.toolkit.Text
Shrinks or expands specified text do desired length
Rijndael - class sam.cipher.Rijndael.
Implementation of the Rijndael cipher.
Rijndael.Key - class sam.cipher.Rijndael.Key.
Key implementation that is adapted to the Rijndael cipher.
Rijndael.Key(long[]) - Constructor for class sam.cipher.Rijndael.Key
Mandatory constructor implementation.
Rijndael(Key) - Constructor for class sam.cipher.Rijndael
 
rotate(byte[], int, boolean[]) - Method in class sam.cipher.WarFactory.War
Main permutation routine.
Rule - class sam.rules.Rule.
Class representing one of the rules the program has to follow.
Rule() - Constructor for class sam.rules.Rule
 
RuleSet - class sam.rules.RuleSet.
Class for representing a whole rule set which describe the program to-do list.
RuleSet() - Constructor for class sam.rules.RuleSet
 
ruling() - Method in class sam.ui.UserInterface
 
ruling() - Method in class sam.ui.text.UserInterface
 
ruling() - Method in class sam.ui.basic.UserInterface
 
ruling() - Method in class sam.ui.awt.UserInterface
 
RulingInterface - class sam.ui.RulingInterface.
Generic ruling interface type.
RulingInterface - class sam.ui.text.RulingInterface.
Text-based implementation of a ruling interface
RulingInterface - class sam.ui.awt.RulingInterface.
AWT-based implementation of a RulingInterface
RulingInterface.AccessMode - class sam.ui.RulingInterface.AccessMode.
File access mode
RulingInterface() - Constructor for class sam.ui.RulingInterface
 
RulingInterface() - Constructor for class sam.ui.awt.RulingInterface
 
run() - Method in class sam.io.ParallelIO.IOProcessor
 
run() - Method in class sam.toolkit.Workshop.Worker
 
running() - Method in class sam.ui.UserInterface
 
running() - Method in class sam.ui.text.UserInterface
 
running() - Method in class sam.ui.basic.UserInterface
 
running() - Method in class sam.ui.awt.UserInterface
 
RunningInterface - class sam.ui.RunningInterface.
Generic running interface type.
RunningInterface() - Constructor for class sam.ui.RunningInterface
 
RUNTIME - Static variable in class sam.core.ArchiveLayout
To be included runtime, source and documentation files

S

sam - package sam
Base package of all classes of the application.
SAM_VERSION - Static variable in class sam.core.ArchiveLayout
The long version number of the archive format
sam.cipher - package sam.cipher
Package grouping all ciphering classes
It mainly consists of the Cipher and Key classes which represent abstract ciphers and keys respectively.
sam.core - package sam.core
Package containing the core elements of the application: {@link sam.core.Storer storing]/{@link sam.core.Unstorer unstoring] classes, the archive {@link sam.core.ArchiveLayout file format] and all {@link sam.core.Settings settings] of the applications.
sam.entry - package sam.entry
Package grouping all classes which deal with archive entries and real files.
sam.event - package sam.event
Package grouping events handling.
sam.io - package sam.io
Package grouping all input/output classes.
sam.rules - package sam.rules
Package containing all classes which define the general program semantics.
sam.toolkit - package sam.toolkit
Package grouping several general-purpose utilities.
sam.ui - package sam.ui
Package grouping all classes the user interface consists in.
sam.ui.awt - package sam.ui.awt
Package containing the implementation of the AWT user interface
It consists in the UserInterface class and its associated classes.
sam.ui.basic - package sam.ui.basic
Package containing the implementation of the basic user interface
It only consists in the UserInterface class, but is still taken apart of the rest of the application for the sake of clarity.
sam.ui.text - package sam.ui.text
Package containing the implementation of the basic user interface
It only consists in the UserInterface class and its associated classes, but is still taken apart of the rest of the application for the sake of clarity.
save(DataOutputStream) - Method in class sam.io.Tracker
Saves this tracker state
save(DataOutputStream) - Method in class sam.io.ChecksumTracker
 
saveTo(JarOutputStream) - Method in class sam.rules.Rule
Saves this rule parameter to specified archive
saveTo(JarOutputStream) - Method in class sam.rules.RuleSet
Saves this rule set into specified archive
scan(File, String[]) - Static method in class sam.entry.FileSystem
Scans for file names specifications (wildcards allowed).
scan(String[]) - Static method in class sam.core.Settings.Distribution
Scans all files macthing specifications from the runtime base directory
scan(String[]) - Static method in class sam.entry.FileSystem
Enumerates specified files.
SDK - Static variable in class sam.core.Settings.Distribution
String[] of all files composing the Sam Development Kit
secondByte(int) - Static method in class sam.io.DoubleByte
 
secondWord(String, char) - Static method in class sam.toolkit.Text
Gets the second word of a two-word string
SERIAL_NUMBER - Static variable in class sam.core.ArchiveLayout
The serial number of this archive
Serpent - class sam.cipher.Serpent.
Implementation of the Serpent cipher.
Serpent.Key - class sam.cipher.Serpent.Key.
Key implementation that is adapted to the Serpent cipher.
Serpent.Key(long[]) - Constructor for class sam.cipher.Serpent.Key
Mandatory constructor implementation.
Serpent(Key) - Constructor for class sam.cipher.Serpent
 
set(int, int) - Method in class sam.cipher.Frog.Key.Entry
 
set(String) - Static method in class sam.ui.UserInterface
Sets name as the current user interface.
set(String) - Static method in class sam.rules.SyntaxSet
Sets the syntax set
set(String) - Method in class sam.toolkit.ClassRegistry
Sets name as the current target.
set(SyntaxSet) - Method in class sam.rules.RuleSet
Imports a syntax set
setBest() - Static method in class sam.ui.UserInterface
Sets the best user interface.
setBlockSize(long) - Method in class sam.io.Mixer
Sets the block size.
setEchoChar(char) - Method in class sam.ui.awt.CipherInputField.SpecificationsList
Sets the echo character of passwords input fields In particular the '\0' value turns masking off (which treatens security).
setEncoded(float) - Method in class sam.ui.awt.ProgressBar
Sets the number of encoded bytes processed.
setLevel(int) - Method in class sam.ui.LogInterface
Sets the log level upper limit.
setLevel(int) - Method in class sam.ui.awt.LogInterface
Sets the log level.
setPlain(float) - Method in class sam.ui.awt.ProgressBar
Sets the number of plain bytes processed.
setText(String) - Method in class sam.ui.awt.ProgressBar
Sets the text to be displayed
Settings - class sam.core.Settings.
General-purpose central repository of all constants and default settings of the program.
Settings.Constants - class sam.core.Settings.Constants.
Repository of various constants Changing them does not modify the program semantic but might change its performance/visual behaviour
Settings.Constants.Key - class sam.core.Settings.Constants.Key.
Central repository of settings related to cipher keys.
Settings.Constants.Key() - Constructor for class sam.core.Settings.Constants.Key
 
Settings.Constants.UI - class sam.core.Settings.Constants.UI.
Repository of settings related to user interfaces.
Settings.Constants.UI.AWT - class sam.core.Settings.Constants.UI.AWT.
Repository of all settings related to the text-based user interfaces.
Settings.Constants.UI.AWT() - Constructor for class sam.core.Settings.Constants.UI.AWT
 
Settings.Constants.UI.Text - class sam.core.Settings.Constants.UI.Text.
Repository of all settings related to the text-based user interfaces.
Settings.Constants.UI.Text() - Constructor for class sam.core.Settings.Constants.UI.Text
 
Settings.Constants.UI() - Constructor for class sam.core.Settings.Constants.UI
 
Settings.Constants() - Constructor for class sam.core.Settings.Constants
 
Settings.Defaults - class sam.core.Settings.Defaults.
Central repository of various default values.
Settings.Defaults() - Constructor for class sam.core.Settings.Defaults
 
Settings.Distribution - class sam.core.Settings.Distribution.
Repository for various files distribution policies.
Settings.Distribution() - Constructor for class sam.core.Settings.Distribution
 
Settings.Environment - class sam.core.Settings.Environment.
Repository of various environment-dependant values.
Settings.Environment() - Constructor for class sam.core.Settings.Environment
 
Settings.Startup - class sam.core.Settings.Startup.
Placeholder class for forcing various static initializers as required by the program.
Settings.Startup() - Constructor for class sam.core.Settings.Startup
 
Settings.Stop - class sam.core.Settings.Stop.
Placeholder class for holding various static finalizations.
Settings.Stop() - Constructor for class sam.core.Settings.Stop
 
Settings() - Constructor for class sam.core.Settings
 
setTo(ModusOperandi) - Method in class sam.rules.Rule
Sets this rule parameter to specified modusOperandi
setTo(ModusOperandi) - Method in class sam.rules.RuleSet
Builds a new Command instance
setToBeProcessedFiles(List) - Method in class sam.rules.ModusOperandi
Sets the list of files that actually will be processed.
setTotalNumberOfEntries(int) - Method in class sam.event.ProgressEventNotifier
Sets the total number of Entry that have to be processed
setTotalNumberOfPlainBytes(long) - Method in class sam.event.ProgressEventNotifier
Sets the total number of bytes that have to be processed
setTrace(byte[]) - Method in class sam.io.Mixer
Sets the current mixing trace
setTracker(Tracker) - Method in class sam.io.Mixer
Sets the tracker.
shortestPath() - Method in class sam.io.Huffman
 
show(String) - Method in class sam.ui.awt.LogInterface
Shows the log window.
SHOWING_LOG_ENABLES_IT - Static variable in class sam.core.Settings.Constants.UI.AWT
Wether opening the log window should also enable log
size - Variable in class sam.cipher.WarFactory
Size of the square composing the buffer
size() - Method in class sam.entry.List
Computes the total size of all entries of this enumeration.
size() - Static method in class sam.cipher.Frog.Key.Entry
 
skip(FileEventNotifier, File) - Method in class sam.entry.Entry
Gets an OutputStream ready for skipping this entry.
skip(long) - Method in class sam.io.ByteArrayFilter.InputStream
Trivial although very efficient optimization: do not filter to-be-skipped bytes !
SKIPPED - Static variable in class sam.event.FileEventNotifier
Notification type for skipped entry events
skipped(FileEvent) - Method in class sam.event.FileEventAdapter
Called whenever a file is skipped, for example because it is too old or does not match specified regular expression
skipped(FileEvent) - Method in class sam.event.FileEventWriter
Called whenever a file is skipped, for example because it is too old or does not match specified regular expression
skipped(FileEvent) - Method in class sam.event.FileEventListener
Called whenever a file is skipped, for example because it is too old or does not match specified regular expression
sort() - Method in class sam.entry.List
Sorts this enumeration in lexicographical order.
sort(Comparator) - Method in class sam.entry.List
Sorts this enumeration.
sortAndRemoveDuplicates() - Method in class sam.entry.List
 
sortAndRemoveDuplicates(Comparator) - Method in class sam.entry.List
Sorts and remove duplicates in a sorted files list.
SOURCES - Static variable in class sam.core.Settings.Distribution
String[] of all source files, were they restricted of freely distributable
SPACES - Static variable in class sam.toolkit.StringFactory
Factory of blank strings (i.e.
SPAWN - Static variable in class sam.ui.awt.Dialog
Marker of non-blocking (non-modal) dialogs
Specification - class sam.cipher.Specification.
Class specifying a cipher with its associated password This basically reduces to a pair cipher name, password.
Specification(String) - Constructor for class sam.cipher.Specification
Built a new specification without password.
Specification(String, String) - Constructor for class sam.cipher.Specification
Built a new specification with specified password.
specifies(Entry) - Method in class sam.entry.List
Tests this regular expression against specified entry
specifies(Entry, Entry) - Method in class sam.entry.NameFilter
 
specifies(Entry, NameFilter) - Method in class sam.entry.List
Tests this regular expression against specified entry
specifies(String, String) - Method in class sam.entry.NameFilter
 
specifies(String, String) - Method in class sam.entry.NameFilter.Wildcards
 
split(int, int) - Static method in class sam.io.ParallelIO
Splits n bytes into p parts
split(String, String) - Static method in class sam.toolkit.Text
Splits a String accross specified delimiters
splitLines(String) - Static method in class sam.toolkit.Text
Splits a String accross carriage-return delimiters
SRE - Static variable in class sam.core.Settings.Distribution
String[] of all files composing the Sam Runtime Environment
start() - Method in class sam.event.ProgressEventNotifier
Starts the event postmaster thread.
start() - Static method in class sam.ui.LogInterface
Starts logging.
start(Mailbox.Reader) - Method in class sam.toolkit.Mailbox
Starts the event postmaster thread.
startAsSoonAsPossible(Runnable) - Method in class sam.toolkit.Workshop
Starts specified task as soon as a worker is ready to run it.
startNow(Runnable) - Method in class sam.toolkit.Workshop.Worker
 
statify() - Method in class sam.entry.Enumerator
Builds a static list from remaining entries
STDERR_NAME - Static variable in class sam.core.Settings.Constants
Conventionnal file name designating the standard error
STDIN_IS_SYNCRHONOUS - Static variable in class sam.core.Settings.Environment
Wether the standard input is synchronous, or not
STDOUT_NAME - Static variable in class sam.core.Settings.Constants
Conventionnal file name designating the standard output
stop() - Static method in class sam.ui.LogInterface
Stops logging.
stop() - Method in class sam.toolkit.Mailbox
Stops the mail postmaster thread.
store(byte[], int, int) - Static method in class sam.cipher.Cipher
Stores one int into the first 4 cells starting at byteOffset of a byte[] array.
store(byte[], int, long) - Static method in class sam.cipher.Cipher
Stores one int into the first 4 cells starting at byteOffset of a byte[] array.
store(Enumerator, OutputStream, EventNotifier) - Method in class sam.core.Storer
Stores specified files
store(OutputStream) - Method in class sam.entry.Enumerator
Stores remaining entries
storeAndflush() - Method in class sam.io.BitOutputStream
To be called only on exit, because of possibly remaining bytes !
storeEntry(InputStream, OutputStream, Entry) - Method in class sam.core.Storer
 
Storer - class sam.core.Storer.
General-purpose class implementing the storing procedure.
Storer(String) - Constructor for class sam.core.Storer
 
storeReversed(byte[], int, long) - Static method in class sam.cipher.Cipher
Stores one long into the first 4 cells starting at byteOffset of a byte[] array.
StreamFilter - class sam.io.StreamFilter.
Generic type for I/O stream filters.
StreamFilter() - Constructor for class sam.io.StreamFilter
 
streamTest(String, int, String) - Static method in class sam.cipher.Cipher
Tests a cipher through the complete stream-based mechanism.
StringFactory - class sam.toolkit.StringFactory.
This class is a String factory.
StringFactory(String) - Constructor for class sam.toolkit.StringFactory
Builds a new StringFactory
subArray(Object, int, int) - Static method in class sam.toolkit.Text
Gets a sub-array of an array.
summarize(String, int) - Static method in class sam.toolkit.Text
Shortens a String by cutting it on the right
summarize(String, int, boolean) - Static method in class sam.toolkit.Text
 
SUPPLIED_CIPHERS_IGNORED_IN_EXTRACTING - Static variable in class sam.core.Settings.Constants
Wether command-line ciphers are ginored in extracting mode and replaced by those reloaded from archive.
suspend() - Static method in class sam.toolkit.Process
 
SwitchButton - class sam.ui.awt.SwitchButton.
Simple switchable button (e.g.
SwitchButton(String, String) - Constructor for class sam.ui.awt.SwitchButton
Builds a new switch button.
Syntax - class sam.rules.Syntax.
Class describing a rule.
Syntax.Resource - class sam.rules.Syntax.Resource.
Class for specifications of pure resources that are not user-selectable
Syntax.Resource(String) - Constructor for class sam.rules.Syntax.Resource
 
syntax() - Method in class sam.rules.SyntaxSet
Gets the syntax in an abstract description
Syntax(char, String, String) - Constructor for class sam.rules.Syntax
Builds a new Syntax element
SyntaxError - exception sam.rules.SyntaxError.
Class thrown in case of a syntactic error.
SyntaxError(String) - Constructor for class sam.rules.SyntaxError
 
syntaxes() - Method in class sam.rules.UnixLikeSyntaxSet
 
syntaxes() - Method in class sam.rules.SyntaxSet
Enumerates all Syntax pieces composing this syntax set.
SyntaxSet - class sam.rules.SyntaxSet.
Class representing a whole syntax set.
SyntaxSet() - Constructor for class sam.rules.SyntaxSet
 

T

TEMPORARY_DIRECTORY - Static variable in class sam.core.Settings.Defaults
Default temporary directory Might not be null
TEMPORARY_FILES_SUFFIX - Static variable in class sam.core.Settings.Environment
 
temporaryDirectory() - Method in class sam.rules.ModusOperandi
 
terminate() - Method in class sam.event.ProgressEventNotifier
Notifies the termination of the process.
terminate() - Method in class sam.toolkit.Mailbox
Notifies the termination of the process.
test() - Method in class sam.ui.RunningInterface
Simple test code.
test() - Method in class sam.ui.RulingInterface
Simple test code.
test() - Method in class sam.ui.ErrorInterface
Simple test code.
test() - Method in class sam.ui.LogInterface
Simple test code.
test() - Method in class sam.cipher.Cipher
Tests this cipher's implementation.
Text - class sam.toolkit.Text.
Repository for various low-level utilities functions.
TEXT_BAR_COLOR - Static variable in class sam.core.Settings.Constants.UI.AWT
Text progress bar color
TextAreaWriter - class sam.ui.awt.TextAreaWriter.
Text area writer.
TextAreaWriter() - Constructor for class sam.ui.awt.TextAreaWriter
Builds a new TextArea Writer
TextAreaWriter(int) - Constructor for class sam.ui.awt.TextAreaWriter
Builds a new TextArea Writer
TIME_OUT - Static variable in class sam.ui.awt.Dialog
Result state specifying that the dialog timed out
title - Variable in class sam.core.ArchiveLayout.Resource
A human-readable description of this resource
TO_BE_ARCHIVED_FILES - Static variable in class sam.core.Settings.Defaults
Default file specification for to-be-archived files.
TO_BE_EXTRACTED_FILES - Static variable in class sam.core.Settings.Defaults
Default file specification for to-be-extracted files.
toBytes(long[]) - Static method in class sam.cipher.Key
Converts an array of longs to an array of bytes, without any loss of data.
toFile() - Method in class sam.entry.Entry
Unmangles this Entry path to native file name.
toFile(File) - Method in class sam.entry.Entry
Unmangles this Entry path to native file name.
toHexa(int) - Static method in class sam.toolkit.Text
Converts an int integral number to its hexadecimal representation, without trailing zeros
toHexa(long) - Static method in class sam.toolkit.Text
Converts a long integral number to its hexadecimal representation, without trailing zeros
toLongs(boolean[]) - Static method in class sam.cipher.Key
Converts an array of booleans to an array of longs, without any loss of data.
toLongs(byte[]) - Static method in class sam.cipher.Key
Converts an array of bytes to an array of longs, without any loss of data.
toLongs(char[]) - Static method in class sam.cipher.Key
Converts an array of chars to an array of longs, without any loss of data.
toLongs(int[]) - Static method in class sam.cipher.Key
Converts an array of ints to an array of longs, without any loss of data.
toLongs(short[]) - Static method in class sam.cipher.Key
Converts an array of shorts to an array of longs, without any loss of data.
toPassword() - Method in class sam.cipher.Key
Unparses a key to a passphrase.
toPassword(Key.Mode) - Method in class sam.cipher.Key
Unparses a key to a passphrase.
toString() - Method in class sam.io.Huffman
Gets a formatted representation of this huffman tree.
toString() - Method in class sam.io.Huffman.Leaf
Gets a formatted representation of this huffman tree.
toString() - Method in class sam.io.RandomMixer
 
toString() - Method in class sam.io.PrintTrace
 
toString() - Method in class sam.event.FileEvent
Gets a standardized representation of this event.
toString() - Method in class sam.event.ProgressEvent
 
toString() - Method in class sam.ui.RulingInterface.AccessMode
 
toString() - Method in class sam.core.ArchiveLayout.Resource
 
toString() - Method in class sam.rules.JavaProgram
Makes a command-line like representation of this application and parameters.
toString() - Method in class sam.entry.Entry
Returns a human-readable description of this entry
toString() - Method in class sam.entry.FileSystem
 
toString() - Method in class sam.entry.List
 
toString() - Method in class sam.entry.Multiple
 
toString() - Method in class sam.cipher.Key
Gets a human-readable description of this key.
toString() - Method in class sam.cipher.Specification
Human-readable specification.
toString(Object[]) - Static method in class sam.toolkit.Text
Gets the String representation of an array.
toString(Object[], String) - Static method in class sam.toolkit.Text
Gets the String representation of an array.
toString(Object[], String, String, String) - Static method in class sam.toolkit.Text
Gets the String representation of an array.
toStringArray(Vector) - Static method in class sam.toolkit.Text
Turns a vector supposedly containing Strings only to a String[] array.
toStrings(int[]) - Static method in class sam.toolkit.Text
Turns an array of integers to the array of their String representation
toSwitch() - Method in class sam.rules.JavaProgram
Makes a command-line like representation of this application and parameters.
toSwitch() - Method in class sam.rules.Rule
Turns this rule into a parsable switch
totalEntriesCount - Variable in class sam.event.ProgressEvent
The total number of entries
TRACE(String) - Static method in class sam.core.Settings.Defaults
Gets the default trace for specific type.
Tracker - class sam.io.Tracker.
This class allows customizable mixing tracking.
TRACKER - Static variable in class sam.core.ArchiveLayout
The plain text name of the tracker used
TRACKER - Static variable in class sam.core.Settings.Defaults
Default tracker.
tracker() - Method in class sam.rules.ModusOperandi
 
Tracker(String, String) - Constructor for class sam.io.Tracker
Builds a new Tracker
Twofish - class sam.cipher.Twofish.
Implementation of the Twofish cipher.
Twofish.Key - class sam.cipher.Twofish.Key.
Key implementation that is adapted to the Twofish cipher.
Twofish.Key(long[]) - Constructor for class sam.cipher.Twofish.Key
Mandatory constructor implementation.
Twofish.Key(String, Key.Mode) - Constructor for class sam.cipher.Twofish.Key
 
Twofish(Key) - Constructor for class sam.cipher.Twofish
 
type - Variable in class sam.io.PrintTrace
Type of this trace

U

unBufferedDump(InputStream, OutputStream) - Static method in class sam.io.IO
Deprecated.  
unBufferedDump(InputStream, OutputStream, long) - Static method in class sam.io.IO
Deprecated.  
unhandledParameter(String) - Method in class sam.ui.ErrorInterface
Called in case of an unhandled parameter being parsed from command-line.
UNICODE - Static variable in class sam.cipher.Key
One char issues 16 bits
UnixLikeSyntaxSet - class sam.rules.UnixLikeSyntaxSet.
Unix-like implementation of the syntax.
UnixLikeSyntaxSet() - Constructor for class sam.rules.UnixLikeSyntaxSet
 
unjar(JarFile, String, File) - Static method in class sam.io.IO
Extracts a whole entry to a file
unjar(JarFile, String, OutputStream) - Static method in class sam.io.IO
Extracts a whole entry to a stream
unload() - Static method in class sam.core.Settings.Stop
Finalizes the application.
unmix() - Method in class sam.io.Mixer.InputStream
Unmixes the stream so that next bytes are plain data bytes.
unregister(FileEventListener) - Method in class sam.event.FileEventNotifier
Unregisters a previously registered FileEvent listener
unregister(ProgressEventListener) - Method in class sam.event.ProgressEventNotifier
Unregisters a previously registered ProgressEvent listener
unstore(Enumerator, List, File, InputStream, EventNotifier) - Method in class sam.core.Unstorer
Unstores specified entries.
unstoreEntry(InputStream, Entry, File, FileEventNotifier) - Method in class sam.core.Unstorer
Unstores an entry.
unstoreInt(byte[], int) - Static method in class sam.cipher.Cipher
Rebuilds one int from specified byte[] array starting at byteOffset.
unstoreLong(byte[], int) - Static method in class sam.cipher.Cipher
Rebuilds one long from specified byte[] array starting at byteOffset.
Unstorer - class sam.core.Unstorer.
General-purpose class implementing the unstoring procedure.
Unstorer(String) - Constructor for class sam.core.Unstorer
 
unstoreReversedLong(byte[], int) - Static method in class sam.cipher.Cipher
Rebuilds one long from specified byte[] array starting at byteOffset.
update(byte[]) - Method in class sam.io.Tracker
Updates this tracker state with specified plain data
update(byte[], int, int) - Method in class sam.io.Tracker
Updates this tracker state with specified plain data Warning This method is not supposed to alter the supplied data although for efficiency reason it is still not prevented from doing it.
update(byte[], int, int) - Method in class sam.io.ChecksumTracker
 
update(Graphics) - Method in class sam.ui.awt.ProgressBar
Repaints this progress bar.
update(int) - Method in class sam.io.Tracker
Updates this tracker state with one byte of plain data
USER - Static variable in class sam.core.ArchiveLayout
The user creating the archive
USER - Static variable in class sam.core.Settings.Environment
The user running the current VM
USER_GROUP - Static variable in class sam.toolkit.Text
Deprecated.  
USER_INTERFACE - Static variable in class sam.core.Settings.Defaults
Default user interface.
USER_NAME - Static variable in class sam.toolkit.Text
Deprecated.  
UserInterface - class sam.ui.UserInterface.
Pluggable user interface abstraction A user interface defines all the interactions between the user and the program; they are grouped by categories as follows: the RulingInterface groups the interactions concerning the program ruling, i.e.
UserInterface - class sam.ui.text.UserInterface.
Pluggable text user interface This interface allows no interaction with the user at all: any missing or misspecified parameter leads to fatal error.
UserInterface - class sam.ui.basic.UserInterface.
Pluggable basic user interface This interface allows no interaction with the user at all: any missing or misspecified parameter leads to fatal error.
UserInterface - class sam.ui.awt.UserInterface.
Pluggable AWT-based user interface
UserInterface.Abort - error sam.ui.UserInterface.Abort.
Exception thrown whenever the whole program should abort.
UserInterface.Abort(String) - Constructor for class sam.ui.UserInterface.Abort
 
UserInterface() - Constructor for class sam.ui.UserInterface
 
UserInterface() - Constructor for class sam.ui.text.UserInterface
Builds a new text user interface.
UserInterface() - Constructor for class sam.ui.basic.UserInterface
Builds a new basic user interface.
UserInterface() - Constructor for class sam.ui.awt.UserInterface
Builds a new text user interface.
UserInterface(OutputStream) - Constructor for class sam.ui.text.UserInterface
Builds a new text user interface.
UserInterface(OutputStream) - Constructor for class sam.ui.basic.UserInterface
Builds a new basic user interface.
UserInterface(PrintWriter) - Constructor for class sam.ui.basic.UserInterface
Builds a new basic user interface.
UserInterface(PrintWriter, InputStream) - Constructor for class sam.ui.text.UserInterface
Builds a new text user interface.

V

value - Variable in class sam.io.Huffman.Leaf
The pattern encoded by this leaf.
variety - Variable in class sam.io.RandomMixer
Actual variety factor
verbose() - Method in class sam.io.RandomMixer
 
verbose() - Method in class sam.io.HuffmanMixer
 
verbose() - Method in class sam.rules.Rule
Verbosely describes this rule parameter
verbose() - Method in class sam.rules.RuleSet
Verbosely describes this rule set.
verbose() - Method in class sam.entry.Entry
Makes a verbose description of this entry including its name and size.
VERTICAL_THREADS - Static variable in class sam.core.Settings.Defaults
Default number of vertical threads.
verticalThreads() - Method in class sam.rules.ModusOperandi
 

W

waitForCompletion() - Method in class sam.toolkit.Workshop
Waits for all currently running tasks be completed, which excludes any pending and not currently running task.
waitForReaders() - Method in class sam.toolkit.Mailbox
Waits for all readers to have read all pending mails.
WarFactory - class sam.cipher.WarFactory.
Generic variable-size sam.cipher.War factory.
WarFactory.Key - class sam.cipher.WarFactory.Key.
General purpose key class.
WarFactory.Key(boolean[]) - Constructor for class sam.cipher.WarFactory.Key
Builds a new War with specified key material
WarFactory.War - class sam.cipher.WarFactory.War.
Actual War implementation
WarFactory.War(WarFactory.Key) - Constructor for class sam.cipher.WarFactory.War
Builds a new War cipher.
WarFactory(int) - Constructor for class sam.cipher.WarFactory
Builds a variable-size new War factory.
WARN_DIFFERENT_GROUP - Static variable in class sam.core.Settings.Constants
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.
WARN_DIFFERENT_USER - Static variable in class sam.core.Settings.Constants
Wether to issue a warning whenever an archive is extracted from a different user than the one who created it.
WARN_EMPTY - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a warning if a key is built empty.
WARN_EXPANSIONS - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a warning whenever a key is turncated to match a ciphers specific key size.
WARN_SUBCLASSES_INVERSION - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a warning whenever a sam.cipher.Key subclass is inversed through the sam.cipher.Key.inverse() method which returns an new instance of sam.cipher.Key instead of the subclass.
WARN_TRUNCATIONS - Static variable in class sam.core.Settings.Constants.Key
Wether to issue a warning whenever a key is turncated to match a ciphers specific key size.
warn(String) - Method in class sam.ui.ErrorInterface
Warns the user about a dangerous, possibly inconsistant or unusal event.
warnMicrosoftOperatingSystemOwners() - Static method in class sam.core.Settings.Environment
Prints a security disclaimer if running under a Microsoft operating system.
WILDCARDS - Static variable in class sam.entry.NameFilter
Standard ? and * characters regular expansion.
wildcards() - Method in class sam.rules.ModusOperandi
 
Workshop - class sam.toolkit.Workshop.
This class implements a multi-threading workshop.
Workshop.IllegalWorkerStateException - exception sam.toolkit.Workshop.IllegalWorkerStateException.
 
Workshop.IllegalWorkerStateException(String) - Constructor for class sam.toolkit.Workshop.IllegalWorkerStateException
 
Workshop.Worker - class sam.toolkit.Workshop.Worker.
Internal class for really running tasks.
Workshop.Worker() - Constructor for class sam.toolkit.Workshop.Worker
 
Workshop(int) - Constructor for class sam.toolkit.Workshop
 
WRITABLE_DIRECTORY - Static variable in class sam.ui.RulingInterface
Access mode for a readable and traversable directory
WRITABLE_FILE - Static variable in class sam.ui.RulingInterface
Access mode for a writable or creatable file
write(boolean) - Method in class sam.io.BitOutputStream
 
write(byte[], int, int) - Method in class sam.io.ByteCountOutputStream
 
write(byte[], int, int) - Method in class sam.io.CloseAvoiderOutputStream
 
write(byte[], int, int) - Method in class sam.io.Mixer.OutputStream
 
write(byte[], int, int) - Method in class sam.io.ByteArrayFilter.OutputStream
 
write(byte[], int, int) - Method in class sam.io.ParallelIO.ScatterOutputStream
Writes data using multiple threads to the underlying stream
write(byte[], int, int) - Method in class sam.io.ParallelIO.GatherOutputStream
Gathers data written by possibly multiple threads (and thus out-of-order) to the underlying stream
write(char[], int, int) - Method in class sam.ui.awt.TextAreaWriter
 
write(FileEventNotifier, File) - Method in class sam.entry.Entry
Gets an OutputStream ready for writing this entry into specific directory.
write(Huffman.Leaf) - Method in class sam.io.Huffman.LeafOutputStream
 
write(int) - Method in class sam.io.ByteCountOutputStream
 
write(int) - Method in interface sam.io.DoubleByte.Writer
 
write(int) - Method in class sam.io.DoubleByte.OutputStreamWriter
 
write(int) - Method in class sam.io.DoubleByte.WriterOutputStream
 
write(int) - Method in class sam.io.CloseAvoiderOutputStream
 
write(int) - Method in class sam.io.Mixer.OutputStream
 
write(int) - Method in class sam.io.ByteArrayFilter.OutputStream
 
write(int) - Method in class sam.io.ParallelIO.ScatterOutputStream
Simply writes the single byte on the underlying stream
write(int) - Method in class sam.io.ParallelIO.GatherOutputStream
Simply writes the single byte on the underlying stream
writeGarbageChunk(OutputStream) - Method in class sam.io.Mixer
Writes garbage data to the stream.
writeGarbageChunk(OutputStream) - Method in class sam.io.RandomMixer
 
writeGarbageChunk(OutputStream) - Method in class sam.io.HuffmanMixer
 
writer - Variable in class sam.io.DoubleByte.WriterOutputStream
 

X

XOR - class sam.cipher.XOR.
Basic XOR cipher.
XOR(Key) - Constructor for class sam.cipher.XOR
 

Y

YES - Static variable in class sam.ui.awt.Dialog
Alias of the "YES" button
yesNo(String) - Method in class sam.ui.RunningInterface
Asks a question to the user.
yesNo(String, String) - Method in class sam.ui.RunningInterface
Asks a question to the user.

A B C D E F G H I J K L M N O P Q R S T U V W X Y