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

$

$(T...) - Static method in class org.hudsonci.utils.common.Varargs
 

A

accept(Object) - Method in interface org.hudsonci.utils.event.EventHandler
Returns true if this handler can consume the given event.
accept(Object) - Method in class org.hudsonci.utils.event.EventHandlerSupport
Accepts the event if it is a compatible type; determined by EventHandlerSupport.getEventType().
append(CharSequence) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
append(CharSequence, int, int) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
append(char) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
available() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 

C

canConvert(Class) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
 
canonicalize(File) - Static method in class org.hudsonci.utils.io.FileUtil
 
chop(File, long) - Static method in class org.hudsonci.utils.io.FileBeheader
Beware, the original file is modified when chopping; you relinquish all control of the original file.
clone(Object) - Static method in class org.hudsonci.utils.marshal.XUtil
Clones an object via XStream.
close(Closeable...) - Static method in class org.hudsonci.utils.io.Closer
 
close() - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
close() - Method in class org.hudsonci.utils.io.NoCloseOutputStream
 
close() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
close() - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
Closer - Class in org.hudsonci.utils.io
Quietly closes Closeable objects.
Closer() - Constructor for class org.hudsonci.utils.io.Closer
 
countDaysBetween(Date, Date) - Static method in class org.hudsonci.utils.common.Dates
 
createStoredHolder(XReference, Object) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
Create the holder to be used after the reference has been stored.
createUnmarshalHolder(XReference) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
Create the holder to be used after the reference has been unmarshalled.

D

Dates - Class in org.hudsonci.utils.common
Helper for working with dates.
Dates() - Constructor for class org.hudsonci.utils.common.Dates
 
DelegatingOutputStream - Class in org.hudsonci.utils.io
Delegates to another OutputStream.
DelegatingOutputStream(OutputStream) - Constructor for class org.hudsonci.utils.io.DelegatingOutputStream
 
doLoad() - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter.HolderSupport
 
doMarshal(Object, HierarchicalStreamWriter, MarshallingContext) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
 
doUnmarshal(Object, HierarchicalStreamReader, UnmarshallingContext) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
 

E

equals(Object) - Method in class org.hudsonci.utils.id.GUID
 
equals(Object) - Method in class org.hudsonci.utils.id.LongID
 
equals(Object) - Method in class org.hudsonci.utils.id.OID
 
EventHandler<ContextType,EventType> - Interface in org.hudsonci.utils.event
Abstraction to allow event handling logic to be componentized.
EventHandlerSupport<ContextType,EventType> - Class in org.hudsonci.utils.event
Support for EventHandler implementations.
EventHandlerSupport() - Constructor for class org.hudsonci.utils.event.EventHandlerSupport
 
EventProcessor<ContextType> - Interface in org.hudsonci.utils.event
Manages dispatching events to appropriate EventHandler instances.
EventProcessorSupport<ContextType,HandlerType extends EventHandler> - Class in org.hudsonci.utils.event
Support for event processing.
EventProcessorSupport(List<HandlerType>, HandlerType) - Constructor for class org.hudsonci.utils.event.EventProcessorSupport
 

F

FileBeheader - Class in org.hudsonci.utils.io
Removes the beginning of a file.
FileBeheader() - Constructor for class org.hudsonci.utils.io.FileBeheader
 
FileUtil - Class in org.hudsonci.utils.io
I usually put these into something like "ResourceManager" and use it to do all the loading.
FileUtil() - Constructor for class org.hudsonci.utils.io.FileUtil
 
FileXReferenceStore - Class in org.hudsonci.utils.marshal.xref
Simple file-based XReference storage strategy.
FileXReferenceStore(Marshaller, File) - Constructor for class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
FileXReferenceStore(Marshaller) - Constructor for class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
find(Collection<T>, String) - Static method in class org.hudsonci.utils.id.OID
 
find(Collection<T>, OID) - Static method in class org.hudsonci.utils.id.OID
 
flush() - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
flush(Flushable...) - Static method in class org.hudsonci.utils.io.Flusher
 
flush() - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
Flusher - Class in org.hudsonci.utils.io
Quietly flushes Flushable objects.
Flusher() - Constructor for class org.hudsonci.utils.io.Flusher
 
