Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I J K L M N O P Q R S T U W

A

AT_PATTERN - Static variable in class com.lutris.util.BMByteSearchStream
"At Pattern" value.
absCurrency() - Method in class com.lutris.util.Currency
Returns a Currency whose value is the absolute value of this number.
accept(File, String) - Method in class com.lutris.util.FilePersistentStore.FileStoreFilter
 
add(Currency) - Method in class com.lutris.util.Currency
Returns a Currency whose value is (this + val).
add(Object, Object) - Method in class com.lutris.util.LRUCache
Add an object to the cache, with a default size of 1.
add(Object, Object, int) - Method in class com.lutris.util.LRUCache
Add an object to the cache.
add(OutputStream) - Method in class com.lutris.util.OutputStreamHub
Add a new OutputStream to the set.
addEntry(String, String[], String) - Method in class com.lutris.util.ConfigFile
Add an entry to the config file.
addEntry(String, String, String) - Method in class com.lutris.util.ConfigFile
Add an entry to the config file.
available() - Method in class com.lutris.util.BMByteSearchStream
Returns the number of bytes that can be read from this input stream without blocking.

B

BMByteSearch - class com.lutris.util.BMByteSearch.
Implements the Boyer-Moore pattern matching algorithm for a given byte pattern.
BMByteSearch(String) - Constructor for class com.lutris.util.BMByteSearch
Creates a precomputed Boyer-Moore byte string search object from the given pattern.
BMByteSearch(byte[]) - Constructor for class com.lutris.util.BMByteSearch
Creates a precomputed Boyer-Moore byte string search object from the given pattern.
BMByteSearch(byte[], int, int) - Constructor for class com.lutris.util.BMByteSearch
Creates a precomputed Boyer-Moore byte string search object from a portion of the given pattern array.
BMByteSearchStream - class com.lutris.util.BMByteSearchStream.
Implements the Boyer-Moore pattern matching algorithm for a given byte pattern.
BMByteSearchStream(InputStream, String, int) - Constructor for class com.lutris.util.BMByteSearchStream
Creates a Boyer-Moore byte stream scanner for a given pattern.
Base64Chars - Static variable in class com.lutris.util.Base64Encoder
The BASE64 encoding standard's 6-bit alphabet, from RFC 1521, plus the padding character at the end.
Base64Chars - Static variable in class com.lutris.util.Convert
Deprecated. The BASE64 encoding standard's 6-bit alphabet, from RFC 1521, plus the padding character at the end.
Base64Encoder - class com.lutris.util.Base64Encoder.
Various conversion methods.
Base64Encoder() - Constructor for class com.lutris.util.Base64Encoder
 
BytesToString - class com.lutris.util.BytesToString.
This class has static methods which convert arrays of bytes to a strings.
BytesToString() - Constructor for class com.lutris.util.BytesToString
 

C

COUNT - Static variable in class com.lutris.util.ConfigException
The reason field may contain this value to indicate that a component expects a different number of elements than are provided in the configuration file for a particular key.
ChainedError - error com.lutris.util.ChainedError.
Error used as a base for creating an error that has a chain of exceptions that lead to the derived error.
ChainedError(String) - Constructor for class com.lutris.util.ChainedError
Construct an error without a specified cause.
ChainedError(String, Throwable) - Constructor for class com.lutris.util.ChainedError
Construct an exception with an associated causing exception.
ChainedError(Throwable) - Constructor for class com.lutris.util.ChainedError
Construct an exception from a causing exception.
ChainedException - exception com.lutris.util.ChainedException.
Exception used as a base for creating an exception that has a chain of exceptions that lead to the derived exception.
ChainedException(String) - Constructor for class com.lutris.util.ChainedException
Construct an exception without a specified cause.
ChainedException(String, Throwable) - Constructor for class com.lutris.util.ChainedException
Construct an exception with an associated causing exception.
ChainedException(Throwable) - Constructor for class com.lutris.util.ChainedException
Construct an exception from a causing exception.
ChainedRuntimeException - exception com.lutris.util.ChainedRuntimeException.
RuntimeException used as a base for creating an exception that has a chain of exceptions that lead to the derived exception.
ChainedRuntimeException(String) - Constructor for class com.lutris.util.ChainedRuntimeException
Construct an exception without a specified cause.
ChainedRuntimeException(String, Throwable) - Constructor for class com.lutris.util.ChainedRuntimeException
Construct an exception with an associated causing exception.
ChainedRuntimeException(Throwable) - Constructor for class com.lutris.util.ChainedRuntimeException
Construct an exception from a causing exception.
ChainedThrowable - interface com.lutris.util.ChainedThrowable.
Interfaces for all of the Chained* throwables.
ChainedThrowableUtil - class com.lutris.util.ChainedThrowableUtil.
Utilities used to implement the Chained* throwables.
ChainedThrowableUtil() - Constructor for class com.lutris.util.ChainedThrowableUtil
Can't makes instances.
CircularQueue - class com.lutris.util.CircularQueue.
 
