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

A

add(Object) - Method in class net.sf.eBus.util.EventThread
Deprecated.
Appends an event to the queue.
addIndex(String, long, long, long, boolean) - Method in class net.sf.eBus.util.IndexCache
Returns the new index added to the cache.
addJar(String) - Method in class net.sf.eBus.util.JarFileLoader
Appends the JAR file path to the URL search list.
addListener(PropertiesListener) - Method in class net.sf.eBus.util.Properties
Adds a properties listener.
addShutdownHook() - Static method in class net.sf.eBus.util.ShutdownHook
Returns the signal used by the shutdown hook to notify the caller when the JVM is shutdown.
alpha(char) - Method in class net.sf.eBus.text.TokenLexerContext
 
alpha(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
ANY_CHAR - Static variable in class net.sf.eBus.util.regex.Component
This component matches any character.
AnyChar - Class in net.sf.eBus.util.regex
This regular expression component matches any character.
appendSize(StringBuilder) - Method in class net.sf.eBus.util.regex.Component
Adds the size to the output only if not {1, 1}.
asterisk(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 

B

backslash(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 

C

cacheFileName() - Method in class net.sf.eBus.util.IndexCache
Returns the cache file name as originally supplied by user.
CalendarFileHandler - Class in net.sf.eBus.util.logging
Logs messages to a user-specified file, rolling over to a new file at midnight.
CalendarFileHandler() - Constructor for class net.sf.eBus.util.logging.CalendarFileHandler
Creates a new CalendarFileHandler and configures it according to LogManager configuration properties.
CalendarFileHandler(String, String, String, int) - Constructor for class net.sf.eBus.util.logging.CalendarFileHandler
Creates a new CalendarFileHandler instance for the specified base name, date format pattern, file name extension and how long to keep the files around.
cancel() - Method in class net.sf.eBus.util.TimerEvent
Cancels the underlying timer task.
cancel() - Method in class net.sf.eBus.util.TimerTask
Cancels this timer task.
CHARACTER - Static variable in class net.sf.eBus.text.TokenLexer
A single-quoted character token (2).
CHARACTER_SET - Static variable in class net.sf.eBus.util.regex.Component
A character set component matches only those characters in the set (positive) or not in the set (negative).
characterDone() - Method in class net.sf.eBus.text.TokenLexerContext
 
characterError() - Method in class net.sf.eBus.text.TokenLexerContext
 
CharacterMap_BadCharacter_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
CharacterMap_Done_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
CharacterMap_Escaped_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
CharacterMap_Start_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
CharacterSet - Class in net.sf.eBus.util.regex
This regular expression component matches only those characters listed in its set.
CharacterSetMap_FirstItem_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
CharacterSetMap_NextItem_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
CharacterSetMap_SecondItem_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
CharacterSetMap_Start_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
clear() - Method in class net.sf.eBus.util.TernarySearchTree
Clears out all stored values, leaving an empty map.
clearIndices() - Method in class net.sf.eBus.util.IndexCache
Removes all indices from the cache leaving the cache empty.
close() - Method in class net.sf.eBus.util.IndexCache
Closes the cache file and removes this index cache from the map.
close() - Method in class net.sf.eBus.util.logging.NullHandler
Does nothing since there is nothing to close.
comma(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
COMMENT - Static variable in class net.sf.eBus.text.TokenLexer
Either a // or a slash star comment (3).
commentDone() - Method in class net.sf.eBus.text.TokenLexerContext
 
compareTo(MultiKey) - Method in class net.sf.eBus.util.MultiKey
Returns a negative integer, zero or a positive integer if this object is less than, equal to or greater than the argument, respectively.
compareTo(Pattern) - Method in class net.sf.eBus.util.regex.Pattern
Returns an integer value < zero if this pattern is less than the argument; zero if this pattern is equal to the argument; > zero if this pattern is greater than the argument.
compile(String) - Static method in class net.sf.eBus.util.regex.Pattern
Returns the eBus regular expression pattern compiled from the given string.
Component - Class in net.sf.eBus.util.regex
Abstract base class for all regular expression components.
Component(int, int, int, int) - Constructor for class net.sf.eBus.util.regex.Component
Sets the component's type, minimum and maximum length.
components() - Method in class net.sf.eBus.util.regex.Pattern
Returns the pattern's components.
computeTestMethods() - Method in class net.sf.eBus.test.OrderedRunner
Returns the test methods list sorted according to their test index values.
containsIndex(String) - Method in class net.sf.eBus.util.IndexCache
Returns true if this cache contains the named index and false otherwise.
containsKey(Object) - Method in class net.sf.eBus.util.TernarySearchTree
Returns true if the key is in the ternary search tree and false otherwise.
containsValue(Object) - Method in class net.sf.eBus.util.TernarySearchTree
Returns true if value is stored in the ternary search tree and false otherwise.
cookedMode() - Method in class net.sf.eBus.text.TokenLexer
Switch back to cooked tokenization.
createTask(Object, Runnable) - Static method in class net.sf.eBus.util.SequentialTask
Creates a sequential task for the given object and task.
createTask(Object, Runnable, Logger, Level) - Static method in class net.sf.eBus.util.SequentialTask
Creates a sequential task for the given object and task.
currentIndex() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the current cached index.
currentIndex(long) - Method in class net.sf.eBus.util.IndexCache.Index
Sets the current index to the given value.

D

dash(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
DEFAULT_AUTO_RESET - Static variable in class net.sf.eBus.util.IndexCache
Automatic index reset is turned off by default.
DEFAULT_BASENAME - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
The log file's default base name is "Logger".
DEFAULT_DATE_FORMAT - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
The log file's default data format is "yyyyMMdd".
DEFAULT_DAYS_KEPT - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
Log files are kept for 10 days by default.
DEFAULT_DIRECTORY - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
Log files are placed in the application's current working directory (".") by default.
DEFAULT_EXTENSION - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
The default file extension is "log".
DEFAULT_FINAL_INDEX - Static variable in class net.sf.eBus.util.IndexCache
The default final index is Long.MAX_VALUE.
DEFAULT_INCREMENT - Static variable in class net.sf.eBus.util.IndexCache
The default index increment is one.
DEFAULT_INITIAL_INDEX - Static variable in class net.sf.eBus.util.IndexCache
The default initial index is zero.
DEFAULT_LEVEL - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
The log file handler default level is Level.INFO.
DEFAULT_PATTERN - Static variable in class net.sf.eBus.util.logging.PatternFormatter
The default pattern is "%d{MM/dd/yyyy HH:mm:ss} %m%E".
deregister(StatusReporter) - Method in class net.sf.eBus.util.logging.StatusReport
Deregisters a status reporter.
digit(char) - Method in class net.sf.eBus.text.TokenLexerContext
 
digit(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
DirectExecutor - Class in net.sf.eBus.util
Performs direct, synchronous runnable task execution in the current thread.
DirectExecutor() - Constructor for class net.sf.eBus.util.DirectExecutor
 
doesResetUponFinalIndex() - Method in class net.sf.eBus.util.IndexCache.Index
Returns true if the cache automatically resets to the initial index once the final index is reached.
dump(byte[], String) - Static method in class net.sf.eBus.util.HexDump
Dump out data's entire contents starting at byte zero.
dump(byte[], int, int, String) - Static method in class net.sf.eBus.util.HexDump
Returns a text representation of the given byte array.

E

entrySet() - Method in class net.sf.eBus.util.TernarySearchTree
Returns the set of all key-value mappings.
entrySet(Pattern) - Method in class net.sf.eBus.util.TernarySearchTree
Returns the set of all key-value mappings whose keys match the given query.
entrySet(Pattern, int) - Method in class net.sf.eBus.util.TernarySearchTree
Returns the set of at most maxMatches key-value mappings whose keys match the given query.
EOF - Static variable in class net.sf.eBus.text.TokenLexer
The end of the input is reached (1).
EOF() - Method in class net.sf.eBus.text.TokenLexerContext
 
EOL(char) - Method in class net.sf.eBus.text.TokenLexerContext
 
EOS() - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
equals(Object) - Method in class net.sf.eBus.text.Token
Returns true if o is a non-null Token instance of the same type and raw token text; false otherwise.
equals(Object) - Method in class net.sf.eBus.util.MultiKey
Returns true if key is a non-null MultiKey instance with the same number of key values and the key values are equal and in the same order.
equals(Object) - Method in class net.sf.eBus.util.Properties
 
equals(Object) - Method in class net.sf.eBus.util.regex.Pattern
Returns true if this object and the argument object are both regular expression patterns with the same underlying pattern string and false otherwise.
equalTo(char) - Method in class net.sf.eBus.util.regex.AnyChar
Returns true if this component is equal to the character c; returns false otherwise.
equalTo(char) - Method in class net.sf.eBus.util.regex.CharacterSet
Returns true if this component is equal to the character c; returns false otherwise.
equalTo(char) - Method in class net.sf.eBus.util.regex.Component
Returns true if this component is equal to the character c; returns false otherwise.
equalTo(char) - Method in class net.sf.eBus.util.regex.Literal
Returns true if this component is equal to the character c; returns false otherwise.
ERROR - Static variable in class net.sf.eBus.text.TokenLexer
An error occurred when seeking the next token (0).
Error(String) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
escape_done(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
escape_error(String) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
escape_set() - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
EventThread - Class in net.sf.eBus.util
Deprecated.
This class is deprecated because it is simply no longer needed. This class was written prior to the introduction of java.util.concurrent is Java 1.5. Since the introduction of that package there is no need for an event thread class.
EventThread() - Constructor for class net.sf.eBus.util.EventThread
Deprecated.
Constructs an EventThread with a capacity of Integer.MAX_VALUE.
EventThread(String) - Constructor for class net.sf.eBus.util.EventThread
Deprecated.
Constructs an EventThread with a specified thread name and a default capacity of Integer.MAX_VALUE.
EventThread(int) - Constructor for class net.sf.eBus.util.EventThread
Deprecated.
Constructs a EventThread with a specified event queue capacity.
EventThread(String, int) - Constructor for class net.sf.eBus.util.EventThread
Deprecated.
Constructs an EventThread with a specified name and queue capacity.
EventThread.RunState - Enum in net.sf.eBus.util
Deprecated.
An EventThread has seven distinct states: NOT_STARTED: The EventThread was instantiated but not yet started.
execute(Runnable) - Method in class net.sf.eBus.util.DirectExecutor
Immediately executes the task in the current thread.
executeAction(MethodHandle) - Method in class net.sf.eBus.text.TokenLexerContext
 
executeAction(MethodHandle) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 

F

finalIndex() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the maximum cached index.
FLOAT - Static variable in class net.sf.eBus.text.TokenLexer
A floating point number (4).
flush() - Method in class net.sf.eBus.util.logging.NullHandler
Does nothing since there is nothing to flush
format(LogRecord) - Method in class net.sf.eBus.util.logging.PatternFormatter
Returns a localized String resulting from formatting the LogRecord.
formatTime(long) - Static method in class net.sf.eBus.util.logging.StatusReport
Given a millisecond duration, generate a string that reports the duration in human-readable form.

G

get(Object) - Method in class net.sf.eBus.util.TernarySearchTree
Returns the value associated with key.
getArrayProperty(String, char) - Method in class net.sf.eBus.util.Properties
Returns the named property value as a String[].
getBooleanProperty(String) - Method in class net.sf.eBus.util.Properties
Returns the named property value as a boolean.
getBooleanProperty(String, boolean) - Method in class net.sf.eBus.util.Properties
Returns the named property value as a boolean.
getDoubleProperty(String) - Method in class net.sf.eBus.util.Properties
Returns the named property value as a double.
getDoubleProperty(String, double) - Method in class net.sf.eBus.util.Properties
Returns the named property value as a double.
getDumpThreads() - Method in class net.sf.eBus.util.logging.StatusReport
Returns the "dump threads" flag.
getIndex(String) - Method in class net.sf.eBus.util.IndexCache
Returns the named index instance.
getIntProperty(String) - Method in class net.sf.eBus.util.Properties
Returns the named property value as an int.
getIntProperty(String, int) - Method in class net.sf.eBus.util.Properties
Returns the named property value as an int.
getLogger() - Method in class net.sf.eBus.util.logging.StatusReport
Returns the java.util.logging.Logger to which the status report is written.
getmFrequency() - Method in enum net.sf.eBus.util.logging.StatusReport.ReportFrequency
Returns the report frequency in milliseconds.
getmLevel() - Method in class net.sf.eBus.util.logging.StatusReport
Returns the java.util.logging.Level at which the status report is logged.
getReportFrequency() - Method in class net.sf.eBus.util.logging.StatusReport
Returns the current status report frequency in milliseconds.
getsInstance() - Static method in class net.sf.eBus.util.logging.StatusReport
Returns the singleton StatusReport instance.
greaterThan(char) - Method in class net.sf.eBus.util.regex.AnyChar
Returns true if this component is greater than the character c; returns false otherwise.
greaterThan(char) - Method in class net.sf.eBus.util.regex.CharacterSet
Returns true if this component is greater than the character c; returns false otherwise.
greaterThan(char) - Method in class net.sf.eBus.util.regex.Component
Returns true if this component is greater than the character c; returns false otherwise.
greaterThan(char) - Method in class net.sf.eBus.util.regex.Literal
Returns true if this component is greater than the character c; returns false otherwise.

H

halt(boolean) - Method in class net.sf.eBus.util.EventThread
Deprecated.
Permanently stops this thread's execution after the event queue is empty.
haltNow(boolean) - Method in class net.sf.eBus.util.EventThread
Deprecated.
Permanently stops this thread's execution now.
handleEvent(Object) - Method in class net.sf.eBus.util.EventThread
Deprecated.
Processes the next enqueued event.
handleTimeout(TimerEvent) - Method in class net.sf.eBus.util.logging.CalendarFileHandler
Time to roll over to the next log file.
handleTimeout(TimerEvent) - Method in class net.sf.eBus.util.logging.StatusReport
Time to output another status report.
handleTimeout(TimerEvent) - Method in interface net.sf.eBus.util.TimerTaskListener
This method is called when the TimerTask has expired.
hashCode() - Method in class net.sf.eBus.text.Token
Returns the token hashcode based on the raw token string.
hashCode() - Method in class net.sf.eBus.util.MultiKey
Returns a hash code value for this multi-valued key.
hashCode() - Method in class net.sf.eBus.util.Properties
 
hashCode() - Method in class net.sf.eBus.util.regex.Pattern
Returns a hosh code based on the regular expression pattern string.
HexDump - Class in net.sf.eBus.util
HexDump.dump(byte[], String) generates a standard hexdump textual representation of binary data.

I

increment() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the increment used to obtain the next cached index.
index() - Method in class net.sf.eBus.util.regex.Component
Returns the component's pattern index.
index() - Method in class net.sf.eBus.util.SequentialTask
Returns the task's run index.
IndexCache - Class in net.sf.eBus.util
Persists a one or more 4-byte, integer index values to a specified file.
IndexCache.Index - Class in net.sf.eBus.util
Tracks the individual index parameters and its location within the cache file.
indexCount() - Method in class net.sf.eBus.util.IndexCache
Returns the number of indices in this cache.
indexNames() - Method in class net.sf.eBus.util.IndexCache
Returns a list of current index names.
IndexPool - Class in net.sf.eBus.util
IndexPool provides integer index value reuse.
IndexPool() - Constructor for class net.sf.eBus.util.IndexPool
Creates a pool with the default size.
IndexPool(int, int) - Constructor for class net.sf.eBus.util.IndexPool
Creates a pool with the specified minimum and maximum indicies (inclusive).
initialIndex() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the initial cache index.
input(Reader) - Method in class net.sf.eBus.text.TokenLexer
Extract tokens from this input stream.
INTEGER - Static variable in class net.sf.eBus.text.TokenLexer
An integer number (5).
isCacheOpen(String) - Static method in class net.sf.eBus.util.IndexCache
Returns true if the named index cache is open and false if it is not.
isEmpty() - Method in class net.sf.eBus.util.IndexCache
Returns true if this cache has no indices and false if it has at least one index.
isEmpty() - Method in class net.sf.eBus.util.TernarySearchTree
Returns true if this map contains no key-value mappings and false otherwise.
isHalted() - Method in class net.sf.eBus.util.EventThread
Deprecated.
Returns true if this event thread has been halted and false otherwise.
isNegated() - Method in class net.sf.eBus.util.regex.CharacterSet
Returns true if this character is negated (^) and false otherwise.
isValue(Object) - Method in class net.sf.eBus.text.Token
Returns true if value equals the token value and false otherwise.

J

JarFileLoader - Class in net.sf.eBus.util
This class extends URLClassLoader, providing the ability to load a class from a Java jar file introduced after JVM starts.
JarFileLoader(URL[]) - Constructor for class net.sf.eBus.util.JarFileLoader
Constructs a new JAR class loader for the specified URLs and the default ClassLoader.
JarFileLoader(URL[], ClassLoader) - Constructor for class net.sf.eBus.util.JarFileLoader
Constructs a new JAR class loader for the specified URLs and parent class loader.
JarFileLoader(URL[], ClassLoader, URLStreamHandlerFactory) - Constructor for class net.sf.eBus.util.JarFileLoader
Constructs a new JAR class loader for the specified URLs, parent class loader, and URL stream handler factory.

K

key(int) - Method in class net.sf.eBus.util.MultiKey
Returns the key value at the specified index.
keys() - Method in class net.sf.eBus.util.MultiKey
Returns a copy of the key array.
keySet() - Method in class net.sf.eBus.util.TernarySearchTree
Returns all keys currently stored in the tree.
keySet(Pattern) - Method in class net.sf.eBus.util.TernarySearchTree
Returns the words matching the query.
keySet(Pattern, int) - Method in class net.sf.eBus.util.TernarySearchTree
Returns at most maxMatches words matching the query.

L

lastModified() - Method in class net.sf.eBus.util.IndexCache
Returns the timestamp when the cache was last modified.
left_brace(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
left_bracket(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
lessThan(char) - Method in class net.sf.eBus.util.regex.AnyChar
Returns true if this component is less than the character c; returns false otherwise.
lessThan(char) - Method in class net.sf.eBus.util.regex.CharacterSet
Returns true if this component is less than the character c; returns false otherwise.
lessThan(char) - Method in class net.sf.eBus.util.regex.Component
Returns true if this component is less than the character c; returns false otherwise.
lessThan(char) - Method in class net.sf.eBus.util.regex.Literal
Returns true if this component is less than the character c; returns false otherwise.
lineNumber() - Method in class net.sf.eBus.text.Token
Returns the input line number where the token was found.
lineNumber() - Method in class net.sf.eBus.text.TokenLexer
Returns the current line number being tokenized.
LITERAL - Static variable in class net.sf.eBus.util.regex.Component
A literal component matches exactly.
Literal - Class in net.sf.eBus.util.regex
This regular expression component matches one character.
literal() - Method in class net.sf.eBus.util.regex.Literal
Returns the literal character.
load() - Method in class net.sf.eBus.util.Properties
Reloads properties from the properties file.
loadProperties(String) - Static method in class net.sf.eBus.util.Properties
Returns a properties list loaded with the values found in the named properties file.
loadProperties(File) - Static method in class net.sf.eBus.util.Properties
Returns a properties list loaded with the values found in the properties file.

M

matches(CharSequence) - Method in class net.sf.eBus.util.regex.Pattern
Returns true if this regular expression pattern accepts input and false otherwise.
MAX_DAYS_KEPT - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
The maximum number of days a log file is kept is 96.
MAXIMUM_INDEX_NAME_LENGTH - Static variable in class net.sf.eBus.util.IndexCache
An index name may be at most 20 characters long.
maximumSize() - Method in class net.sf.eBus.util.regex.Component
Returns the component's maximum size.
maximumSize() - Method in class net.sf.eBus.util.regex.Pattern
Returns a matching string's maximum possible size.
maxIndex() - Method in class net.sf.eBus.util.IndexPool
Returns the pool's maximum index.
MIN_DAYS_KEPT - Static variable in class net.sf.eBus.util.logging.CalendarFileHandler
The minimum number of days a log file is kept is 0 which means that the file is deleted as soon as the day ends.
mIndex - Variable in class net.sf.eBus.util.regex.Component
The component's position within the regular expression pattern.
minimumSize() - Method in class net.sf.eBus.util.regex.Component
Returns the component's minimum size.
minimumSize() - Method in class net.sf.eBus.util.regex.Pattern
Returns a matching string's minimum possible size.
minIndex() - Method in class net.sf.eBus.util.IndexPool
Returns the pool's minimum index.
mMaximumSize - Variable in class net.sf.eBus.util.regex.Component
The component's maximum possible length.
mMinimumSize - Variable in class net.sf.eBus.util.regex.Component
The component's minimum possible length.
mode() - Method in class net.sf.eBus.text.TokenLexer
Returns the current lexer mode.
mType - Variable in class net.sf.eBus.util.regex.Component
The component's type.
MultiKey - Class in net.sf.eBus.util
Allows multi-valued keys to be used in Java's single key Map collections.
MultiKey(Object...) - Constructor for class net.sf.eBus.util.MultiKey
Creates a multiple key container for the given objects.
MultiKey2<K1,K2> - Class in net.sf.eBus.util
This MultiKey subclass uses generics to guarantee key type and order.
MultiKey2(K1, K2) - Constructor for class net.sf.eBus.util.MultiKey2
Creates a two value MultiKey.
MultiKey3<K1,K2,K3> - Class in net.sf.eBus.util
This MultiKey subclass uses generics to guarantee key type and order.
MultiKey3(K1, K2, K3) - Constructor for class net.sf.eBus.util.MultiKey3
Creates a three value MultiKey.
MultiKey4<K1,K2,K3,K4> - Class in net.sf.eBus.util
This MultiKey subclass uses generics to guarantee key type and order.
MultiKey4(K1, K2, K3, K4) - Constructor for class net.sf.eBus.util.MultiKey4
Creates a four value MultiKey.

N

NAME - Static variable in class net.sf.eBus.text.TokenLexer
An alphanumberic identifier (6).
name() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the index name.
nearSearch(CharSequence, int) - Method in class net.sf.eBus.util.TernarySearchTree
Returns the keys which are within a specified Hamming distance of character sequence s.
net.sf.eBus.test - package net.sf.eBus.test
Provides classes supporting JUnit testing.
net.sf.eBus.text - package net.sf.eBus.text
TokenLexer takes a given input and returns a series of analyzed tokens.
net.sf.eBus.util - package net.sf.eBus.util
Contains supporting utility Java classes for net.sf.eBus.
net.sf.eBus.util.logging - package net.sf.eBus.util.logging
Supplements java.util.logging package with a rolling log file handler, a pattern formatter and a logged status report.
net.sf.eBus.util.regex - package net.sf.eBus.util.regex
This regular expression package is designed to perform efficient pattern matching over a TernarySearchTree.
NewCommentMap_Start_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
NEXT_TOKEN - Static variable in class net.sf.eBus.text.TokenLexer
User-defined tokens must be >= 11.
nextIndex() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the current index value.
nextIndex() - Method in class net.sf.eBus.util.IndexPool
Returns the next available index.
nextToken() - Method in class net.sf.eBus.text.TokenLexer
Returns the next token found in the input stream.
NO_MAX_MATCH_LIMIT - Static variable in class net.sf.eBus.util.regex.Component
The maximum range limit is set to this value when the the limit is infinite.
NO_OPEN_CHAR - Static variable in class net.sf.eBus.text.TokenLexer
When the raw mode open character is set to U+0000, this means there is no open character, only a close character.
nodeCount() - Method in class net.sf.eBus.util.TernarySearchTree
Returns the number of nodes used in this map.
NullHandler - Class in net.sf.eBus.util.logging
This handler quietly does nothing with the given log records.
NullHandler() - Constructor for class net.sf.eBus.util.logging.NullHandler
 

O

offset() - Method in class net.sf.eBus.text.TokenLexer
Returns the current offset into the input.
OK() - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
OK(int, int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
OldCommentMap_CommentEnd_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
OldCommentMap_CommentStart_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
OldCommentMap_Start_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
open(String) - Static method in class net.sf.eBus.util.IndexCache
Returns the IndexCache instance associated with cacheFileName.
OPERATOR - Static variable in class net.sf.eBus.text.TokenLexer
Token consists solely of punctuation characters (7).
OrderedRunner - Class in net.sf.eBus.test
This class extends org.junit.runners.BlockJUnit4ClassRunner and overrides the computeTestMethods() method to guarantee that test methods are run in a user-defined order using the TestIndex annotation.
OrderedRunner(Class<?>) - Constructor for class net.sf.eBus.test.OrderedRunner
Creates a new OrderedRunner instance for the given test class.

P

packages() - Method in class net.sf.eBus.util.JarFileLoader
Returns all the Packages defined by this class loader and its ancestors.
Pattern - Class in net.sf.eBus.util.regex
A compiled regular expression representation.
pattern() - Method in class net.sf.eBus.util.regex.Pattern
Returns the original regular expression pattern string.
PatternFormatter - Class in net.sf.eBus.util.logging
Formats LogRecords using printf-like format specifiers.
PatternFormatter() - Constructor for class net.sf.eBus.util.logging.PatternFormatter
Creates a new PatternFormatter and configures it according to LogManager configuration properties.
PatternFormatter(String) - Constructor for class net.sf.eBus.util.logging.PatternFormatter
Constructs a PatternFormatter instance for the given pattern.
period(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
plus(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
Properties - Class in net.sf.eBus.util
Properties extends java.util.Properties to include: Loading properties from a named file and returning a net.sf.eBus.util.Properties object.
Properties() - Constructor for class net.sf.eBus.util.Properties
Creates an empty property list with no default values.
Properties(Properties) - Constructor for class net.sf.eBus.util.Properties
Creates an empty property list with default values.
PropertiesEvent - Class in net.sf.eBus.util
Contains the updated Properties object as event source.
PropertiesEvent(Properties) - Constructor for class net.sf.eBus.util.PropertiesEvent
The specified properties have changed.
PropertiesListener - Interface in net.sf.eBus.util
Classes which want to be asynchronously informed about properties changes should implement this interface and add themselves to the properties listeners by calling Properties.addListener(PropertiesListener).
propertiesUpdate(PropertiesEvent) - Method in interface net.sf.eBus.util.PropertiesListener
Properties calls this method when it detects a change in its underlying properties file.
publish(LogRecord) - Method in class net.sf.eBus.util.logging.CalendarFileHandler
Flushes the output stream after StreamHandler publishes the log record.
publish(LogRecord) - Method in class net.sf.eBus.util.logging.NullHandler
Quietly ignores the log record.
punctuation(char) - Method in class net.sf.eBus.text.TokenLexerContext
 
put(CharSequence, V) - Method in class net.sf.eBus.util.TernarySearchTree
Enters a value into the ternary search tree using the text key.
putAll(Map<? extends CharSequence, ? extends V>) - Method in class net.sf.eBus.util.TernarySearchTree
Copies all the mappings from the specified map to this tree.

Q

question_mark(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 

R

RangeMap_MaximumSize_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
RangeMap_MinimumSize_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
rawMode(char, char) - Method in class net.sf.eBus.text.TokenLexer
Switch to raw tokenization.
RegexLexerContext - Class in net.sf.eBus.util.regex
 
RegexLexerContext(RegexLexer) - Constructor for class net.sf.eBus.util.regex.RegexLexerContext
 
RegexLexerContext(RegexLexer, int) - Constructor for class net.sf.eBus.util.regex.RegexLexerContext
 
RegexLexerContext(RegexLexer, State7) - Constructor for class net.sf.eBus.util.regex.RegexLexerContext
 
register(StatusReporter) - Method in class net.sf.eBus.util.logging.StatusReport
Registers a status reporter.
remove(Object) - Method in class net.sf.eBus.util.TernarySearchTree
Removes the key-value mapping from the tree and returns the now removed value.
removeIndex(String) - Method in class net.sf.eBus.util.IndexCache
Returns true if the named index was removed and false if the index is unknown.
removeListener(PropertiesListener) - Method in class net.sf.eBus.util.Properties
Removes a properties listener.
removeShutdownHook() - Static method in class net.sf.eBus.util.ShutdownHook
Unhooks the shutdown hook instance from the system runtime.
reportStatus(PrintWriter) - Method in interface net.sf.eBus.util.logging.StatusReporter
Append your report to this buffer.
reset() - Method in class net.sf.eBus.util.IndexPool
Resets the index pool to its initial state.
resetAllIndices() - Method in class net.sf.eBus.util.IndexCache
Resets all indices to their respective initial values.
resetIndex() - Method in class net.sf.eBus.util.IndexCache.Index
Resets the current index to the initial value and returns the new current index.
returnIndex(int) - Method in class net.sf.eBus.util.IndexPool
Puts an index back into the pool for reuse.
right_brace(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
right_bracket(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
run() - Method in class net.sf.eBus.util.EventThread
Deprecated.
The main Thread routine.
run() - Method in class net.sf.eBus.util.SequentialTask
Synchronizes on the task index waiting for its turn to run the user task.
run() - Method in class net.sf.eBus.util.ShutdownHook
Decrements the signal which results in a return from CountDownLatch.await().
run() - Method in class net.sf.eBus.util.TimerTask
Tells the listener that this timer has expired.
runstate() - Method in class net.sf.eBus.util.EventThread
Deprecated.
Returns this event thread current state.

S

SequentialTask - Class in net.sf.eBus.util
When using a thread pool to execute tasks there is no guarantee the tasks will be executed in the same sequential order as offered to the pool.
setApplicationInfo(String, String, Date, String) - Method in class net.sf.eBus.util.logging.StatusReport
Sets the application's name, version and build date.
setArrayProperty(String, String[], char) - Method in class net.sf.eBus.util.Properties
Sets the named property value to the string array.
setBooleanProperty(String, boolean) - Method in class net.sf.eBus.util.Properties
Sets the named property value to the specified boolean.
setDoubleProperty(String, double) - Method in class net.sf.eBus.util.Properties
Sets the named property value to the specified double.
setDumpThreads(boolean) - Method in class net.sf.eBus.util.logging.StatusReport
Sets the "dump threads" flag to the given value.
setIntProperty(String, int) - Method in class net.sf.eBus.util.Properties
Sets the named property value to the specified integer.
setLogger(Logger) - Method in class net.sf.eBus.util.logging.StatusReport
Sets the java.util.logging.Logger.
setmLevel(Level) - Method in class net.sf.eBus.util.logging.StatusReport
Sets the java.util.logging.Level at which the status report is logged.
setReportFrequency(StatusReport.ReportFrequency) - Method in class net.sf.eBus.util.logging.StatusReport
Sets the status report frequency.
ShutdownHook - Class in net.sf.eBus.util
Provides a simple way for an console-based, Java application main thread to wait until the virtual machine terminates.
size() - Method in class net.sf.eBus.util.MultiKey
Returns the number of key values.
size() - Method in class net.sf.eBus.util.TernarySearchTree
Returns the number of key-value mappings in this tree.
SOURCE - Static variable in class net.sf.eBus.text.TokenLexer
Raw, unanalyzed input (8).
start(boolean) - Method in class net.sf.eBus.util.EventThread
Deprecated.
Starts the thread execution.
starting() - Method in class net.sf.eBus.util.EventThread
Deprecated.
Returns true if the EventThread subclass initializes successfully and false otherwise.
StatusReport - Class in net.sf.eBus.util.logging
Writes a status report to a log at a specified interval.
StatusReport.ReportFrequency - Enum in net.sf.eBus.util.logging
Enumerates the allowed status report frequencies: FIVE_MINUTE: generate a report every five minutes on the five minute.
StatusReporter - Interface in net.sf.eBus.util.logging
Implement this interface when you want an object to append its information to the status report.
stopping() - Method in class net.sf.eBus.util.EventThread
Deprecated.
Performs any necessary local clean up when the thread halts.
store(String) - Method in class net.sf.eBus.util.Properties
Stores properties in properties file using the provided header comment.
store(String, String) - Method in class net.sf.eBus.util.Properties
Stores properties in the named properties file using the provided header comment.
store(File, String) - Method in class net.sf.eBus.util.Properties
Stores properties in the named properties file using the provided header comment.
STRING - Static variable in class net.sf.eBus.text.TokenLexer
A double-quoted string (9).
stringDone() - Method in class net.sf.eBus.text.TokenLexerContext
 
stringError() - Method in class net.sf.eBus.text.TokenLexerContext
 
StringMap_BadString_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
StringMap_Escaped_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
StringMap_Start_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
stringPropertyNames(Pattern) - Method in class net.sf.eBus.util.Properties
Returns a set of keys in this property list whose key matches the given regular expression pattern p and the corresponding values are strings.

T

TernarySearchTree<V> - Class in net.sf.eBus.util
Ternary search tree (TST)-based implementation of the Map interface.
TernarySearchTree() - Constructor for class net.sf.eBus.util.TernarySearchTree
Constructs an empty ternary search tree map.
TernarySearchTree(Map<? extends CharSequence, ? extends V>) - Constructor for class net.sf.eBus.util.TernarySearchTree
Construct a new TernarySearchTree with the same mappings as the specified Map.
TestIndex - Annotation Type in net.sf.eBus.test
This annotation is used to provide ordering to JUnit 4 tests.
TimerEvent - Class in net.sf.eBus.util
A TimerEvent event is sent to those TimerTaskListener objects registered with an expired TimerTask.
TimerEvent(TimerTask, Object) - Constructor for class net.sf.eBus.util.TimerEvent
Creates a timer event for the specified timer task.
TimerTask - Class in net.sf.eBus.util
An eBus.util.TimerTask associates a timer task with a TimerTaskListener.
TimerTask(TimerTaskListener) - Constructor for class net.sf.eBus.util.TimerTask
Creates a new TimerTask.
TimerTask(TimerTaskListener, Object) - Constructor for class net.sf.eBus.util.TimerTask
Creates a new TimerTask.
TimerTaskListener - Interface in net.sf.eBus.util
Classes using TimerTask should implement this interface.
Token - Class in net.sf.eBus.text
Contains the token's type, corresponding Java object, raw text and the input line number where the token was found.
Token(int, Object, String, int) - Constructor for class net.sf.eBus.text.Token
Creates a token with the given attributes.
token() - Method in class net.sf.eBus.text.Token
Returns the raw token string.
TOKEN_COUNT - Static variable in class net.sf.eBus.text.TokenLexer
There are eleven (11) predefined token types.
TokenLexer - Class in net.sf.eBus.text
Provides a generalized token lexer capability.
TokenLexer(Map<String, Integer>, Map<String, Integer>, Map<Character, Integer>) - Constructor for class net.sf.eBus.text.TokenLexer
Creates a message layout lexer using the specified keywords, operator and delimiters.
TokenLexer.LexMode - Enum in net.sf.eBus.text
The lexer will either analyze the tokens identifying the type or collect raw input until a terminating delimiter is found.
TokenLexerContext - Class in net.sf.eBus.text
 
TokenLexerContext(TokenLexer) - Constructor for class net.sf.eBus.text.TokenLexerContext
 
TokenLexerContext(TokenLexer, int) - Constructor for class net.sf.eBus.text.TokenLexerContext
 
TokenLexerContext(TokenLexer, State7) - Constructor for class net.sf.eBus.text.TokenLexerContext
 
TokenMap_CharacterSet_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_CommentStart_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Done_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_DoubleQuoteString_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_EndOfFile_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Escape_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Hex22_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Hex2_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Hex42_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Hex43_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Hex44_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Hex4_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Mantissa_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_MantissaStart_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Name_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_NameError_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_NewComment_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Number_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Octal2_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Octal3_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_Octal_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_OldComment_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Operator_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Period_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Range_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_RangeStart_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
TokenMap_SignOperator_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_SingleQuoteString_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Start_STATE_ID - Static variable in class net.sf.eBus.text.TokenLexerContext
 
TokenMap_Start_STATE_ID - Static variable in class net.sf.eBus.util.regex.RegexLexerContext
 
toString() - Method in class net.sf.eBus.text.Token
Returns this token's textual representation.
toString() - Method in class net.sf.eBus.util.IndexCache.Index
Returns the textual representation of this index.
toString() - Method in class net.sf.eBus.util.IndexCache
Returns a textual representation of this index cache.
toString() - Method in class net.sf.eBus.util.IndexPool
Returns a textual representation of this index pool.
toString() - Method in class net.sf.eBus.util.MultiKey
Returns a textual representation of this multi-valued key.
toString() - Method in class net.sf.eBus.util.regex.AnyChar
Returns a textual representation of a single character match.
toString() - Method in class net.sf.eBus.util.regex.CharacterSet
Returns a textual representation of a character set.
toString() - Method in class net.sf.eBus.util.regex.Literal
Returns a textual representation of a literal.
toString() - Method in class net.sf.eBus.util.regex.Pattern
Returns this pattern's textual representation.
type() - Method in class net.sf.eBus.text.Token
Returns the token type.
type() - Method in class net.sf.eBus.util.regex.Component
Returns this component's type.

U

unicode(char) - Method in class net.sf.eBus.text.TokenLexerContext
 
up_arrow(int) - Method in class net.sf.eBus.util.regex.RegexLexerContext
 
URL_FORMAT - Static variable in class net.sf.eBus.util.JarFileLoader
Place the JAR file path within this string to create the JAR URL.

V

value() - Method in class net.sf.eBus.text.Token
Returns the token value.
value() - Method in class net.sf.eBus.util.TimerEvent
Returns the timer task associated value.
valueOf(String) - Static method in enum net.sf.eBus.text.TokenLexer.LexMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.eBus.util.EventThread.RunState
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.eBus.util.logging.StatusReport.ReportFrequency
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.eBus.text.TokenLexer.LexMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.eBus.util.EventThread.RunState
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.eBus.util.logging.StatusReport.ReportFrequency
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class net.sf.eBus.util.TernarySearchTree
Returns a collection of all the trees values.
values(Pattern) - Method in class net.sf.eBus.util.TernarySearchTree
Returns a non-null collection of all trees values with keys matching the given pattern.
values(Pattern, int) - Method in class net.sf.eBus.util.TernarySearchTree
Returns a collection of at most maxMatches values whose keys match the given pattern.

W

whitespace(char) - Method in class net.sf.eBus.text.TokenLexerContext
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2021. All rights reserved.