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

A

AbstractByteFilterInputStream - Class in org.yajul.io
Implements the array based read method to simplify writing 'byte at a time' FilterInputStream classes.
AbstractByteFilterInputStream(InputStream, int) - Constructor for class org.yajul.io.AbstractByteFilterInputStream
Creates a new AbstractByteFilterInputStream with a built in 'pushback buffer' which enables the 'unread' methods.
AbstractByteFilterInputStream(InputStream) - Constructor for class org.yajul.io.AbstractByteFilterInputStream
Creates a new AbstractByteFilterInputStream.
AbstractByteFilterReader - Class in org.yajul.io
Implements the array based read method to simplify writing 'byte at a time' FilterReader classes.
AbstractByteFilterReader(Reader) - Constructor for class org.yajul.io.AbstractByteFilterReader
Creates a new AbstractByteFilterReader.
AbstractScanner - Class in org.yajul.util
Classpath scanner adapted from Seam.
AbstractScanner(String) - Constructor for class org.yajul.util.AbstractScanner
Scans everything in the classpath where the specified resource is located.
AbstractScanner(String, ClassLoader) - Constructor for class org.yajul.util.AbstractScanner
 
accessorMethods() - Method in class org.yajul.util.BeanProperties
Returns an iterator that returns all AccessorMethods for all properties in the class.
add(Throwable) - Method in exception org.yajul.util.ExceptionList
Adds a new exception (Throwable) to the list.
addChild(Document, Element, String) - Static method in class org.yajul.xml.DOMUtil
Adds a child element to the specified parent element.
addChildWithText(Document, Element, String, String) - Static method in class org.yajul.xml.DOMUtil
Adds a child element to the specified parent element containing some text.
addComponents(MicroContainer) - Method in interface org.yajul.micro.Configuration
 
append(Object) - Method in class org.yajul.util.FieldPrinter
Appends all of the fields of the object to the string buffer.
appendIfNotEmpty(String, StringBuffer) - Static method in class org.yajul.util.StringUtil
Appends the string to the string buffer IFF it is not 'empty' (null or zero length).

B

Base64Decoder - Class in org.yajul.io
Decode a BASE64 encoded input stream to some output stream.
Base64Decoder() - Constructor for class org.yajul.io.Base64Decoder
Default constructor.
Base64Decoder(InputStream, OutputStream) - Constructor for class org.yajul.io.Base64Decoder
Create a decoder to decode a stream.
Base64Decoder(String) - Constructor for class org.yajul.io.Base64Decoder
Create a decoder to decode a String.
Base64Decoder(byte[], int, int) - Constructor for class org.yajul.io.Base64Decoder
Creates a decoder that will decode the specified array of bytes.
Base64Encoder - Class in org.yajul.io
BASE64 encoder implementation.
Base64Encoder(String) - Constructor for class org.yajul.io.Base64Encoder
Create a new Base64 encoder, to encode the given string.
Base64Encoder(byte[]) - Constructor for class org.yajul.io.Base64Encoder
Create a new Base64 encoder, to encode the given array of bytes.
Base64Encoder(InputStream, OutputStream) - Constructor for class org.yajul.io.Base64Encoder
Create a new Base64 encoder, encoding input to output.
Base64FormatException - Exception in org.yajul.io
Exception for invalid BASE64 streams.
Base64FormatException(String) - Constructor for exception org.yajul.io.Base64FormatException
Create that kind of exception
Base64InputStream - Class in org.yajul.io
Provides decoding of BASE64 encoded data as an input stream filter.
Base64InputStream(InputStream) - Constructor for class org.yajul.io.Base64InputStream
Creates a new Base64 decoding input stream, using the input stream (encoded stream).
Base64OutputStream - Class in org.yajul.io
Provides BASE64 encoding of binary data as an output stream filter.
Base64OutputStream(OutputStream) - Constructor for class org.yajul.io.Base64OutputStream
Creates a new BASE64 encoding output stream.
BasicScanner - Class in org.yajul.util
A classpath scanner that collects all resource names in the directory or archive where the 'tag resource' is located.
BasicScanner(String) - Constructor for class org.yajul.util.BasicScanner
 
BasicScanner(String, ClassLoader) - Constructor for class org.yajul.util.BasicScanner
 
BeanProperties - Class in org.yajul.util
Represents the property accessor methods for a given class, and provides methods for accessing the properties at run-time.
BeanProperties(Class) - Constructor for class org.yajul.util.BeanProperties
Constructs a set of property accessors from the class.
bootstrap(String, ClassLoader) - Method in class org.yajul.micro.MicroContainer
Set up component definitions from properties resources in the classpath.
BOOTSTRAP_RESOURCE_NAME - Static variable in class org.yajul.micro.SingletonManager
The resource that the bootstrapper looks for.
ByteCountingInputStream - Class in org.yajul.io
InputStream class that counts the number of bytes read.
ByteCountingInputStream(InputStream) - Constructor for class org.yajul.io.ByteCountingInputStream
 
ByteCountingOutputStream - Class in org.yajul.io
Output stream filter that counts the number of bytes written to the underlying stream.
ByteCountingOutputStream(OutputStream) - Constructor for class org.yajul.io.ByteCountingOutputStream
Creates a new output stream that counts then number of bytes written to the output stream specified.
Bytes - Class in org.yajul.util
Yet another class that turns Java primatives into arrays of bytes, and back.
Bytes() - Constructor for class org.yajul.util.Bytes
 

C

classLoader - Variable in class org.yajul.util.AbstractScanner
 
clear() - Method in class org.yajul.util.PropertyMap
 
close() - Method in class org.yajul.io.TeeOutputStream
Closes this output stream and releases any system resources associated with the stream.
close() - Method in class org.yajul.io.WriterOutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class org.yajul.jms.Endpoint
 
close(MessageProducer, Session, Connection) - Static method in class org.yajul.jms.JmsHelper
Clean up JMS producer objects.
close(MessageConsumer, Session, Connection) - Static method in class org.yajul.jms.JmsHelper
Clean up JMS consumer objects.
close() - Method in class org.yajul.log.JuliToLog4jHandler
 