CircularQueue(int) - Constructor for class com.lutris.util.CircularQueue
Creates a circular queue of size s (s objects).
Config - class com.lutris.util.Config.
Config is essentially a KeywordValueTable used for recursive storage of data derived from a config file.
Config() - Constructor for class com.lutris.util.Config
Default constructor for an empty Config.
Config(KeywordValueTable) - Constructor for class com.lutris.util.Config
Constructor that takes a KeywordValueTable as initialization.
Config(KeywordValueTable, ConfigFile) - Constructor for class com.lutris.util.Config
Constructor that takes a KeywordValueTable and a ConfigFile as initialization.
Config(ConfigFile) - Constructor for class com.lutris.util.Config
Constructor that associates this Config with a given ConfigFile.
ConfigException - exception com.lutris.util.ConfigException.
Exception class thrown by class Config.
ConfigException() - Constructor for class com.lutris.util.ConfigException
Creates a new ConfigException object with no informational string and a reason field of UNKNOWN.
ConfigException(String) - Constructor for class com.lutris.util.ConfigException
Creates a new ConfigException object with the specified informational string and a reason field of UNKNOWN.
ConfigException(int, String) - Constructor for class com.lutris.util.ConfigException
Creates a new ConfigException object with the specified informational string and the specified reason field.
ConfigFile - class com.lutris.util.ConfigFile.
ConfigFile is used to manipulate Multiserver configuration (.conf) files.
ConfigFile() - Constructor for class com.lutris.util.ConfigFile
Default constructor for an empty config file.
ConfigFile(InputStream) - Constructor for class com.lutris.util.ConfigFile
Constructor from an InputStream.
ConfigFile(File) - Constructor for class com.lutris.util.ConfigFile
Constructor from a File.
ConfigFile(KeywordValueTable) - Constructor for class com.lutris.util.ConfigFile
Constructor from a KeywordValueTable.
Convert - class com.lutris.util.Convert.
Deprecated. Use HexEncoder or Base64Encoder.
Convert() - Constructor for class com.lutris.util.Convert
Deprecated.  
Currency - class com.lutris.util.Currency.
Object to store and manipulate money.
Currency() - Constructor for class com.lutris.util.Currency
Construct a Currency object of value zero.
Currency(BigDecimal) - Constructor for class com.lutris.util.Currency
Construct a Currency object from a BigDecimal or Currency object.
Currency(double) - Constructor for class com.lutris.util.Currency
Construct a Currency object from a double.
Currency(float) - Constructor for class com.lutris.util.Currency
Construct a Currency object from a float.
Currency(String) - Constructor for class com.lutris.util.Currency
Construct a Currency object from a String.
cache - Variable in class com.lutris.util.LRUCache
 
cause - Variable in class com.lutris.util.ChainedError
 
cause - Variable in class com.lutris.util.ChainedException
 
cause - Variable in class com.lutris.util.ChainedRuntimeException
 
charJump - Variable in class com.lutris.util.BMByteSearch
Table of jump distances for each mismatched character in the alphabet for a given search pattern.
clear() - Method in class com.lutris.util.LRUCache
Delete all the items from the cache.
close() - Method in class com.lutris.util.OutputStreamEventQueue
Closes the OutputStream.
close() - Method in class com.lutris.util.OutputStreamHub
Closes the stream.
closed - Variable in class com.lutris.util.OutputStreamHub
 
com.lutris.util - package com.lutris.util
 
comments - Variable in class com.lutris.util.ConfigFile
 
computeJumps() - Method in class com.lutris.util.BMByteSearch
Initializes the per-character jump table charJump as specified by the Boyer-Moore algorithm.
computeMatchJumps() - Method in class com.lutris.util.BMByteSearch
Computes a partial-match jump table that skips over partially matching suffixes.
concat(String, String) - Static method in class com.lutris.util.KeywordParser
Concatenate two keyword paths.
config - Variable in class com.lutris.util.ConfigFile
 
configFile - Variable in class com.lutris.util.Config
The ConfigFile object this Config is associated with (if any)
contains(OutputStream) - Method in class com.lutris.util.OutputStreamHub
Is the given OutputStream currently in the set?
containsCount(String) - Method in class com.lutris.util.Config
Returns the number of data elements for a given key, or -1 if the key is not found.
containsKey(String) - Method in class com.lutris.util.Config
Returns true if the specified key is found, false otherwise.
containsKey(String) - Method in class com.lutris.util.KeywordValueTable
Determine if the a field with the specified keyword exists.
containsKey(Object) - Method in class com.lutris.util.LRUCache
Does the cache contain the given key?
containsWhiteSpace(String) - Method in class com.lutris.util.ConfigFile
 
conv(byte[]) - Static method in class com.lutris.util.BytesToString
Converts the array of bytes to a string.
conv(byte[], int) - Static method in class com.lutris.util.BytesToString
Converts the array of bytes to a string.
convertHexToKey(String) - Method in class com.lutris.util.FilePersistentStore
Converts an arbitrary ASCII hexadecimal string, with two hex characters corresponding to each byte, into a string.
convertKeyToHex(String) - Method in class com.lutris.util.FilePersistentStore
Converts an arbitrary string to ASCII hexadecimal string form, with two hex characters corresponding to each byte.
count - Variable in class com.lutris.util.CircularQueue
Number of objects currently stored in the queue.
currentSize - Variable in class com.lutris.util.LRUCache
 

D

DEFAULT_DIR_PROPERTY - Variable in class com.lutris.util.FilePersistentStore
 
data - Variable in class com.lutris.util.OutputStreamEventQueueEntry
The data.
delete(String) - Method in class com.lutris.util.FilePersistentStore
Method to delete a a key.
delete(String) - Method in interface com.lutris.util.PersistentStore
Method to delete a a key.
delete() - Method in class com.lutris.util.TmpDir
Delete the directory and its contents
deleteLRU() - Method in class com.lutris.util.LRUCache
 
deleteNode(LRUCache.Node) - Method in class com.lutris.util.LRUCache
 
describeException(Exception) - Static method in class com.lutris.util.ExceptionUtils
Returns a text description of the Exception.
digits - Static variable in class com.lutris.util.ConfigFile
 