FORMAT - Static variable in class org.hudsonci.utils.common.Iso8601Date
 
format(Date) - Static method in class org.hudsonci.utils.common.Iso8601Date
 

G

get() - Static method in class org.hudsonci.utils.common.Version
Deprecated.  
get(Object) - Static method in class org.hudsonci.utils.id.OID
 
get() - Method in class org.hudsonci.utils.marshal.xref.XReference
 
get() - Method in interface org.hudsonci.utils.marshal.xref.XReference.Holder
 
get() - Method in class org.hudsonci.utils.marshal.xref.XReference.InstanceHolder
 
get() - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter.SoftUnmarshalHolder
 
get() - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter.UnmarshalHolder
 
getBuffer() - Method in class org.hudsonci.utils.io.PrintBuffer
 
getBuffer() - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
getCanonicalVersion() - Method in class org.hudsonci.utils.common.VersionSupport
 
getContext() - Method in class org.hudsonci.utils.event.EventHandlerSupport
 
getCount() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
getDefaultHandler() - Method in class org.hudsonci.utils.event.EventProcessorSupport
Get the default handler.
getDelegate() - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
getDelegate() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
getEventHandler(Object) - Method in class org.hudsonci.utils.event.EventProcessorSupport
Get the event handler for the given event.
getEventType() - Method in class org.hudsonci.utils.event.EventHandlerSupport
Determines the event type of the handler.
getFile(XReference) - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
getHandlers() - Method in class org.hudsonci.utils.event.EventProcessorSupport
Get installed handlers.
getHash() - Method in class org.hudsonci.utils.id.OID
 
getHolderType() - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
 
getLength() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
getMarshaller() - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
getMarshaller(XReference) - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
getMarshaller() - Method in class org.hudsonci.utils.marshal.xref.XReference
Override to provide alternative marshalling.
getOffset() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
getPath() - Method in class org.hudsonci.utils.marshal.xref.XReference
Defines the path of the external reference.
getProperties() - Method in class org.hudsonci.utils.common.PropertiesLoader
 
getRawVersion() - Method in class org.hudsonci.utils.common.VersionSupport
 
getResource() - Method in class org.hudsonci.utils.common.PropertiesLoader
 
getResource(String) - Static method in class org.hudsonci.utils.io.FileUtil
 
getResourceAsFile(String) - Static method in class org.hudsonci.utils.io.FileUtil
 
getResourceAsFile(Class, String) - Static method in class org.hudsonci.utils.io.FileUtil
Gets a resource relative to the given class.
getResourceAsStream(String) - Static method in class org.hudsonci.utils.io.FileUtil
Gets a resource using the current threads classloader.
getResourceAsStream(Class, String) - Static method in class org.hudsonci.utils.io.FileUtil
Gets a resource using the given classes classloader.
getResourceName() - Method in class org.hudsonci.utils.common.PropertiesLoader
 
getRoot() - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
getSequence() - Method in class org.hudsonci.utils.common.VersionSupport
 
getTimestamp() - Method in class org.hudsonci.utils.common.VersionSupport
 
getType() - Method in class org.hudsonci.utils.id.OID
 
getValue(String, String) - Method in class org.hudsonci.utils.common.PropertiesLoader
 
getValue(String) - Method in class org.hudsonci.utils.common.PropertiesLoader
 
getValue() - Method in class org.hudsonci.utils.id.GUID
 
getValue() - Method in class org.hudsonci.utils.id.LongID
 
getVersion() - Method in class org.hudsonci.utils.common.VersionSupport
 
GUID - Class in org.hudsonci.utils.id
Globally Unique IDentifier; backed by UUID.
GUID(UUID) - Constructor for class org.hudsonci.utils.id.GUID
 
GUID(String) - Constructor for class org.hudsonci.utils.id.GUID
 
GUID() - Constructor for class org.hudsonci.utils.id.GUID
 

H

handle(EventType) - Method in interface org.hudsonci.utils.event.EventHandler
Handles the given event.
hashCode() - Method in class org.hudsonci.utils.id.GUID
 
hashCode() - Method in class org.hudsonci.utils.id.LongID
 
hashCode() - Method in class org.hudsonci.utils.id.OID
 