close(Connection, Statement, ResultSet) - Static method in class org.yajul.sql.JdbcHelper
Closes the result set, statement, and connection if they are not null.
closeSender(MessageSender) - Static method in class org.yajul.jms.MessageSender
 
COLUMN_NAME_INDEX - Static variable in class org.yajul.sql.JdbcHelper
 
ColumnMetaData - Class in org.yajul.sql
Bean that encapsulates database column metadata.
ColumnMetaData(String, String, ResultSet) - Constructor for class org.yajul.sql.ColumnMetaData
Creates column meta data from the column name, table name, and result set positioned at the proper column.
Configuration - Interface in org.yajul.micro
Classes in bootstrap that implement this interface can define any number of components in the microcontainer.
Copier - Class in org.yajul.util
Provides stream and reader/writer copying functions.
Copier() - Constructor for class org.yajul.util.Copier
 
copy(InputStream, OutputStream, int) - Static method in class org.yajul.io.StreamCopier
Copies the input stream into the output stream in a thread safe and efficient manner.
copy(InputStream, OutputStream) - Static method in class org.yajul.io.StreamCopier
Copies the input stream into the output stream in a thread safe and efficient manner.
copy(Object, Object) - Method in class org.yajul.util.BeanProperties
Copies all of the properties from one bean into another.
copy(InputStream, OutputStream, int, int) - Static method in class org.yajul.util.Copier
Copies the input stream into the output stream in an efficient manner.
copy(Reader, Writer, int, int) - Static method in class org.yajul.util.Copier
Copies the input stream (reader) into the output stream (writer) in an efficient manner.
createDocument(String) - Static method in class org.yajul.xml.DOMUtil
Creates a new DOM document with the specified root element as the 'document element'.
createDocument() - Static method in class org.yajul.xml.DOMUtil
Creates a new DOM document with no root element.
createInstance(String, ClassLoader) - Static method in class org.yajul.util.ReflectionUtil
Creates a new instance of the class using the specified loader.
createInstance(String) - Static method in class org.yajul.util.ReflectionUtil
Creates a new instance of the class, throwing an initialization error, if there was a problem.
createInstance(String, Class<T>) - Static method in class org.yajul.util.ReflectionUtil
Type checked version of create instance using the default class loader.
createInstanceFromProperties(Properties, String, String, boolean) - Static method in class org.yajul.util.ObjectFactory
Creates an instance from the specified set of properties If the class implements Initializeable, it will be initialized.
createInstanceFromPropertiesResource(String, String, String, boolean) - Static method in class org.yajul.util.ObjectFactory
Creates an instance from the specified property in the specified properties-file resource, which will be loaded from the current thread's class loader.
createObjectMessage() - Method in class org.yajul.jms.MessageSender
 
createSender() - Method in interface org.yajul.jms.MessageSender.SenderFactory
 
createTemporaryTopic() - Method in class org.yajul.jms.MessageSender
 

D

DateFormatConstants - Interface in org.yajul.util
Defines useful date / time formatting constants: ISO 8601 format strings. Commonly used date format strings. User: josh Date: Nov 24, 2003 Time: 9:58:56 PM
decode(String) - Static method in class org.yajul.io.Base64Decoder
Convenience method that will decode the given string.
decode(byte[]) - Static method in class org.yajul.io.Base64Decoder
Convenience method that will decode the given byte array.
decode(byte[], int, int) - Static method in class org.yajul.io.Base64Decoder
Convenience method that will decode the given byte array.
DEFAULT_BUFFER_SIZE - Static variable in class org.yajul.io.StreamCopier
The default buffer size.
DEFAULT_BUFFER_SIZE - Static variable in class org.yajul.util.Copier
The default buffer size.
defaultContainer() - Static method in class org.yajul.micro.SingletonManager
 
defaultToString(Object) - Static method in class org.yajul.util.StringUtil
Prints the class name of the object, followed by '@', followed by the hash code of the object, just like java.lang.Object.toString().
doInTx(UserTransaction, TransactionHelper.Action) - Static method in class org.yajul.jta.TransactionHelper
 
DOMUtil - Class in org.yajul.xml
Provides commonly used DOM operations in convenient methods.
DOMUtil() - Constructor for class org.yajul.xml.DOMUtil
 

E

EchoInputStream - Class in org.yajul.io
An input stream that echoes all data read from the input stream into an output stream.
EchoInputStream(InputStream, OutputStream) - Constructor for class org.yajul.io.EchoInputStream
Creates new EchoInputStream that writes everything read from 'in' into 'out'.
encode(String) - Static method in class org.yajul.io.Base64Encoder
A static utility method that encodes a string.
encode(byte[]) - Static method in class org.yajul.io.Base64Encoder
A static utility method that encodes an array of bytes.
endOfStream() - Method in class org.yajul.io.TokenizingInputStream
Returns true if the end of the underlying stream was encountered.
Endpoint - Class in org.yajul.jms
Generic JMS producer or consumer.
Endpoint(InitialContext, String, String, String) - Constructor for class org.yajul.jms.Endpoint
 
Endpoint(InitialContext, String, Destination, String) - Constructor for class org.yajul.jms.Endpoint
 
entrySet() - Method in class org.yajul.util.PropertyMap
 
equals(Object) - Method in class org.yajul.util.PropertyMap.Entry
 
ExceptionList - Exception in org.yajul.util
A checked exception that contains a list of other exceptions.
ExceptionList() - Constructor for exception org.yajul.util.ExceptionList
Constructs a new exception with null as its detail message.
ExceptionList(String) - Constructor for exception org.yajul.util.ExceptionList
Constructs a new exception with the specified detail message.
ExceptionList(String, Throwable) - Constructor for exception org.yajul.util.ExceptionList
Constructs a new exception with the specified detail message and cause.
ExceptionList(Throwable) - Constructor for exception org.yajul.util.ExceptionList
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
ExceptionUtil - Class in org.yajul.util
Helper methods for exceptions.
ExceptionUtil() - Constructor for class org.yajul.util.ExceptionUtil
 
exists(String) - Static method in class org.yajul.util.ResourceUtil
Returns true if the specified resource exists.

F