dir - Variable in class com.lutris.util.TmpDir
 
divide(Currency) - Method in class com.lutris.util.Currency
Returns a Currency whose value is (this / val).
divide(int) - Method in class com.lutris.util.Currency
Returns a Currency whose value is (this / val).

E

EOF - Static variable in class com.lutris.util.BMByteSearchStream
EOF value.
ExceptionUtils - class com.lutris.util.ExceptionUtils.
A collection of static methods that deal with Exceptions.
ExceptionUtils() - Constructor for class com.lutris.util.ExceptionUtils
Do not instantiate objects of this class.
encode(String) - Static method in class com.lutris.util.HtmlEncoder
Translates a string into a HTML safe format.
encode(String) - Static method in class com.lutris.util.JavaScriptEncoder
Translates a string into a JavaScript safe format.
equals(float) - Method in class com.lutris.util.Currency
Check if equal to a float value.
equals(double) - Method in class com.lutris.util.Currency
Check if equal to a double value.
except - Variable in class com.lutris.util.FatalExceptionError
Encapsulated exception.
exists(String) - Method in class com.lutris.util.FilePersistentStore
Method to query if an an object is stored.
exists(String) - Method in interface com.lutris.util.PersistentStore
Method to query if an an object is stored.

F

FILE_SEPARATOR_PROPERTY - Variable in class com.lutris.util.FilePersistentStore
 
FORMAT - Static variable in class com.lutris.util.ConfigException
The reason field may contain this value to indicate that a configuration element could not be converted from its internal string form to the requested type.
FatalExceptionError - error com.lutris.util.FatalExceptionError.
 
FatalExceptionError(Exception) - Constructor for class com.lutris.util.FatalExceptionError
Constucts with an existing exception or error.
FilePersistentStore - class com.lutris.util.FilePersistentStore.
File system implementation of PersistentStore.
FilePersistentStore() - Constructor for class com.lutris.util.FilePersistentStore
Public constructor.
FilePersistentStore(ClassLoader) - Constructor for class com.lutris.util.FilePersistentStore
Public constructor.
FilePersistentStore(String) - Constructor for class com.lutris.util.FilePersistentStore
Public constructor that allows one to specify the directory (repository) where objects are stored/retrieved.
FilePersistentStore(String, ClassLoader) - Constructor for class com.lutris.util.FilePersistentStore
Public constructor that allows one to specify the directory (repository) where objects are stored/retrieved.
FilePersistentStore.FilePersistentStoreKeys - class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys.
Inner class that implements keys enumeration for this object.
FilePersistentStore.FilePersistentStoreKeys() - Constructor for class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys
Constructor.
FilePersistentStore.FilePersistentStoreKeys(String[]) - Constructor for class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys
Constructor.
FilePersistentStore.FileStoreFilter - class com.lutris.util.FilePersistentStore.FileStoreFilter.
Inner class that implements a filename filter.
FilePersistentStore.FileStoreFilter(String) - Constructor for class com.lutris.util.FilePersistentStore.FileStoreFilter
 
file - Variable in class com.lutris.util.ConfigFile
The associated config file (if any)
file() - Method in class com.lutris.util.TmpDir
Get the File object describing the directory.
fileSeparator - Variable in class com.lutris.util.FilePersistentStore
Path separator used by operating system.
filename(String) - Method in class com.lutris.util.FilePersistentStore
Method that calculates the absolute path to the stored object.
findSection(String[], boolean, int) - Method in class com.lutris.util.KeywordValueTable
Recursively locate the section named by a keyword path.
flush() - Method in class com.lutris.util.OutputStreamEventQueue
Does nothing.
flush() - Method in class com.lutris.util.OutputStreamHub
Flushes are attempted on all members.
formatArrayAsHtml(Object) - Method in class com.lutris.util.KeywordValueTable
Format an array section as a HTML ordered list, appending it to the list.
formatFieldAsHtml(Object) - Method in class com.lutris.util.KeywordValueTable
Format an field.
formatObjectAsHtml(Object) - Method in class com.lutris.util.KeywordValueTable
Format an object as HTML.
fromBase64String(String) - Static method in class com.lutris.util.Base64Encoder
Performs RFC1521 style Base64 decoding of Base64 encoded data.
fromBase64String(String) - Static method in class com.lutris.util.Convert
Deprecated. Performs RFC1521 style Base64 decoding of Base64 encoded data.

G