holder - Variable in class org.hudsonci.utils.marshal.xref.XReference
 
holderType - Variable in class org.hudsonci.utils.marshal.xref.XReferenceConverter
 

I

ID - Interface in org.hudsonci.utils.id
An opaque identifier.
init(ContextType) - Method in interface org.hudsonci.utils.event.EventHandler
Called to initialize the handler w/context.
init(ContextType) - Method in class org.hudsonci.utils.event.EventHandlerSupport
 
init(ContextType) - Method in interface org.hudsonci.utils.event.EventProcessor
Initializes all EventHandler instances.
init(ContextType) - Method in class org.hudsonci.utils.event.EventProcessorSupport
Initialize event handlers and their event type mapping.
instance - Variable in class org.hudsonci.utils.marshal.xref.XReference.InstanceHolder
 
instance - Variable in class org.hudsonci.utils.marshal.xref.XReferenceConverter.SoftUnmarshalHolder
 
instance - Variable in class org.hudsonci.utils.marshal.xref.XReferenceConverter.UnmarshalHolder
 
Iso8601Date - Class in org.hudsonci.utils.common
Helper for working with ISO 8601 dates.
Iso8601Date() - Constructor for class org.hudsonci.utils.common.Iso8601Date
 

L

load() - Method in class org.hudsonci.utils.common.PropertiesLoader
 
load(XReference) - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
load(XReference) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
Provides reference loading behavior.
load(XReference) - Method in interface org.hudsonci.utils.marshal.xref.XReferenceStore
 
load(XReference) - Method in class org.hudsonci.utils.marshal.xref.XReferenceStoreConverter
 
log - Variable in class org.hudsonci.utils.event.EventHandlerSupport
 
log - Variable in class org.hudsonci.utils.event.EventProcessorSupport
 
log - Static variable in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
LongID - Class in org.hudsonci.utils.id
Long-based identifier.
LongID(long) - Constructor for class org.hudsonci.utils.id.LongID
 
LongID(Number) - Constructor for class org.hudsonci.utils.id.LongID
 
LongID(String) - Constructor for class org.hudsonci.utils.id.LongID
 

M

mark(int) - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
markSupported() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
marshal(Object, Writer) - Method in interface org.hudsonci.utils.marshal.Marshaller
 
marshal(Object, Writer) - Method in class org.hudsonci.utils.marshal.XStreamMarshaller
 
Marshaller - Interface in org.hudsonci.utils.marshal
Marshalling strategy.
marshaller - Variable in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
mkdirs(File) - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 

N

NoCloseOutputStream - Class in org.hudsonci.utils.io
Prevents target output stream from being closed.
NoCloseOutputStream(OutputStream) - Constructor for class org.hudsonci.utils.io.NoCloseOutputStream
 
NULL - Static variable in class org.hudsonci.utils.id.OID
 

O

OffsetLimitInputStream - Class in org.hudsonci.utils.io
Provides read-offset and read-limit for an underlying input-stream.
OffsetLimitInputStream(InputStream, long, long) - Constructor for class org.hudsonci.utils.io.OffsetLimitInputStream
 
OID - Class in org.hudsonci.utils.id
Provides a general identifier for objects.
oid(Object) - Static method in class org.hudsonci.utils.id.OID
 
onFailure(Exception) - Method in class org.hudsonci.utils.event.EventProcessorSupport
 
org.hudsonci.utils.common - package org.hudsonci.utils.common
 
org.hudsonci.utils.event - package org.hudsonci.utils.event
 
org.hudsonci.utils.id - package org.hudsonci.utils.id
 
org.hudsonci.utils.io - package org.hudsonci.utils.io
 
org.hudsonci.utils.marshal - package org.hudsonci.utils.marshal
 
org.hudsonci.utils.marshal.xref - package org.hudsonci.utils.marshal.xref
 

P

parse(String) - Static method in class org.hudsonci.utils.common.Iso8601Date
 
parse(String) - Static method in class org.hudsonci.utils.id.OID
 
PATTERN - Static variable in class org.hudsonci.utils.common.Iso8601Date
 
PrintBuffer - Class in org.hudsonci.utils.io
String-based PrintWriter backed by StringBuilderWriter.
PrintBuffer() - Constructor for class org.hudsonci.utils.io.PrintBuffer
 