FieldPrinter - Class in org.yajul.util
Prints the fields of an object into a string buffer.
FieldPrinter() - Constructor for class org.yajul.util.FieldPrinter
 
FieldPrinter(StringBuilder) - Constructor for class org.yajul.util.FieldPrinter
Creates a new object field printer, that will append to the supplied string builder.
filenameToClassname(String) - Static method in class org.yajul.util.AbstractScanner
 
filenameToClassname(String) - Static method in class org.yajul.util.ReflectionUtil
Turns a class file name into a class name.
filenameToPackage(String) - Static method in class org.yajul.util.AbstractScanner
 
FileUtil - Class in org.yajul.io
Provides utility methods for dealing with files (java.io.File).
FileUtil() - Constructor for class org.yajul.io.FileUtil
 
filterByMessageObjectClass(List<Message>, Class<T>) - Static method in class org.yajul.jms.MessageReceiver
Returns a list of message objects of a particular class.
finalize() - Method in class org.yajul.jms.Endpoint
 
findClassURL(Class) - Static method in class org.yajul.util.ReflectionUtil
Returns the URL where the specified class is located in the current classpath.
flush() - Method in class org.yajul.io.Base64OutputStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush() - Method in class org.yajul.io.HexDumpOutputStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush() - Method in class org.yajul.io.TeeOutputStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush() - Method in class org.yajul.io.WriterOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in class org.yajul.log.JuliToLog4jHandler
 

G

getAccessorMethods(String) - Method in class org.yajul.util.BeanProperties
Returns the pair of accessor methods for the given property name.
getAttributeMap(Element) - Static method in class org.yajul.xml.DOMUtil
Returns a map of all the attributes in the element.
getAttributeNames(Element) - Static method in class org.yajul.xml.DOMUtil
Returns the names of all the attributes in the element as an array of strings.
getAverageThroughput() - Method in class org.yajul.io.ByteCountingInputStream
Returns the average throughput in bytes per second.
getBooleanAttribute(Element, String, boolean) - Static method in class org.yajul.xml.DOMUtil
Returns the value of the specified attribute as a boolean primitive.
getByteCount() - Method in class org.yajul.io.ByteCountingInputStream
Returns the number of bytes read from the input stream.
getByteCount() - Method in class org.yajul.io.ByteCountingOutputStream
Returns the number of bytes written.
getBytes(String, String) - Static method in class org.yajul.util.StringUtil
Returns the String encoded into an array of bytes using the named charset.
getCause() - Method in exception org.yajul.util.ExceptionList
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getChildElements(Element) - Static method in class org.yajul.xml.DOMUtil
Returns the list of child elements in a parent element
getChildElements(Document) - Static method in class org.yajul.xml.DOMUtil
Returns a list of child elements.
getChildElements(Element, String) - Static method in class org.yajul.xml.DOMUtil
Returns a list of ALL child elements in this element (either directly or inside a descendant) with the specified tag name.
getChildElements(Document, String) - Static method in class org.yajul.xml.DOMUtil
Returns an array of child elements with the specified tag name.
getChildText(Element) - Static method in class org.yajul.xml.DOMUtil
Returns the text inside an element as a string.
getClassName() - Method in class org.yajul.util.BeanProperties
Returns the name of the class.
getClasspathRoot(Class) - Static method in class org.yajul.util.ObjectFactory
Returns the base part of the classpath where the specified class can be found.
getClassResourceName(Class) - Static method in class org.yajul.util.ReflectionUtil
Returns the resource name for the specified class.
getColumnNames(Connection, String) - Static method in class org.yajul.sql.JdbcHelper
Returns all column names in a table as a list of strings.
getColumnSize() - Method in class org.yajul.sql.ColumnMetaData
Returns the column size.
getComponent(Object, Class<? extends Annotation>) - Method in class org.yajul.micro.MicroContainer
 
getConnection() - Method in class org.yajul.jms.Endpoint
 
getConstantNameMap(Class) - Static method in class org.yajul.util.ReflectionUtil
Returns a map of (Integer->String) from the values of any static integer constants in the class.
getConsumer() - Method in class org.yajul.jms.Endpoint
 
getCurrentClassLoader() - Static method in class org.yajul.util.ReflectionUtil
 
getDataType() - Method in class org.yajul.sql.ColumnMetaData
Returns the column data type (see java.sql.Types).
getDataTypeName() - Method in class org.yajul.sql.ColumnMetaData
Returns the name of the data type.
getDefaultContainer() - Method in class org.yajul.micro.SingletonManager
 
getDefaultSingleton(Class<T>) - Static method in class org.yajul.micro.SingletonManager
 
getDestination() - Method in class org.yajul.jms.Endpoint
 
getDocumentBuilder() - Static method in class org.yajul.xml.DOMUtil
Returns a new document builder.
getDoubleProperty(Object, String) - Method in class org.yajul.util.BeanProperties
Returns a double property value.
getElapsedTime() - Method in class org.yajul.io.ByteCountingInputStream
Returns the elapsed time in milliseconds since the first byte was read, or since the resetStatistics() method was called.
getException() - Method in class org.yajul.io.StreamCopier
Returns the exception thrown in the run() method, if any.
getException() - Method in class org.yajul.jmx.Proxy
Returns any exception thrown while starting the implementation.
getGetter() - Method in class org.yajul.util.PropertyAccessors
Returns the getter method.
getHandlerLevel() - Method in class org.yajul.log.JuliToLog4JService
 
getHandlerLevel() - Method in interface org.yajul.log.JuliToLog4JServiceMBean
 
getImplementation() - Method in class org.yajul.jmx.Proxy
Returns the implementation.
getImplementationClassName() - Method in class org.yajul.jmx.Proxy
 
getInstance() - Static method in class org.yajul.jmx.JmxBridge
 
getInstance() - Static method in class org.yajul.micro.SingletonManager
 
getIntAttribute(Element, String, int) - Static method in class org.yajul.xml.DOMUtil
Returns the value of the specified attribute as an int primitive.
getIntProperty(Object, String) - Method in class org.yajul.util.BeanProperties
Returns an int property value.
getItems() - Method in class org.yajul.util.BasicScanner
 