GET_ALL - Static variable in class com.lutris.util.Config
Passed as the "count" argument to getInts, getLongs(), etc.
genPatternFromByteArray(byte[], int, int) - Method in class com.lutris.util.BMByteSearch
Generates the pattern byte string P from a portion of another byte string.
genPatternFromCharArray(char[]) - Method in class com.lutris.util.BMByteSearch
Generates the pattern byte string P from a character array.
get() - Method in class com.lutris.util.CircularQueue
Removes an object from the queue.
get(String) - Method in class com.lutris.util.KeywordValueTable
Get the value of a field as an object.
get(String, Object) - Method in class com.lutris.util.KeywordValueTable
Get the value of a field as an object, return a default if it does not exist.
get(Object) - Method in class com.lutris.util.LRUCache
Fetch an item from the cache.
getBoolean(String) - Method in class com.lutris.util.Config
Returns a single boolean value associated with a given key.
getBoolean(String, boolean) - Method in class com.lutris.util.Config
Returns a single boolean value associated with a given key.
getBooleans(String) - Method in class com.lutris.util.Config
Returns all boolean values associated with a given key.
getBooleans(String, boolean[]) - Method in class com.lutris.util.Config
Returns all boolean values associated with a given key.
getBooleansInternal(String, int) - Method in class com.lutris.util.Config
Returns the array of booleans associated with a given key.
getCause() - Method in class com.lutris.util.ChainedError
Get the causing exception associated with this exception.
getCause() - Method in class com.lutris.util.ChainedException
Get the causing exception associated with this exception.
getCause() - Method in class com.lutris.util.ChainedRuntimeException
Get the causing exception associated with this exception.
getCause() - Method in interface com.lutris.util.ChainedThrowable
Get the causing exception associated with this exception.
getComment(String) - Method in class com.lutris.util.ConfigFile
Returns the comment associated with a given key, or null if there is no comment.
getConfig(String) - Method in class com.lutris.util.Config
Get the value of a section as a Config object.
getConfig() - Method in class com.lutris.util.ConfigFile
Returns the Config object representing the config data in the file.
getConfigFile() - Method in class com.lutris.util.Config
Get the ConfigFile associated with this object.
getCount() - Method in class com.lutris.util.CircularQueue
Returns the total number of objects stored in the queue.
getDouble(String) - Method in class com.lutris.util.Config
Returns a single double value associated with a given key.
getDouble(String, double) - Method in class com.lutris.util.Config
Returns a single double value associated with a given key.
getDoubles(String) - Method in class com.lutris.util.Config
Returns all double values associated with a given key.
getDoubles(String, double[]) - Method in class com.lutris.util.Config
Returns all double values associated with a given key.
getDoublesInternal(String, int) - Method in class com.lutris.util.Config
Returns the array of doubles associated with a given key.
getEvent() - Method in class com.lutris.util.OutputStreamEventQueue
Get an event from the queue.
getException() - Method in class com.lutris.util.FatalExceptionError
Get the exception that occured.
getFile() - Method in class com.lutris.util.ConfigFile
Get the associated file.
getInt(String) - Method in class com.lutris.util.Config
Returns a single integer value associated with a given key.
getInt(String, int) - Method in class com.lutris.util.Config
Returns a single integer value associated with a given key.
getInts(String) - Method in class com.lutris.util.Config
Returns all integer values associated with a given key.
getInts(String, int[]) - Method in class com.lutris.util.Config
Returns all integer values associated with a given key.
getIntsInternal(String, int) - Method in class com.lutris.util.Config
Returns the array of integers associated with a given key.
getLocalizedMessage() - Method in class com.lutris.util.FatalExceptionError
Get the localized message of the encapsulate exception.
getLong(String) - Method in class com.lutris.util.Config
Returns a single long integer value associated with a given key.
getLong(String, long) - Method in class com.lutris.util.Config
Returns a single long integer value associated with a given key.
getLongs(String) - Method in class com.lutris.util.Config
Returns all long integer values associated with a given key.
getLongs(String, long[]) - Method in class com.lutris.util.Config
Returns all long integer values associated with a given key.
getLongsInternal(String, int) - Method in class com.lutris.util.Config
Returns the array of longs associated with a given key.
getMaxSize() - Method in class com.lutris.util.LRUCache
Returns the maxmimum number of items allowed in the cache.
getMessage() - Method in class com.lutris.util.ChainedError
Return the message associated with this exception.
getMessage() - Method in class com.lutris.util.ChainedException
Return the message associated with this exception.
getMessage() - Method in class com.lutris.util.ChainedRuntimeException
Return the message associated with this exception.
getMessage() - Method in interface com.lutris.util.ChainedThrowable
Return the message associated with this exception.
getMessage(ChainedThrowable, String) - Static method in class com.lutris.util.ChainedThrowableUtil
Get the message associated with this exception.
getMessage() - Method in class com.lutris.util.FatalExceptionError
Get the detail message of the encapsulate exception.
getPatternLength() - Method in class com.lutris.util.BMByteSearch
Returns the length of the pattern for this searcher.
getSection(String) - Method in class com.lutris.util.Config
Get the value of a section as a KeywordValueTable object.
getSection(String) - Method in class com.lutris.util.KeywordValueTable
Get the value of a section.
getSize() - Method in class com.lutris.util.LRUCache
Returns the total size of the items in the cache.
getStoreDirectory() - Method in class com.lutris.util.FilePersistentStore
Returns the location where objects are stored/retrieved.
getString(String) - Method in class com.lutris.util.Config
Returns a single String value associated with a given key.
getString(String, String) - Method in class com.lutris.util.Config
Returns a single String value associated with a given key.
getString(String) - Method in class com.lutris.util.KeywordValueTable
Get the value of a field as a string
getString(String, String) - Method in class com.lutris.util.KeywordValueTable
Get the value of a field as a string, return a default if it does not exist.
getStrings(String) - Method in class com.lutris.util.Config
Returns all String values associated with a given key.
getStrings(String, String[]) - Method in class com.lutris.util.Config
Returns all String values associated with a given key.
getStringsInternal(String, int) - Method in class com.lutris.util.Config
Returns the array of strings associated with a given key.
getVersion() - Static method in class com.lutris.util.JavaVersion
 

H

HexChars - Static variable in class com.lutris.util.Convert
Deprecated. Hexadecimal characters corresponding to each half byte value.
HexChars - Static variable in class com.lutris.util.FilePersistentStore
Hexadecimal characters corresponding to each half byte value.
HexChars - Static variable in class com.lutris.util.HexEncoder
Hexadecimal characters corresponding to each half byte value.
HexEncoder - class com.lutris.util.HexEncoder.
Various conversion methods.
HexEncoder() - Constructor for class com.lutris.util.HexEncoder
 