process(Object) - Method in interface org.hudsonci.utils.event.EventProcessor
Delegates to registered EventHandler which accepts the event, or the default handler if non accept.
process(Object) - Method in class org.hudsonci.utils.event.EventProcessorSupport
Process an event.
PropertiesLoader - Class in org.hudsonci.utils.common
Support for loading resource-based properties file.
PropertiesLoader(Class, String) - Constructor for class org.hudsonci.utils.common.PropertiesLoader
 
PropertiesLoader(Object, String) - Constructor for class org.hudsonci.utils.common.PropertiesLoader
 

R

read() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
ref - Variable in class org.hudsonci.utils.marshal.xref.XReferenceConverter.HolderSupport
 
render(Object) - Static method in class org.hudsonci.utils.id.OID
 
render(Object) - Static method in class org.hudsonci.utils.marshal.XUtil
Render the given object as XML.
ReplacableOutputStream - Class in org.hudsonci.utils.io
Allows the target output stream delegate to be changed.
ReplacableOutputStream(OutputStream) - Constructor for class org.hudsonci.utils.io.ReplacableOutputStream
 
reset() - Method in class org.hudsonci.utils.io.OffsetLimitInputStream
 
reset() - Method in class org.hudsonci.utils.io.PrintBuffer
 
RESOURCE_NAME - Static variable in class org.hudsonci.utils.common.VersionSupport
 
root - Variable in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 

S

sanitize(String) - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
SEQUENCE - Static variable in class org.hudsonci.utils.common.VersionSupport
 
set(OutputStream) - Method in class org.hudsonci.utils.io.ReplacableOutputStream
 
set(T) - Method in class org.hudsonci.utils.marshal.xref.XReference
 
setDefaultHandler(HandlerType) - Method in class org.hudsonci.utils.event.EventProcessorSupport
Set the default handler.
setDelegate(OutputStream) - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
setHandlers(List<HandlerType>) - Method in class org.hudsonci.utils.event.EventProcessorSupport
Set installed handlers.
setHolderType(XReferenceConverter.HolderType) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
 
store(XReference) - Method in class org.hudsonci.utils.marshal.xref.FileXReferenceStore
 
store(XReference) - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter
Provides reference storing behavior.
store(XReference) - Method in interface org.hudsonci.utils.marshal.xref.XReferenceStore
 
store(XReference) - Method in class org.hudsonci.utils.marshal.xref.XReferenceStoreConverter
 
StringBuilderWriter - Class in org.hudsonci.utils.io
Writer buffer using StringBuilder.
StringBuilderWriter() - Constructor for class org.hudsonci.utils.io.StringBuilderWriter
 

T

TestAccessible - Annotation Type in org.hudsonci.utils.common
Marker annotation for members which are exposed for testing access.
TIMESTAMP - Static variable in class org.hudsonci.utils.common.VersionSupport
 
toString() - Method in class org.hudsonci.utils.common.PropertiesLoader
 
toString() - Method in class org.hudsonci.utils.common.VersionSupport
 
toString() - Method in class org.hudsonci.utils.id.GUID
 
toString() - Method in class org.hudsonci.utils.id.LongID
 
toString() - Method in class org.hudsonci.utils.id.OID
 
toString() - Method in class org.hudsonci.utils.io.PrintBuffer
 
toString() - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
toString() - Method in class org.hudsonci.utils.marshal.xref.XReference.InstanceHolder
 
toString() - Method in class org.hudsonci.utils.marshal.xref.XReference
 
toString() - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter.SoftUnmarshalHolder
 
toString() - Method in class org.hudsonci.utils.marshal.xref.XReferenceConverter.UnmarshalHolder
 

U

UNKNOWN - Static variable in class org.hudsonci.utils.common.VersionSupport
 
UNLIMITED - Static variable in class org.hudsonci.utils.io.OffsetLimitInputStream
 
unmarshal(Reader) - Method in interface org.hudsonci.utils.marshal.Marshaller
 
unmarshal(Reader) - Method in class org.hudsonci.utils.marshal.XStreamMarshaller
 

V

va(T...) - Static method in class org.hudsonci.utils.common.Varargs
 