getKey() - Method in class org.yajul.util.PropertyMap.Entry
 
getLocalizedMessage() - Method in exception org.yajul.util.ExceptionList
Creates a localized description of this throwable.
getMessage() - Method in exception org.yajul.util.ExceptionList
Returns the detail message string of this throwable.
getName() - Method in class org.yajul.sql.ColumnMetaData
Returns the name of the column.
getName() - Method in class org.yajul.util.PropertyAccessors
Returns the name of the property.
getNullable() - Method in class org.yajul.sql.ColumnMetaData
Returns the nullalbe attribute of the column.
getNullableLongProperty(Message, String) - Static method in class org.yajul.jms.JmsHelper
 
getObject(Message) - Static method in class org.yajul.jms.JmsHelper
Returns the object in the JMS message if it's an object message.
getProducer() - Method in class org.yajul.jms.Endpoint
 
getProperty(Object, String) - Method in class org.yajul.util.BeanProperties
Returns the value of the specified property.
getPropertyNames() - Method in class org.yajul.util.BeanProperties
Returns the set of all the property name Strings in the class.
getProxy(String) - Method in class org.yajul.jmx.JmxBridge
 
getReplyTimeout() - Method in class org.yajul.jms.MessageSender
 
getResourceAsStream(String) - Static method in class org.yajul.util.ResourceUtil
Returns an input stream for the named resource, or null if it was not found.
getSession() - Method in class org.yajul.jms.Endpoint
 
getSetter() - Method in class org.yajul.util.PropertyAccessors
Returns the setter method.
getSingletonContainer(String) - Static method in class org.yajul.micro.SingletonManager
 
getStackTraceAsString(Throwable) - Static method in class org.yajul.util.ExceptionUtil
Puts a stack trace into a string.
getStringProperty(Message, String) - Static method in class org.yajul.jms.JmsHelper
 
getTableName() - Method in class org.yajul.sql.ColumnMetaData
Returns the table name that the column is in.
getTableNames(Connection) - Static method in class org.yajul.sql.JdbcHelper
Returns all table names as a list of strings.
getTargetLogger(Class) - Static method in class org.yajul.log.JuliToLog4jHandler
 
getterPropertyName(Method) - Static method in class org.yajul.util.ReflectionUtil
Returns the name of the property IFF the method is a property getter, or null if the method is not a getter.
getTokenCount() - Method in class org.yajul.io.TokenizingInputStream
Returns the number of tokens matched so far.
getType() - Method in class org.yajul.util.PropertyAccessors
Returns the type of the property.
getURLsFromClassLoader() - Method in class org.yajul.util.AbstractScanner
 
getValue() - Method in class org.yajul.util.PropertyMap.Entry
 

H

handleException(UserTransaction, Exception) - Static method in class org.yajul.jta.TransactionHelper
 
hasConsumer() - Method in class org.yajul.jms.Endpoint
 
hashCode() - Method in class org.yajul.util.PropertyMap.Entry
 
HEX_BYTES_LOWER - Static variable in class org.yajul.util.Bytes
Lowercase hex characters as bytes.
HEX_BYTES_UPPER - Static variable in class org.yajul.util.Bytes
Uppercase hex characters as bytes.
HEX_CHARS_LOWER - Static variable in class org.yajul.util.Bytes
Lowercase hex characters.
HEX_CHARS_UPPER - Static variable in class org.yajul.util.Bytes
Uppercase hex characters.
HEX_LOWER - Static variable in class org.yajul.util.Bytes
 
HEX_UPPER - Static variable in class org.yajul.util.Bytes
 
hexBytes(byte[], byte[], byte[], int) - Static method in class org.yajul.util.Bytes
Converts the byte into a two element array of hex characters.
hexBytes(byte[], int, byte[]) - Static method in class org.yajul.util.Bytes
Converts the byte into a two element array of hex characters.
hexChars(char[], int, char[]) - Static method in class org.yajul.util.StringUtil
Converts the byte into a two element array of hex characters.
HexDumpOutputStream - Class in org.yajul.io
An output stream that prints lines of hexadecimal output containing the byte offset (in hex), the hex representation of the types, and the ASCII representation of the bytes.
HexDumpOutputStream(OutputStream, int) - Constructor for class org.yajul.io.HexDumpOutputStream
Creates an output stream filter built on top of the specified underlying output stream.
HexEncodingOutputStream - Class in org.yajul.io
Encodes the input in hexadecimal form.
HexEncodingOutputStream(OutputStream) - Constructor for class org.yajul.io.HexEncodingOutputStream
 
hexString(byte[]) - Static method in class org.yajul.util.StringUtil
Returns a string containing the hexadecimal representation of the array of bytes.
hexString(byte[], String) - Static method in class org.yajul.util.StringUtil
Returns a string containing the hexadecimal representation of the array of bytes, separated by an optional string.
hexString(StringBuffer, byte[], String, boolean) - Static method in class org.yajul.util.StringUtil
Appends the hex representation of the bytes to the string buffer, separated by an optional separator string.

I

InitializationError - Error in org.yajul.util
Thrown when a class initializer encounters an unexpected state.
InitializationError() - Constructor for error org.yajul.util.InitializationError
Default constructor.
InitializationError(String) - Constructor for error org.yajul.util.InitializationError
Creates a new exception with no nested exception and the specified detail message.
InitializationError(Throwable) - Constructor for error org.yajul.util.InitializationError
Constructs a InitializationError with the specified Throwable as the nested exception.
InitializationError(String, Throwable) - Constructor for error org.yajul.util.InitializationError
Constructs a InitializationError with the specified detail message and the specified throwable as the nested exception.
InitializationException - Exception in org.yajul.util
A general purpose checked exception for use during object initialization.
InitializationException() - Constructor for exception org.yajul.util.InitializationException
Constructs a new exception with null as its detail message.
InitializationException(String) - Constructor for exception org.yajul.util.InitializationException
Constructs a new exception with the specified detail message.
InitializationException(String, Throwable) - Constructor for exception org.yajul.util.InitializationException
Constructs a new exception with the specified detail message and cause.
InitializationException(Throwable) - Constructor for exception org.yajul.util.InitializationException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
initialize(byte[], int, int) - Method in class org.yajul.io.Base64Decoder
Initializes the decoder with an array of base 64 encoded bytes.
initialize() - Method in interface org.yajul.micro.LifecycleAware
 