HtmlEncoder - class com.lutris.util.HtmlEncoder.
This class contains a utility method for encoding a String so that it may be safely embedded within a HTML document without affecting the formatting of the document.
HtmlEncoder() - Constructor for class com.lutris.util.HtmlEncoder
 
hasEventsPending() - Method in class com.lutris.util.OutputStreamEventQueue
Is there an event waiting in the queue right now? This call will not block, however it is possible that another thread will take the event before you do, so your call to getEvent may still block.
hasMoreElements() - Method in class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys
Tests if this enumeration contains more keys.
hasMoreElements() - Method in class com.lutris.util.StringEnum
 
hashTable - Variable in class com.lutris.util.KeywordValueTable
 
head - Variable in class com.lutris.util.LRUCache
 
hexCharToByte(char) - Method in class com.lutris.util.FilePersistentStore
Method that maps a hexadecimal character to a byte value.

I

i - Variable in class com.lutris.util.StringEnum
 
idx - Variable in class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys
 
init(String, ClassLoader) - Method in class com.lutris.util.FilePersistentStore
Gets a reference to the object input stream constructor.
insertNode(LRUCache.Node) - Method in class com.lutris.util.LRUCache
 
isArray(String) - Method in class com.lutris.util.Config
Is the key is an array, or a single value.
isEmpty() - Method in class com.lutris.util.CircularQueue
Checks to see if the queue is empty.
item - Variable in class com.lutris.util.LRUCache.Node
 

J

JavaScriptEncoder - class com.lutris.util.JavaScriptEncoder.
This class contains a utility method for encoding a String so that it may be safely used within JavaScript as a quoted string.
JavaScriptEncoder() - Constructor for class com.lutris.util.JavaScriptEncoder
 
JavaVersion - class com.lutris.util.JavaVersion.
 
JavaVersion() - Constructor for class com.lutris.util.JavaVersion
 
javaVersion - Static variable in class com.lutris.util.JavaVersion
 
join(String[]) - Static method in class com.lutris.util.KeywordParser
Create a keyword from its components.

K

KeywordParser - class com.lutris.util.KeywordParser.
Class used to parse KeywordsValueTable keywords.
KeywordParser() - Constructor for class com.lutris.util.KeywordParser
 
KeywordValueException - exception com.lutris.util.KeywordValueException.
Exception for errors accessing a KeywordValueTable object.
KeywordValueException(String) - Constructor for class com.lutris.util.KeywordValueException
Constructor.
KeywordValueTable - class com.lutris.util.KeywordValueTable.
Class that implements a recursive keyword/value table.
KeywordValueTable() - Constructor for class com.lutris.util.KeywordValueTable
Constructor.
key - Variable in class com.lutris.util.LRUCache.Node
 
keys - Variable in class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys
 
keys() - Method in class com.lutris.util.FilePersistentStore
Method that returns an enumration of the keys of this persistent store.
keys() - Method in class com.lutris.util.KeywordValueTable
Get the keywords in the table.
keys() - Method in interface com.lutris.util.PersistentStore
Method that returns an enumration of the keys of this persistent store.

L

LRUCache - class com.lutris.util.LRUCache.
This class implements a fixed size Least-Recently-Used cache.
LRUCache(int) - Constructor for class com.lutris.util.LRUCache
Create a new, empty cache.
LRUCache.Node - class com.lutris.util.LRUCache.Node.
 
LRUCache.Node() - Constructor for class com.lutris.util.LRUCache.Node
 
LoaderObjectInputStream - class com.lutris.util.LoaderObjectInputStream.
 
LoaderObjectInputStream(InputStream, ClassLoader) - Constructor for class com.lutris.util.LoaderObjectInputStream
 
leafKeys() - Method in class com.lutris.util.KeywordValueTable
Recursively get the keywords for the entire table.
limitQueueSize() - Method in class com.lutris.util.OutputStreamEventQueue
 
loadBuf() - Method in class com.lutris.util.BMByteSearchStream
Reads more data from the underlying input source, keeping track of buffering and pattern matching.
loader - Variable in class com.lutris.util.FilePersistentStore
The loader that should be used to load serialized data.
loader - Variable in class com.lutris.util.LoaderObjectInputStream
 

M

MAX_REASON - Static variable in class com.lutris.util.ConfigException
Internal constant to indicate the highest valid reason code.
m - Variable in class com.lutris.util.BMByteSearch
The length of the search pattern.
main(String[]) - Static method in class com.lutris.util.JavaVersion
 
makeMessage(Throwable) - Static method in class com.lutris.util.ChainedThrowableUtil
Generate the message to set for the exception message.
matchJump - Variable in class com.lutris.util.BMByteSearch
Table of partial suffix match jump distances for a given pattern.
max(int, int) - Static method in class com.lutris.util.BMByteSearch
Compares two integers and returns the greater value.
maxBytes - Variable in class com.lutris.util.OutputStreamEventQueue
 
maxSize - Variable in class com.lutris.util.LRUCache
 
min(int, int) - Static method in class com.lutris.util.BMByteSearch
Compares two integers and returns the lesser value.
min(int, int) - Static method in class com.lutris.util.BMByteSearchStream
Compares two integers and returns the lesser value.
mkdirs(String) - Method in class com.lutris.util.TmpDir
Create the specified directory in the tmp directory if it doesn't exist.
multiply(Currency) - Method in class com.lutris.util.Currency
Returns a Currency whose value is (this * val)
multiply(int) - Method in class com.lutris.util.Currency
Returns a Currency whose value is (this * val)
myStreams - Variable in class com.lutris.util.OutputStreamHub
 

