A C D E F G H I J K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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.
- 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}.
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
CalendarFileHandlerand configures it according toLogManagerconfiguration properties. - CalendarFileHandler(String, String, String, int) - Constructor for class net.sf.eBus.util.logging.CalendarFileHandler
-
Creates a new
CalendarFileHandlerinstance 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).
- CharacterSet - Class in net.sf.eBus.util.regex
-
This regular expression component matches only those characters listed in its set.
- 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.
- COMMENT - Static variable in class net.sf.eBus.text.TokenLexer
-
Either a
//or a slash star comment (3). - 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 indexvalues. - containsIndex(String) - Method in class net.sf.eBus.util.IndexCache
-
Returns
trueif this cache contains the named index andfalseotherwise. - containsKey(Object) - Method in class net.sf.eBus.util.TernarySearchTree
-
Returns
trueif the key is in the ternary search tree andfalseotherwise. - containsValue(Object) - Method in class net.sf.eBus.util.TernarySearchTree
-
Returns
trueifvalueis stored in the ternary search tree andfalseotherwise. - COOKED - net.sf.eBus.text.TokenLexer.LexMode
-
When in cooked mode identify the token type.
- 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
- 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.
- 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
trueif the cache automatically resets to the initial index once the final index is reached. - dump(byte[], int, int, String) - Static method in class net.sf.eBus.util.HexDump
-
Returns a text representation of the given byte array.
- dump(byte[], String) - Static method in class net.sf.eBus.util.HexDump
-
Dump out
data's entire contents starting at byte zero.
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
maxMatcheskey-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).
- equals(Object) - Method in class net.sf.eBus.text.Token
-
Returns
trueifois a non-nullTokeninstance of the same type and raw token text;falseotherwise. - equals(Object) - Method in class net.sf.eBus.util.MultiKey
-
Returns
trueifkeyis 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.regex.Pattern
-
Returns
trueif this object and the argumentobjectare both regular expression patterns with the same underlying pattern string andfalseotherwise. - equalTo(char) - Method in class net.sf.eBus.util.regex.AnyChar
-
Returns
trueif this component is equal to the characterc; returnsfalseotherwise. - equalTo(char) - Method in class net.sf.eBus.util.regex.CharacterSet
-
Returns
trueif this component is equal to the characterc; returnsfalseotherwise. - equalTo(char) - Method in class net.sf.eBus.util.regex.Component
-
Returns
trueif this component is equal to the characterc; returnsfalseotherwise. - equalTo(char) - Method in class net.sf.eBus.util.regex.Literal
-
Returns
trueif this component is equal to the characterc; returnsfalseotherwise. - ERROR - Static variable in class net.sf.eBus.text.TokenLexer
-
An error occurred when seeking the next token (0).
- execute(Runnable) - Method in class net.sf.eBus.util.DirectExecutor
-
Immediately executes the task in the current thread.
F
- FIFTEEN_MINUTE - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every fifteen minutes.
- finalIndex() - Method in class net.sf.eBus.util.IndexCache.Index
-
Returns the maximum cached index.
- FIVE_MINUTE - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every five minutes.
- 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
Stringresulting from formatting theLogRecord. - 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.
- getFrequency() - Method in enum net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Returns the report frequency in milliseconds.
- 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. - getLevel() - Method in class net.sf.eBus.util.logging.StatusReport
-
Returns the
java.util.logging.Levelat which the status report is logged. - getLogger() - Method in class net.sf.eBus.util.logging.StatusReport
-
Returns the
java.util.logging.Loggerto which the status report is written. - 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
StatusReportinstance. - greaterThan(char) - Method in class net.sf.eBus.util.regex.AnyChar
-
Returns
trueif this component is greater than the characterc; returnsfalseotherwise. - greaterThan(char) - Method in class net.sf.eBus.util.regex.CharacterSet
-
Returns
trueif this component is greater than the characterc; returnsfalseotherwise. - greaterThan(char) - Method in class net.sf.eBus.util.regex.Component
-
Returns
trueif this component is greater than the characterc; returnsfalseotherwise. - greaterThan(char) - Method in class net.sf.eBus.util.regex.Literal
-
Returns
trueif this component is greater than the characterc; returnsfalseotherwise.
H
- 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
TimerTaskhas 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.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. - HOURLY - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every sixty minutes.
I
- increment() - Method in class net.sf.eBus.util.IndexCache.Index
-
Returns the increment used to obtain the next cached index.
- index() - Method in annotation type net.sf.eBus.test.TestIndex
-
Returns the test order 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
-
IndexPoolprovides 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
trueif the named index cache is open andfalseif it is not. - isEmpty() - Method in class net.sf.eBus.util.IndexCache
-
Returns
trueif this cache has no indices andfalseif it has at least one index. - isEmpty() - Method in class net.sf.eBus.util.TernarySearchTree
-
Returns
trueif this map contains no key-value mappings andfalseotherwise. - isNegated() - Method in class net.sf.eBus.util.regex.CharacterSet
-
Returns
trueif this character is negated (^) andfalseotherwise. - isValue(Object) - Method in class net.sf.eBus.text.Token
-
Returns
trueifvalueequals the token value andfalseotherwise.
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
maxMatcheswords matching the query.
L
- lastModified() - Method in class net.sf.eBus.util.IndexCache
-
Returns the timestamp when the cache was last modified.
- lessThan(char) - Method in class net.sf.eBus.util.regex.AnyChar
-
Returns
trueif this component is less than the characterc; returnsfalseotherwise. - lessThan(char) - Method in class net.sf.eBus.util.regex.CharacterSet
-
Returns
trueif this component is less than the characterc; returnsfalseotherwise. - lessThan(char) - Method in class net.sf.eBus.util.regex.Component
-
Returns
trueif this component is less than the characterc; returnsfalseotherwise. - lessThan(char) - Method in class net.sf.eBus.util.regex.Literal
-
Returns
trueif this component is less than the characterc; returnsfalseotherwise. - 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() - Method in class net.sf.eBus.util.regex.Literal
-
Returns the literal character.
- Literal - Class in net.sf.eBus.util.regex
-
This regular expression component matches one character.
- LITERAL - Static variable in class net.sf.eBus.util.regex.Component
-
A literal component matches exactly.
- load() - Method in class net.sf.eBus.util.Properties
-
Reloads properties from the 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.
- 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.
M
- matches(CharSequence) - Method in class net.sf.eBus.util.regex.Pattern
-
Returns
trueif this regular expression pattern acceptsinputandfalseotherwise. - 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
Mapcollections. - 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
MultiKeysubclass 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
MultiKeysubclass 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
MultiKeysubclass 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() - Method in class net.sf.eBus.util.IndexCache.Index
-
Returns the index name.
- NAME - Static variable in class net.sf.eBus.text.TokenLexer
-
An alphanumberic identifier (6).
- 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
-
TokenLexertakes 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.loggingpackage 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. - 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.
- open(String) - Static method in class net.sf.eBus.util.IndexCache
-
Returns the
IndexCacheinstance associated withcacheFileName. - 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.BlockJUnit4ClassRunnerand overrides thecomputeTestMethods()method to guarantee that test methods are run in a user-defined order using theTestIndexannotation. - 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() - Method in class net.sf.eBus.util.regex.Pattern
-
Returns the original regular expression pattern string.
- Pattern - Class in net.sf.eBus.util.regex
-
A compiled regular expression representation.
- PatternFormatter - Class in net.sf.eBus.util.logging
-
Formats
LogRecords usingprintf-like format specifiers. - PatternFormatter() - Constructor for class net.sf.eBus.util.logging.PatternFormatter
-
Creates a new
PatternFormatterand configures it according toLogManagerconfiguration properties. - PatternFormatter(String) - Constructor for class net.sf.eBus.util.logging.PatternFormatter
-
Constructs a
PatternFormatterinstance for the given pattern. - Properties - Class in net.sf.eBus.util
-
Propertiesextendsjava.util.Propertiesto include: Loading properties from a named file and returning anet.sf.eBus.util.Propertiesobject. - 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
Propertiesobject 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
-
Propertiescalls 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
StreamHandlerpublishes the log record. - publish(LogRecord) - Method in class net.sf.eBus.util.logging.NullHandler
-
Quietly ignores the log record.
- 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.
R
- RAW - net.sf.eBus.text.TokenLexer.LexMode
-
When in raw mode, collect characters until the terminating delimiter is found.
- rawMode(char, char) - Method in class net.sf.eBus.text.TokenLexer
-
Switch to raw tokenization.
- 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
trueif the named index was removed andfalseif 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.
- 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.
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.
- setLevel(Level) - Method in class net.sf.eBus.util.logging.StatusReport
-
Sets the
java.util.logging.Levelat which the status report is logged. - setLogger(Logger) - Method in class net.sf.eBus.util.logging.StatusReport
-
Sets the
java.util.logging.Logger. - 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).
- 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.
- store(File, String) - Method in class net.sf.eBus.util.Properties
-
Stores properties in the named properties file using the provided header comment.
- 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.
- STRING - Static variable in class net.sf.eBus.text.TokenLexer
-
A double-quoted string (9).
- 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
pand the corresponding values are strings.
T
- TEN_MINUTE - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every ten minutes.
- TernarySearchTree<V> - Class in net.sf.eBus.util
-
Ternary search tree (TST)-based implementation of the
Mapinterface. - 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
TernarySearchTreewith the same mappings as the specifiedMap. - TestIndex - Annotation Type in net.sf.eBus.test
-
This annotation is used to provide ordering to JUnit 4 tests.
- THIRTY_MINUTE - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every thirty minutes.
- THIRTY_SECONDS - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every one minute.
- TimerEvent - Class in net.sf.eBus.util
- 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.TimerTaskassociates a timer task with aTimerTaskListener. - 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
TimerTaskshould implement this interface. - token() - Method in class net.sf.eBus.text.Token
-
Returns the raw token string.
- 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_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.
- 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.
- TWENTY_MINUTE - net.sf.eBus.util.logging.StatusReport.ReportFrequency
-
Report every twenty minutes.
- 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
- 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.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.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-
nullcollection 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
maxMatchesvalues whose keys match the given pattern.
All Classes All Packages