initialize(Properties) - Method in interface org.yajul.util.Initializeable
The implementation will initialize itself from the properties object.
Initializeable - Interface in org.yajul.util
Defines the general behavior of an abstract factory.
initializeProxies() - Method in class org.yajul.jmx.JmxBridge
Initializes all the proxies.
insert(byte[]) - Method in class org.yajul.io.AbstractByteFilterInputStream
Pushes all of the bytes after the first one into the pushback buffer and returns the first byte, effectively inserting the bytes into the stream.
invokeGetter(Object) - Method in class org.yajul.util.PropertyAccessors
Invokes the getter on the specified object, returning the property value.
invokeSetter(Object, Object) - Method in class org.yajul.util.PropertyAccessors
Invokes the setter on the given bean using the given value.
invokeSetter(Object, Object, Format) - Method in class org.yajul.util.PropertyAccessors
Invokes the setter on the given bean using the given value.
isComplete() - Method in class org.yajul.io.StreamCopier
Returns true if the copying is complete.
isEmpty(String) - Static method in class org.yajul.util.StringUtil
Returns true if the string is null or zero length.
isImplementationStarted() - Method in class org.yajul.jmx.Proxy
Returns true if the implementation has been started.
isIntType() - Method in class org.yajul.sql.ColumnMetaData
Returns true if the column is a type compatible with 'int'.
isIntType(int) - Static method in class org.yajul.sql.ColumnMetaData
Returns true if the column is a type compatible with 'int'.
ISO8601_DATE_FORMAT - Static variable in interface org.yajul.util.DateFormatConstants
ISO 8601 date format yyyy-MM-dd.
ISO8601_DATETIME_FORMAT - Static variable in interface org.yajul.util.DateFormatConstants
Complete date plus hours, minutes, seconds and a decimal fraction of a second.
ISO8601_UTC_FORMAT - Static variable in interface org.yajul.util.DateFormatConstants
A formatting string for java.text.SimpleDateFormat that will allow parsing and formatting of ISO 8601 date strings with all UTC fields specified.
isPropertyGetter(Method) - Static method in class org.yajul.util.ReflectionUtil
Returns true if the method is a property getter.
isQueueEndpoint() - Method in class org.yajul.jms.Endpoint
 
isStarted() - Method in class org.yajul.jmx.MyTestImpl
 
isStringType() - Method in class org.yajul.sql.ColumnMetaData
Returns true if the column is a type compatible with 'String'.
isStringType(int) - Static method in class org.yajul.sql.ColumnMetaData
Returns true if the column is a type compatible with 'String'.
iterator() - Method in exception org.yajul.util.ExceptionList
Returns an iterator which will provide all of the Throwables.

J

JdbcHelper - Class in org.yajul.sql
Utility methods for JDBC.
JdbcHelper() - Constructor for class org.yajul.sql.JdbcHelper
 
JmsHelper - Class in org.yajul.jms
Utility methods for JMS.
JmsHelper() - Constructor for class org.yajul.jms.JmsHelper
 
JmxBridge - Class in org.yajul.jmx
Provides an in-JVM bridge between a JMX service and a POJO implementation that lives inside an EAR or a WAR deployment.
JmxBridge() - Constructor for class org.yajul.jmx.JmxBridge
 
JndiHelper - Class in org.yajul.jndi
Helper functions for JNDI.
JndiHelper() - Constructor for class org.yajul.jndi.JndiHelper
 
JuliToLog4jHandler - Class in org.yajul.log
A JULI (java.util.logging) handler that redirects java.util.logging messages to Log4J http://wiki.apache.org/myfaces/Trinidad_and_Common_Logging
User: josh Date: Jun 4, 2008 Time: 3:31:21 PM
JuliToLog4jHandler() - Constructor for class org.yajul.log.JuliToLog4jHandler
 
JuliToLog4JService - Class in org.yajul.log
JMX MBean that plugs in the JULI->Log4j handler on start and unplugs it on stop.
JuliToLog4JService() - Constructor for class org.yajul.log.JuliToLog4JService
 
JuliToLog4JServiceMBean - Interface in org.yajul.log
JMX Interface for the Juli->Log4J MBean.

L

Lifecycle - Interface in org.yajul.jmx
Standard JMX MBean lifecycle methods.
LifecycleAware - Interface in org.yajul.micro
Implement this on all InputProcessor, Aggregator or grid singletons to get callbacks when the object is created, and when it is destroyed.
LimitedInputStream - Class in org.yajul.io
A stream that will return an end of stream code (-1) when the maximum length is reached.
LimitedInputStream(InputStream, int) - Constructor for class org.yajul.io.LimitedInputStream
Creates an filter intput stream that will read at most 'maxLength' bytes from the underlying stream.
loadProperties(String) - Static method in class org.yajul.util.ResourceUtil
Loads a properties resource.
loadProperties(String, Properties, Class) - Static method in class org.yajul.util.ResourceUtil
Loads a properties resource.
lookup(InitialContext, Class<T>, String) - Static method in class org.yajul.jndi.JndiHelper
Encapsulates the standard JNDI lookup calls for EJBs, etc.
LookupException - Exception in org.yajul.jndi
Thrown when a JNDI lookup fails.
LookupException(String) - Constructor for exception org.yajul.jndi.LookupException
 
LookupException(String, Throwable) - Constructor for exception org.yajul.jndi.LookupException
 

M

MASK - Static variable in class org.yajul.util.Bytes
Lower nybble mask.
messagePropertyNullOrEqualTo(Message, String, Long) - Static method in class org.yajul.jms.JmsHelper
 
MessageReceiver - Class in org.yajul.jms
Generic message receiver.
MessageReceiver(InitialContext, String, String, MessageListener, String) - Constructor for class org.yajul.jms.MessageReceiver
 
MessageSender - Class in org.yajul.jms
Generic message sender.
MessageSender(InitialContext, String, String, String) - Constructor for class org.yajul.jms.MessageSender
 