N

NOT_FOUND - Static variable in class com.lutris.util.ConfigException
The reason field may contain this value to indicate that a syntax error in the configuration input file or stream caused this exception.
negateCurrency() - Method in class com.lutris.util.Currency
Returns a Currency whose value is -1 * this.
newSection() - Method in class com.lutris.util.Config
Allocate a new section.
newSection() - Method in class com.lutris.util.KeywordValueTable
Allocate a new section.
next - Variable in class com.lutris.util.LRUCache.Node
 
nextElement() - Method in class com.lutris.util.FilePersistentStore.FilePersistentStoreKeys
Returns the next key of this enumeration.
nextElement() - Method in class com.lutris.util.StringEnum
 
numBytes - Variable in class com.lutris.util.OutputStreamEventQueue
 

O

OutputStreamEventQueue - class com.lutris.util.OutputStreamEventQueue.
A queue of "events".
OutputStreamEventQueue() - Constructor for class com.lutris.util.OutputStreamEventQueue
Create a new, empty, OutputStreamEventQueue with no limit on the size of the data stored.
OutputStreamEventQueue(int) - Constructor for class com.lutris.util.OutputStreamEventQueue
Create a new, empty, OutputStreamEventQueue with a limit on the number of bytes it will store.
OutputStreamEventQueueEntry - class com.lutris.util.OutputStreamEventQueueEntry.
This is a helper class for OutputStreamEventQueue.
OutputStreamEventQueueEntry() - Constructor for class com.lutris.util.OutputStreamEventQueueEntry
Only the OutputStreamEventQueue should create instances of this class.
OutputStreamEventQueueEntry(Date, byte[]) - Constructor for class com.lutris.util.OutputStreamEventQueueEntry
Only the OutputStreamEventQueue should create instances of this class.
OutputStreamHub - class com.lutris.util.OutputStreamHub.
This class implements a "hub", or redistribution center.
OutputStreamHub() - Constructor for class com.lutris.util.OutputStreamHub
Create a new hub with no members.
objectInputStreamConstructor - Variable in class com.lutris.util.FilePersistentStore
The class loader used when reading in serialized data.
open - Variable in class com.lutris.util.OutputStreamEventQueue
 
order - Variable in class com.lutris.util.ConfigFile
 

P

P - Variable in class com.lutris.util.BMByteSearch
Byte array, beginning at index 1 (for algorithmic convenience), that contains the intended search pattern data.
PersistentStore - interface com.lutris.util.PersistentStore.
Persitent storage interface.
PersistentStoreException - exception com.lutris.util.PersistentStoreException.
This exception is thrown by objects that implement persistent storage.
PersistentStoreException(String) - Constructor for class com.lutris.util.PersistentStoreException
Construct a exception without a specified cause.
PersistentStoreException(String, Throwable) - Constructor for class com.lutris.util.PersistentStoreException
Construct a exception with an associated causing exception.
PersistentStoreException(Throwable) - Constructor for class com.lutris.util.PersistentStoreException
Construct a exception with an associated causing exception.
parse(String) - Static method in class com.lutris.util.KeywordParser
Parse a keyword into its components, validating that the components are legal names.
parseCString(String) - Static method in class com.lutris.util.QuotedString
Parse a C style quoted string.
parseCString(String, int) - Static method in class com.lutris.util.QuotedString
Parse a C style quoted string.
parseCString(char[]) - Static method in class com.lutris.util.QuotedString
Parse a C style quoted string.
parseCString(char[], int) - Static method in class com.lutris.util.QuotedString
Parse a C style quoted string.
parseComponent(StringTokenizer, int, String) - Static method in class com.lutris.util.KeywordParser
Parse and validate the next component of a keyword.
patternKeep - Variable in class com.lutris.util.BMByteSearchStream
Number of bytes to overlap buffer reads by to ensure that the pattern gets matched even if it crosses a read boundary.
patternLength - Variable in class com.lutris.util.BMByteSearchStream
The length of the search pattern.
patternPos - Variable in class com.lutris.util.BMByteSearchStream
The current position of the pattern within the current buffer contents.
peekAheadString(int) - Method in class com.lutris.util.BMByteSearchStream
Returns the next length bytes of the input buffer as a string.
prev - Variable in class com.lutris.util.LRUCache.Node
 