valueOf(String) - Static method in enum org.hudsonci.utils.marshal.xref.XReferenceConverter.HolderType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hudsonci.utils.marshal.xref.XReferenceConverter.HolderType
Returns an array containing the constants of this enum type, in the order they are declared.
Varargs - Class in org.hudsonci.utils.common
Helper for simplifying use of var-args where T[] is required.
Varargs() - Constructor for class org.hudsonci.utils.common.Varargs
 
Version - Class in org.hudsonci.utils.common
Deprecated. Prefer ProductInfo
Version() - Constructor for class org.hudsonci.utils.common.Version
Deprecated.  
VERSION - Static variable in class org.hudsonci.utils.common.VersionSupport
 
VersionSupport - Class in org.hudsonci.utils.common
Support for exposing version details.
VersionSupport() - Constructor for class org.hudsonci.utils.common.VersionSupport
 

W

write(int) - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
write(byte[]) - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
write(byte[], int, int) - Method in class org.hudsonci.utils.io.DelegatingOutputStream
 
write(int) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
write(char[], int, int) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
write(String) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 
write(String, int, int) - Method in class org.hudsonci.utils.io.StringBuilderWriter
 

X

XReference<T> - Class in org.hudsonci.utils.marshal.xref
Reference to an externally serialized entity.
XReference(T) - Constructor for class org.hudsonci.utils.marshal.xref.XReference
 
XReference() - Constructor for class org.hudsonci.utils.marshal.xref.XReference
 
XReference.Holder<T> - Interface in org.hudsonci.utils.marshal.xref
Provides delegation for instance access.
XReference.InstanceHolder<T> - Class in org.hudsonci.utils.marshal.xref
Holds on to a specific instance.
XReference.InstanceHolder(T) - Constructor for class org.hudsonci.utils.marshal.xref.XReference.InstanceHolder
 
XReferenceConverter - Class in org.hudsonci.utils.marshal.xref
Converter for XReference types.
XReferenceConverter(Mapper, ReflectionProvider) - Constructor for class org.hudsonci.utils.marshal.xref.XReferenceConverter
 
XReferenceConverter.HolderSupport - Class in org.hudsonci.utils.marshal.xref
Support for XReference.Holder implementations.
XReferenceConverter.HolderSupport(XReference) - Constructor for class org.hudsonci.utils.marshal.xref.XReferenceConverter.HolderSupport
 
XReferenceConverter.HolderType - Enum in org.hudsonci.utils.marshal.xref
Default holder types.
XReferenceConverter.SoftUnmarshalHolder - Class in org.hudsonci.utils.marshal.xref
Unmarshalling holder with a soft reference.
XReferenceConverter.SoftUnmarshalHolder(XReference) - Constructor for class org.hudsonci.utils.marshal.xref.XReferenceConverter.SoftUnmarshalHolder
 
XReferenceConverter.SoftUnmarshalHolder(XReference, Object) - Constructor for class org.hudsonci.utils.marshal.xref.XReferenceConverter.SoftUnmarshalHolder
 
XReferenceConverter.UnmarshalHolder - Class in org.hudsonci.utils.marshal.xref
Unmarshalling holder with a hard reference.
XReferenceConverter.UnmarshalHolder(XReference) - Constructor for class org.hudsonci.utils.marshal.xref.XReferenceConverter.UnmarshalHolder
 
XReferenceStore - Interface in org.hudsonci.utils.marshal.xref
Exposes pluggable strategy for storing and loading the external reference.
XReferenceStoreConverter - Class in org.hudsonci.utils.marshal.xref
Converter for XReference types using XReferenceStore strategy.
XReferenceStoreConverter(XReferenceStore, Mapper, ReflectionProvider) - Constructor for class org.hudsonci.utils.marshal.xref.XReferenceStoreConverter
 
XStreamMarshaller - Class in org.hudsonci.utils.marshal
XStream Marshaller.
XStreamMarshaller(XStream) - Constructor for class org.hudsonci.utils.marshal.XStreamMarshaller
 
XUtil - Class in org.hudsonci.utils.marshal
XStream-related-ish utilities.
XUtil() - Constructor for class org.hudsonci.utils.marshal.XUtil
 

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

Copyright © 2004-2011 Hudson. All Rights Reserved.