MessageSender(InitialContext, String, Destination, String) - Constructor for class org.yajul.jms.MessageSender
 
MessageSender.SenderFactory - Interface in org.yajul.jms
 
MicroContainer - Class in org.yajul.micro
A picocontainer that does cacheing and auto registration of components specified as classes.
MicroContainer(ComponentFactory, LifecycleStrategy, PicoContainer, ComponentMonitor) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(ComponentFactory, LifecycleStrategy, PicoContainer) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(ComponentMonitor, LifecycleStrategy, PicoContainer) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(LifecycleStrategy, PicoContainer) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(ComponentFactory, PicoContainer) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(ComponentMonitor, PicoContainer) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(ComponentFactory) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(ComponentMonitor) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer(PicoContainer) - Constructor for class org.yajul.micro.MicroContainer
 
MicroContainer() - Constructor for class org.yajul.micro.MicroContainer
 
MyTestImpl - Class in org.yajul.jmx
Test implementation for JmxBridge
User: Joshua Davis Date: Aug 29, 2007 Time: 6:32:53 AM
MyTestImpl() - Constructor for class org.yajul.jmx.MyTestImpl
 

N

nextToken() - Method in class org.yajul.io.TokenizingInputStream
Resets the stream so a new token can be read.

O

ObjectFactory - Class in org.yajul.util
Provides utility methods for instantiating objects with dynamic, or 'soft' linkages.
ObjectFactory() - Constructor for class org.yajul.util.ObjectFactory
 
onConnectionCreated(Connection) - Method in class org.yajul.jms.Endpoint
 
onConnectionCreated(Connection) - Method in class org.yajul.jms.MessageSender
 
org.yajul.io - package org.yajul.io
 
org.yajul.jms - package org.yajul.jms
 
org.yajul.jmx - package org.yajul.jmx
 
org.yajul.jndi - package org.yajul.jndi
 
org.yajul.jta - package org.yajul.jta
 
org.yajul.log - package org.yajul.log
 
org.yajul.micro - package org.yajul.micro
 
org.yajul.sql - package org.yajul.sql
 
org.yajul.util - package org.yajul.util
Provides utilities for accessing bean properties and parsing beans from XML.
org.yajul.xml - package org.yajul.xml
 

P

parse(InputStream) - Static method in class org.yajul.xml.DOMUtil
Parses the input stream and returns a DOM document.
parse(XMLReader, InputSource) - Static method in class org.yajul.xml.DOMUtil
Parse the input with the specified reader, producing a DOM Document.
parseCharacter(int) - Static method in class org.yajul.io.Base64InputStream
Checks a character for correct BASE64 encoding.
parseFile(String) - Static method in class org.yajul.xml.DOMUtil
Parse a file using it's name.
parseFile(File) - Static method in class org.yajul.xml.DOMUtil
Parse an XML file.
parseHex(String) - Static method in class org.yajul.util.Bytes
Parses a hex string into an array of bytes.
parseHexChar(char) - Static method in class org.yajul.util.StringUtil
Convert a hexadecimal character to a byte.
parseHexString(String) - Static method in class org.yajul.util.StringUtil
Convert a string of hexadecimal characters to a byte array.
parseResource(String) - Static method in class org.yajul.xml.DOMUtil
Parse an XML resource.
peek(Session, Destination) - Static method in class org.yajul.jms.JmsHelper
 
peek() - Method in class org.yajul.jms.MessageReceiver
 
printStackTrace() - Method in exception org.yajul.util.ExceptionList
Prints a stack trace.
printStackTrace(PrintStream) - Method in exception org.yajul.util.ExceptionList
Prints a stack trace to the specified print stream.
printStackTrace(PrintWriter) - Method in exception org.yajul.util.ExceptionList
Prints this throwable and its backtrace to the specified print writer.
process() - Method in class org.yajul.io.Base64Decoder
Do the actual decoding.
process() - Method in class org.yajul.io.Base64Encoder
Process the data: encode the input stream to the output stream.
processString() - Method in class org.yajul.io.Base64Decoder
Do the decoding, and return a String.
processString() - Method in class org.yajul.io.Base64Encoder
Encode the content of this encoder, as a string.
PropertyAccessors - Class in org.yajul.util
Encapsulates the getter and setter meta-data for a given property.
PropertyAccessors(BeanProperties, String) - Constructor for class org.yajul.util.PropertyAccessors
Creates a new group of accessor methods for the given property name.
PropertyMap - Class in org.yajul.util
Provides a Map view of a JavaBean's properties.
PropertyMap(Object) - Constructor for class org.yajul.util.PropertyMap
Constructs a map view of the bean.
PropertyMap.Entry - Class in org.yajul.util
Represents a property name / value pair in the Map view of a bean.
PropertyMap.Entry(BeanProperties, Object, String) - Constructor for class org.yajul.util.PropertyMap.Entry
Creates a new name / value pair in the map view of a bean.
propertyNames() - Method in class org.yajul.util.BeanProperties
Returns an iterator that returns the String names of all properties in the class.
Proxy - Class in org.yajul.jmx
A proxy that instantiates the implementation JMX MBean when needed.
publish(LogRecord) - Method in class org.yajul.log.JuliToLog4jHandler
 
put(Object, Object) - Method in class org.yajul.util.PropertyMap
 

R

read() - Method in class org.yajul.io.AbstractByteFilterInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class org.yajul.io.AbstractByteFilterInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
read() - Method in class org.yajul.io.AbstractByteFilterReader
Reads the next byte of data from this input stream.
read(char[], int, int) - Method in class org.yajul.io.AbstractByteFilterReader
Reads up to len bytes of data from this input stream into an array of bytes.
read() - Method in class org.yajul.io.Base64InputStream
Reads the next byte of data from this input stream.
read() - Method in class org.yajul.io.ByteCountingInputStream
 
read(byte[], int, int) - Method in class org.yajul.io.ByteCountingInputStream
 