printCauseTrace(ChainedThrowable) - Static method in class com.lutris.util.ChainedThrowableUtil
Prints stacktrace and cause stacktrace.
printCauseTrace(ChainedThrowable, PrintStream) - Static method in class com.lutris.util.ChainedThrowableUtil
Prints stacktrace and cause stacktrace.
printCauseTrace(ChainedThrowable, PrintWriter) - Static method in class com.lutris.util.ChainedThrowableUtil
Prints stacktrace and cause stacktrace.
printChainedCauses(Throwable, PrintWriter) - Static method in class com.lutris.util.ChainedThrowableUtil
Do work of printing the causes of a chained exception.
printStackTrace() - Method in class com.lutris.util.ChainedError
Prints this ChainedError and its backtrace, and the causes and their stack traces to the standard error stream.
printStackTrace(PrintStream) - Method in class com.lutris.util.ChainedError
Prints this ChainedError and its backtrace, and the causes and their stack traces to the e specified print stream.
printStackTrace(PrintWriter) - Method in class com.lutris.util.ChainedError
Prints this ChainedError and its backtrace, and the causes and their stack traces to the e specified print writer.
printStackTrace() - Method in class com.lutris.util.ChainedException
Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream.
printStackTrace(PrintStream) - Method in class com.lutris.util.ChainedException
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print stream.
printStackTrace(PrintWriter) - Method in class com.lutris.util.ChainedException
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print writer.
printStackTrace() - Method in class com.lutris.util.ChainedRuntimeException
Prints this ChainedRuntimeException and its backtrace, and the causes and their stack traces to the standard error stream.
printStackTrace(PrintStream) - Method in class com.lutris.util.ChainedRuntimeException
Prints this ChainedRuntimeException and its backtrace, and the causes and their stack traces to the e specified print stream.
printStackTrace(PrintWriter) - Method in class com.lutris.util.ChainedRuntimeException
Prints this ChainedRuntimeException and its backtrace, and the causes and their stack traces to the e specified print writer.
printStackTrace() - Method in interface com.lutris.util.ChainedThrowable
Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream.
printStackTrace(PrintStream) - Method in interface com.lutris.util.ChainedThrowable
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print stream.
printStackTrace(PrintWriter) - Method in interface com.lutris.util.ChainedThrowable
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print writer.
printStackTrace() - Method in class com.lutris.util.FatalExceptionError
Call the encapsulated object printStackTrack method with output to the standard error string.
printStackTrace(PrintStream) - Method in class com.lutris.util.FatalExceptionError
Call the encapsulated object printStackTrack method with output to a specified stream.
printStackTrace(PrintWriter) - Method in class com.lutris.util.FatalExceptionError
Call the encapsulated object printStackTrack method with output to a specified stream print writer.
put(Object) - Method in class com.lutris.util.CircularQueue
Stores an object in the queue.

Q

QuotedString - class com.lutris.util.QuotedString.
Static convenience class for parsing various types of quoted strings.
QuotedString() - Constructor for class com.lutris.util.QuotedString
 
qSize - Variable in class com.lutris.util.CircularQueue
The number of objects in the array (Queue size + 1).
queue - Variable in class com.lutris.util.CircularQueue
Array of references to the objects being queued.
queue - Variable in class com.lutris.util.OutputStreamEventQueue
 
quoteStr(String) - Static method in class com.lutris.util.ConfigFile
 

R

rIndex - Variable in class com.lutris.util.CircularQueue
The array index for the next object to be removed from the queue.
read() - Method in class com.lutris.util.BMByteSearchStream
Reads the next byte of data from this input stream.
read(byte[]) - Method in class com.lutris.util.BMByteSearchStream
Reads up to buffer.length bytes of data from this input stream into an array of bytes.
read(byte[], int, int) - Method in class com.lutris.util.BMByteSearchStream
Reads length bytes of data from this input stream into an array of bytes.
readByte - Variable in class com.lutris.util.BMByteSearchStream
Buffer to hold a single character in order to implement the single character read() method.
readTo(byte[], int, int) - Method in class com.lutris.util.BMByteSearchStream
Reads data into a buffer until the search pattern or the end of file is detected.
reason - Variable in class com.lutris.util.ConfigException
Indicates the cause (if known) of the current exception.
recursiveDelete(File) - Method in class com.lutris.util.TmpDir
Recursive delete files.
remove(String) - Method in class com.lutris.util.FilePersistentStore
Method to simultaneously retrieve and remove an object from persistent store.
remove(String) - Method in class com.lutris.util.KeywordValueTable
Delete a field, if the field does not exist, the operation is ignored.
remove(Object) - Method in class com.lutris.util.LRUCache
Remove an item from the cache.
remove(OutputStream) - Method in class com.lutris.util.OutputStreamHub
Remove an OutputStream from the set.
remove(String) - Method in interface com.lutris.util.PersistentStore
Method to simultaneously retrieve and remove an object from persistent store.
removeEntry(String) - Method in class com.lutris.util.ConfigFile
Remove an entry from the config file.
resolveClass(ObjectStreamClass) - Method in class com.lutris.util.LoaderObjectInputStream
Subclasses may implement this method to allow classes to be fetched from an alternate source.
retrieve(String) - Method in class com.lutris.util.FilePersistentStore
Method to retrieve a stored object.
retrieve(String) - Method in interface com.lutris.util.PersistentStore
Method to retrieve a stored object.

S

SERIAL_SUFFIX - Variable in class com.lutris.util.FilePersistentStore
 
SYNTAX - Static variable in class com.lutris.util.ConfigException
The reason field may contain this value to indicate that a syntax error in the configuration input file or stream caused this exception.
SessionKeyChars - Static variable in class com.lutris.util.Base64Encoder
Encoding alphabet for session keys.
StringEnum - class com.lutris.util.StringEnum.
 
StringEnum(String[]) - Constructor for class com.lutris.util.StringEnum
 
sIndex - Variable in class com.lutris.util.CircularQueue
The array index for the next object to be stored in the queue.
scanBuf - Variable in class com.lutris.util.BMByteSearchStream
Scan buffer -- Should be at least ten times the length of the search pattern.
scanBufCount - Variable in class com.lutris.util.BMByteSearchStream
Number of bytes currently in the scan buffer.
scanBufPos - Variable in class com.lutris.util.BMByteSearchStream
Scan buffer position.
scanBufSize - Variable in class com.lutris.util.BMByteSearchStream
Total size of the scan buffer.
search(byte[]) - Method in class com.lutris.util.BMByteSearch
Search for the previously pre-compiled pattern string in an array of bytes.
search(byte[], int, int) - Method in class com.lutris.util.BMByteSearch
Search for the previously pre-compiled pattern string in an array of bytes.
searcher - Variable in class com.lutris.util.BMByteSearchStream
Boyer-Moore byte string searcher for scanning the scan buffer.
separator - Static variable in class com.lutris.util.KeywordParser
 
set(String, Object) - Method in class com.lutris.util.KeywordValueTable
Set the value of a field.
setConfigFile(ConfigFile) - Method in class com.lutris.util.Config
Set the ConfigFile associated with this object.
setDefault(String, Object) - Method in class com.lutris.util.KeywordValueTable
Sets a default value for a keyword.
setPattern(String) - Method in class com.lutris.util.BMByteSearchStream
Set the search pattern.
setPattern(BMByteSearch) - Method in class com.lutris.util.BMByteSearchStream
Set the search pattern.
setStoreDirectory(String) - Method in class com.lutris.util.FilePersistentStore
Sets the location (directory) from where objects are retrieved/archived.
setVersion() - Static method in class com.lutris.util.JavaVersion
 
size - Variable in class com.lutris.util.LRUCache.Node
 
skip(long) - Method in class com.lutris.util.BMByteSearchStream
Skips over and discards n bytes of data from the input stream.
skipPattern() - Method in class com.lutris.util.BMByteSearchStream
Skips all bytes up to and including the search pattern or EOF.
skipTo() - Method in class com.lutris.util.BMByteSearchStream
Skips all bytes up to but not including the search pattern or EOF.
store(String, Serializable) - Method in class com.lutris.util.FilePersistentStore
Method to store and object (persistent).
store(String, Serializable) - Method in interface com.lutris.util.PersistentStore
Method to store and object (persistent).
storeDirectory - Variable in class com.lutris.util.FilePersistentStore
Directory (pathname) where objects are to be stored/retrieved.
strs - Variable in class com.lutris.util.StringEnum
 
subtract(Currency) - Method in class com.lutris.util.Currency
Returns a Currency whose value is (this - val).
suffix - Variable in class com.lutris.util.FilePersistentStore.FileStoreFilter
 

T

TRAILING_COMMENT - Static variable in class com.lutris.util.ConfigFile
The key under which the trailing comment is stored.
TmpDir - class com.lutris.util.TmpDir.
Class for creating and manage a temporary directory.
TmpDir(String, String) - Constructor for class com.lutris.util.TmpDir
Create a tmp directory.
tail - Variable in class com.lutris.util.LRUCache
 
toBase64SessionKeyString(byte[]) - Static method in class com.lutris.util.Base64Encoder
The encoding is more or less Base 64, but instead of '+' and '/' as defined in RFC1521, the characters '_' and '-' are used because they are safe in URLs and file names.
toBase64String(byte[]) - Static method in class com.lutris.util.Base64Encoder
Performs RFC1521 style Base64 encoding of arbitrary binary data.
toBase64String(byte[], char[]) - Static method in class com.lutris.util.Base64Encoder
Performs encoding of arbitrary binary data based on a 6 bit alphabet.
toBase64String(byte[]) - Static method in class com.lutris.util.Convert
Deprecated. Performs RFC1521 style Base64 encoding of arbitrary binary data.
toBase64String(byte[], char[]) - Static method in class com.lutris.util.Convert
Deprecated. Performs encoding of arbitrary binary data based on a 6 bit alphabet.
toHexString(long, int, char) - Static method in class com.lutris.util.Convert
Deprecated. Converts a long integer to an unsigned hexadecimal String.
toHexString(byte[]) - Static method in class com.lutris.util.Convert
Deprecated. Converts an arbitrary array of bytes to ASCII hexadecimal string form, with two hex characters corresponding to each byte.
toHexString(long, int, char) - Static method in class com.lutris.util.HexEncoder
Converts a long integer to an unsigned hexadecimal String.
toHexString(byte[]) - Static method in class com.lutris.util.HexEncoder
Converts an arbitrary array of bytes to ASCII hexadecimal string form, with two hex characters corresponding to each byte.
toHtml() - Method in class com.lutris.util.KeywordValueTable
Convert to an Html representation.
toString() - Method in class com.lutris.util.Currency
Convert to string with two decimals.
toString() - Method in class com.lutris.util.FatalExceptionError
Returns a string representation that includes this object and the encapsulated object.
toString() - Method in class com.lutris.util.KeywordValueTable
Convert to a string.
toString() - Method in class com.lutris.util.LRUCache
Returns a string describing the contents of the cache.

U

UNKNOWN - Static variable in class com.lutris.util.ConfigException
The reason field may contain this value to indicate that the cause of the current exception is unknown.

W

when - Variable in class com.lutris.util.OutputStreamEventQueueEntry
The time when the event was created (when write() was called).
write() - Method in class com.lutris.util.ConfigFile
Writes this config to the associated file.
write(OutputStream) - Method in class com.lutris.util.ConfigFile
Writes out a config file to the OutputStream specified.
write(int) - Method in class com.lutris.util.OutputStreamEventQueue
Add an event to the queue containing one byte.
write(byte[]) - Method in class com.lutris.util.OutputStreamEventQueue
Add an event to the queue containing an array of bytes.
write(byte[], int, int) - Method in class com.lutris.util.OutputStreamEventQueue
Add an event to the queue containing part of an array of bytes.
write(int) - Method in class com.lutris.util.OutputStreamHub
Write an integer to all the members.
write(byte[]) - Method in class com.lutris.util.OutputStreamHub
Write an array of bytes to all the members.
write(byte[], int, int) - Method in class com.lutris.util.OutputStreamHub
Write part of an array of bytes to all the members.

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