read() - Method in class org.yajul.io.EchoInputStream
Reads the next byte in the input stream, and also writes it to the echo output stream.
read(byte[], int, int) - Method in class org.yajul.io.EchoInputStream
Reads the specified number of bytes from the input stream and also writes them to the echo output stream.
read() - Method in class org.yajul.io.LimitedInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class org.yajul.io.LimitedInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
read() - Method in class org.yajul.io.TokenizingInputStream
Reads the next byte of data from this input stream.
readBlocks(InputStream, int) - Static method in class org.yajul.io.StreamCopier
Reads the entire input stream into an array list of byte arrays, each byte array being a maximum of 'blocksz' bytes long.
readByte() - Method in class org.yajul.io.AbstractByteFilterInputStream
Reads the next byte of data from this input stream.
readByte() - Method in class org.yajul.io.AbstractByteFilterReader
Reads the next byte of data from this input stream.
readByteArray(InputStream) - Static method in class org.yajul.io.StreamCopier
Reads the entire input stream into a byte array.
readByteArray(InputStream, int) - Static method in class org.yajul.io.StreamCopier
Reads the entire input stream into a byte array with a limit.
readByteArray(Reader, int) - Static method in class org.yajul.io.StreamCopier
Reads the entire input stream into a byte array with a limit.
readByteArray(Reader) - Static method in class org.yajul.io.StreamCopier
Reads the entire input stream into a byte array.
readByteArray(File) - Static method in class org.yajul.io.StreamCopier
Reads the specified file into a byte array.
readFileIntoByteArray(String) - Static method in class org.yajul.io.StreamCopier
Reads the specified file into a byte array.
receive(long) - Method in class org.yajul.jms.Endpoint
 
receiveNowait() - Method in class org.yajul.jms.Endpoint
 
receiveSync(long) - Method in class org.yajul.jms.MessageReceiver
 
recursiveDelete(File) - Static method in class org.yajul.io.FileUtil
Deletes files or directories recursively, returns the number of files deleted.
ReflectionUtil - Class in org.yajul.util
Reflection utilities.
ReflectionUtil() - Constructor for class org.yajul.util.ReflectionUtil
 
register(Class) - Method in class org.yajul.jmx.JmxBridge
Register a specific implementation class with the bridge.
reset() - Method in class org.yajul.jmx.JmxBridge
 
resetStatistics() - Method in class org.yajul.io.ByteCountingInputStream
Reset the throughput statistics.
resourceAsBytes(String) - Static method in class org.yajul.util.ResourceUtil
Returns the resource as a byte array.
resourceName - Variable in class org.yajul.util.AbstractScanner
 
ResourceUtil - Class in org.yajul.util
Provides utility methods for finding and loading resources.
ResourceUtil() - Constructor for class org.yajul.util.ResourceUtil
 
run() - Method in class org.yajul.io.StreamCopier
This method will copy the input into the output until there is no more input.
run() - Method in class org.yajul.jms.MessageReceiver
Runs the JMS message consumer.
run() - Method in interface org.yajul.jta.TransactionHelper.Action
 

S

scan() - Method in class org.yajul.util.AbstractScanner
 
send(Message) - Method in class org.yajul.jms.MessageSender
 
sendAndWaitForReply(Message, UserTransaction) - Method in class org.yajul.jms.MessageSender
 
sendObject(InitialContext, String, String, Serializable) - Static method in class org.yajul.jms.MessageSender
 
sendObject(InitialContext, String, String, Serializable, Map<String, Object>) - Static method in class org.yajul.jms.MessageSender
 
sendObjectMessage(Serializable) - Method in class org.yajul.jms.MessageSender
 
sendObjectMessage(Serializable, Map<String, Object>) - Method in class org.yajul.jms.MessageSender
 
sendReply(InitialContext, String, Message, Serializable) - Static method in class org.yajul.jms.MessageSender
 
sendReply(InitialContext, String, Message, Serializable, Map<String, Object>) - Static method in class org.yajul.jms.MessageSender
 
serializeObject(Object) - Static method in class org.yajul.io.StreamCopier
Serializes the object into an array of bytes.
setHandlerLevel(String) - Method in class org.yajul.log.JuliToLog4JService
 
setHandlerLevel(String) - Method in interface org.yajul.log.JuliToLog4JServiceMBean
Sets the logging level of the java.util.logging->Log4J 'Handler' to the specified value.
setProperty(Object, String, Object) - Method in class org.yajul.util.BeanProperties
Sets the property in the bean to the specified value.
setQueueEndpoint(boolean) - Method in class org.yajul.jms.Endpoint
 
setReplyTimeout(long) - Method in class org.yajul.jms.MessageSender
 
setterPropertyName(Method) - Static method in class org.yajul.util.ReflectionUtil
Returns the name of the property IFF the method is a property setter, or null if the method is not a setter.
setValue(Object) - Method in class org.yajul.util.PropertyMap.Entry
 
shutdown() - Method in class org.yajul.jms.MessageReceiver
 
SingletonManager - Class in org.yajul.micro
One singleton to rule them all.
size() - Method in class org.yajul.util.BeanProperties
Returns the number of properties in the class.
size() - Method in exception org.yajul.util.ExceptionList
Returns the number of throwables in the list.
skip(long) - Method in class org.yajul.io.ByteCountingInputStream
 
skip(long) - Method in class org.yajul.io.LimitedInputStream
Skips over and discards n bytes of data from the input stream.
start(Runnable, String) - Method in class org.yajul.jms.MessageReceiver
 
start() - Method in interface org.yajul.jmx.Lifecycle
Called when an MBean is started
start() - Method in class org.yajul.jmx.MyTestImpl
 
start() - Method in class org.yajul.jmx.Proxy
 
start() - Method in class org.yajul.log.JuliToLog4JService
 
startConsumer() - Method in class org.yajul.jms.Endpoint
 
stop() - Method in interface org.yajul.jmx.Lifecycle
Called when an MBean is stopped
stop() - Method in class org.yajul.jmx.MyTestImpl
 
stop() - Method in class org.yajul.jmx.Proxy
 
stop() - Method in class org.yajul.log.JuliToLog4JService
 
StreamCopier - Class in org.yajul.io
Provides stream copying capability in a Runnable class.
StreamCopier(InputStream, OutputStream) - Constructor for class org.yajul.io.StreamCopier
Creates a new stream copier, that will copy the input stream into the output stream when the run() method is caled.
StringInputStream - Class in org.yajul.io
Provides an input stream that reads from a string.
StringInputStream(String) - Constructor for class org.yajul.io.StringInputStream
Creates a new StringInputStream that will read the supplied string.
StringInputStream(String, String) - Constructor for class org.yajul.io.StringInputStream
Creates a new StringInputStream that will read the supplied string, given the encoding.
StringUtil - Class in org.yajul.util
Provides commonly used string functions.
StringUtil() - Constructor for class org.yajul.util.StringUtil
 
substringAfter(String, String) - Static method in class org.yajul.util.StringUtil
Returns the substring after the delimiter string, not including the delimiter string.
substringBefore(String, String) - Static method in class org.yajul.util.StringUtil
Returns the substring before the delimiter string, not including the delimiter string.

T

TABLE_NAME_INDEX - Static variable in class org.yajul.sql.JdbcHelper
 
tableExists(Connection, String) - Static method in class org.yajul.sql.JdbcHelper
Returns true if the specified table exists.
tail(int, File, Writer) - Static method in class org.yajul.io.FileUtil
Like UN*X tail - writes the last 'n' lines of a file to the writer.
TeeOutputStream - Class in org.yajul.io
An output stream filter that writes to multiple underlying output streams.
TeeOutputStream(OutputStream, OutputStream) - Constructor for class org.yajul.io.TeeOutputStream
Creates a new output stream that echoes output to both of the specified streams.
TeeOutputStream(OutputStream[]) - Constructor for class org.yajul.io.TeeOutputStream
Creates a new output stream that writes output to all of the streams in the array.
terminate() - Method in interface org.yajul.micro.LifecycleAware
 
throwIfException() - Method in exception org.yajul.util.ExceptionList
Throws this ExceptionList object if there are more than one throwables in the list.
throwIfThrowable() - Method in exception org.yajul.util.ExceptionList
Throws this ExceptionList object if there are more than one throwables in the list.
toByteArray() - Method in class org.yajul.io.Base64Decoder
Returns the byte array that is the result of the decoding the input array of bytes.
toByteArray(InputStream) - Static method in class org.yajul.util.Copier
Reads the entire input stream into a byte array.
toBytes(int, byte[]) - Static method in class org.yajul.util.Bytes
Builds a 4-byte array from an int, MSB first.
toBytes(long, byte[]) - Static method in class org.yajul.util.Bytes
Builds a 8-byte array from an int, MSB first.
toElementList(NodeList) - Static method in class org.yajul.xml.DOMUtil
Returns an array of elements, given a node list.
toHexString(byte[], int) - Static method in class org.yajul.io.HexDumpOutputStream
Returns a hex representation of the buffer.
TokenizingInputStream - Class in org.yajul.io
Reads from the underlying input stream until the delimiter is reached.
TokenizingInputStream(InputStream, byte[]) - Constructor for class org.yajul.io.TokenizingInputStream
Creates a FilterInputStream by assigning the argument in to the field this.in so as to remember it for later use.
toString() - Method in class org.yajul.micro.MicroContainer
 
toString() - Method in exception org.yajul.util.ExceptionList
Converts everything to a string.
toString(Object) - Static method in class org.yajul.util.FieldPrinter
 
toString() - Method in class org.yajul.util.FieldPrinter
 
toString() - Method in class org.yajul.util.PropertyAccessors
 
toString() - Method in class org.yajul.util.PropertyMap.Entry
 
TransactionHelper - Class in org.yajul.jta
IoC template for bean managed transactions or for using JTA outside of the EJB container.
TransactionHelper() - Constructor for class org.yajul.jta.TransactionHelper
 
TransactionHelper.Action - Interface in org.yajul.jta
 

U

UNLIMITED - Static variable in class org.yajul.util.Copier
Use this to indicate a non-length limited copy.
unserializeObject(byte[]) - Static method in class org.yajul.io.StreamCopier
Reads a serialized object from the array of bytes.
unsyncCopy(InputStream, OutputStream, int) - Static method in class org.yajul.io.StreamCopier
Copies the input stream into the output stream in an efficient manner.
unsyncCopy(InputStream, OutputStream, int, int) - Static method in class org.yajul.io.StreamCopier
Copies the input stream into the output stream in an efficient manner.
unsyncCopy(Reader, Writer, int, int) - Static method in class org.yajul.io.StreamCopier
Copies the input stream (reader) into the output stream (writer) in an efficient manner.

V

VALUE_LOWERCASE_A - Static variable in class org.yajul.util.Bytes
 
VALUE_UPPERCASE_A - Static variable in class org.yajul.util.Bytes
 
values(Object) - Method in class org.yajul.util.BeanProperties
Returns a collection of all of the property values in the specified bean.

W

write(int) - Method in class org.yajul.io.Base64OutputStream
Writes the specified byte to this output stream.
write(byte[]) - Method in class org.yajul.io.ByteCountingOutputStream
 
write(byte[], int, int) - Method in class org.yajul.io.ByteCountingOutputStream
 
write(int) - Method in class org.yajul.io.ByteCountingOutputStream
 
write(int) - Method in class org.yajul.io.HexDumpOutputStream
Writes the specified byte to this output stream.
write(int) - Method in class org.yajul.io.HexEncodingOutputStream
 
write(byte[]) - Method in class org.yajul.io.TeeOutputStream
Writes b.length bytes to this output stream.
write(byte[], int, int) - Method in class org.yajul.io.TeeOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(int) - Method in class org.yajul.io.TeeOutputStream
Writes the specified byte to this output stream.
write(int) - Method in class org.yajul.io.WriterOutputStream
Writes the specified byte to this output stream.
write(byte[]) - Method in class org.yajul.io.WriterOutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int, int) - Method in class org.yajul.io.WriterOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
writeHex(int) - Method in class org.yajul.io.HexEncodingOutputStream
 
WriterOutputStream - Class in org.yajul.io
Adapter that converts a Writer into an OutputStream.
WriterOutputStream(Writer) - Constructor for class org.yajul.io.WriterOutputStream
Creates a new WriterOutputStream based on the given Writer.

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

Copyright © 2008. All Rights Reserved.