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

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

A

AbstractHandler - class org.objectstyle.cayenne.util.AbstractHandler.
The common superclass for all SAX event handlers used to parse the configuration file.
AbstractHandler(XMLReader, ContentHandler) - Constructor for class org.objectstyle.cayenne.util.AbstractHandler
Creates a handler and sets the parser to use it for the current element.
addClassPath(String) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Adds a custom path for class path lookups.
addFilesystemPath(String) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Adds the given String as a custom path for filesystem lookups.
addFilesystemPath(File) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Adds the given directory as a path for filesystem lookups.
addFilesystemPath(String) - Method in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
Override ResourceLocator.addFilesystemPath(String) to intercept context paths starting with "/WEB-INF/" to place in additionalContextPaths.
additionalClassPaths - Variable in class org.objectstyle.cayenne.util.ResourceLocator
additional lookup paths (as Strings)
additionalContextPaths - Variable in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
 
additionalFilesystemPaths - Variable in class org.objectstyle.cayenne.util.ResourceLocator
 
appendLongBytes(byte[], int, long) - Static method in class org.objectstyle.cayenne.util.IDUtil
 
ascending - Variable in class org.objectstyle.cayenne.util.PropertyComparator
 

B

bundle - Static variable in class org.objectstyle.cayenne.util.LocalizedStringsHandler
 

C

CayenneMap - class org.objectstyle.cayenne.util.CayenneMap.
A CayenneMap is a specialized double-linked ordered map class.
CayenneMap(Object) - Constructor for class org.objectstyle.cayenne.util.CayenneMap
Constructor for CayenneMap.
CayenneMap(Object, Comparator) - Constructor for class org.objectstyle.cayenne.util.CayenneMap
Constructor for CayenneMap.
CayenneMap(Object, Map) - Constructor for class org.objectstyle.cayenne.util.CayenneMap
Constructor for CayenneMap.
CayenneMap(Object, SortedMap) - Constructor for class org.objectstyle.cayenne.util.CayenneMap
Constructor for CayenneMap.
CayenneMapEntry - interface org.objectstyle.cayenne.util.CayenneMapEntry.
Generic interface defining a double-linked entry in CayenneMap.
capitalize(String) - Static method in class org.objectstyle.cayenne.util.PropertyComparator
 
characters(char[], int, int) - Method in class org.objectstyle.cayenne.util.AbstractHandler
Handles text within an element.
classBaseUrl(Class) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Returns a base URL as a String from which this class was loaded.
classLoader - Variable in class org.objectstyle.cayenne.util.ResourceLocator
ClassLoader used for resource loading
cloneViaSerialization(Serializable) - Static method in class org.objectstyle.cayenne.util.Util
Create object copy using serialization mechanism.
compare(Object, Object) - Method in class org.objectstyle.cayenne.util.DataObjectPropertyComparator
 
compare(Object, Object) - Method in class org.objectstyle.cayenne.util.PropertyComparator
 
compareAsc(Object, Object) - Method in class org.objectstyle.cayenne.util.PropertyComparator
 
context - Variable in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
 
copy(File, File) - Static method in class org.objectstyle.cayenne.util.Util
Makes up for the lack of file copying utilities in Java
copy(URL, File) - Static method in class org.objectstyle.cayenne.util.Util
Save URL contents to a file.
copyPipe(InputStream, OutputStream, int) - Static method in class org.objectstyle.cayenne.util.Util
Reads from input and writes read data to the output, until the stream end.
createXmlReader() - Static method in class org.objectstyle.cayenne.util.Util
Creates an XMLReader with default feature set.
currentId - Static variable in class org.objectstyle.cayenne.util.IDUtil
 

D

DEFAULT_MESSAGE_BUNDLE - Static variable in class org.objectstyle.cayenne.util.LocalizedStringsHandler
 
DEQUEUE_SUCCESS - Static variable in class org.objectstyle.cayenne.util.RequestDequeue
 
DataObjectPropertyComparator - class org.objectstyle.cayenne.util.DataObjectPropertyComparator.
Property comparator for CayenneDataObjects.
DataObjectPropertyComparator() - Constructor for class org.objectstyle.cayenne.util.DataObjectPropertyComparator
Constructor for DataObjectPropertyComparator.
DataObjectPropertyComparator(String, boolean) - Constructor for class org.objectstyle.cayenne.util.DataObjectPropertyComparator
 
DataObjectPropertyComparator(List) - Constructor for class org.objectstyle.cayenne.util.DataObjectPropertyComparator
Constructor ListSorter.
debug(Object, Throwable) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
debug(Object) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
delete(String, boolean) - Static method in class org.objectstyle.cayenne.util.Util
Improved File.delete method that allows recursive directory deletion.
dequeueEventCode - Variable in class org.objectstyle.cayenne.util.RequestDequeue
 
dequeueEventObject - Variable in class org.objectstyle.cayenne.util.RequestDequeue
 
dequeueFirst(Object) - Method in class org.objectstyle.cayenne.util.RequestQueue
Releases the first thread in the queue.

E

EntityMergeSupport - class org.objectstyle.cayenne.util.EntityMergeSupport.
Implements methods for entity merging.
EntityMergeSupport(DataMap) - Constructor for class org.objectstyle.cayenne.util.EntityMergeSupport
 
encodeXmlAttribute(String) - Static method in class org.objectstyle.cayenne.util.Util
Encodes a string so that it can be used as an attribute value in an XML document.
endElement(String, String, String) - Method in class org.objectstyle.cayenne.util.AbstractHandler
Handles the end of an element.
equals(Object) - Method in class org.objectstyle.cayenne.util.Invocation
 
error(Object, Throwable) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
error(Object) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
extractFileExtension(String) - Static method in class org.objectstyle.cayenne.util.Util
Utility method to extract extension from of file name.

F

fatal(Object, Throwable) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
fatal(Object) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
findDirectoryResource(String) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns a directory resource URL using the lookup strategy configured for this ResourceLocator or null if no readable resource can be found for the given name.
findFileInCurrentDirectory(String) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Looks up a file in the current directory.
findFileInFileSystem(String) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Looks up a file in the filesystem.
findFileInHomeDirectory(String) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Looks up a file in the user home directory.
findReadMethod(String, Class) - Static method in class org.objectstyle.cayenne.util.PropertyComparator
 
findResource(String) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns a resource URL using the lookup strategy configured for this Resourcelocator or null if no readable resource can be found for the given name.
findResource(String) - Method in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
Looks for resources relative to /WEB-INF/ directory using ServletContext.
findResourceInClasspath(String) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Returns a resource as InputStream if it is found in CLASSPATH or null otherwise.
findResourceInFileSystem(String) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Returns a resource as InputStream if it is found in the filesystem or null otherwise.
findResourceStream(String) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns an InputStream on the found resource using the lookup strategy configured for this ResourceLocator or null if no readable resource can be found for the given name.
findURLInClassLoader(String, ClassLoader) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Looks up the URL for the named resource using the specified ClassLoader.
findURLInClasspath(String) - Static method in class org.objectstyle.cayenne.util.ResourceLocator
Looks up the URL for the named resource using this class' ClassLoader.
finished() - Method in class org.objectstyle.cayenne.util.AbstractHandler
Called when this element and all elements nested into it have been handled.
fire() - Method in class org.objectstyle.cayenne.util.Invocation
Invoke the target's method without any arguments.
fire(Object) - Method in class org.objectstyle.cayenne.util.Invocation
Invoke the target's method with a single argument.
fire(Object[]) - Method in class org.objectstyle.cayenne.util.Invocation
Invoke the target's method with an arbitrary number of arguments.

G

getAttributesToAdd(ObjEntity) - Method in class org.objectstyle.cayenne.util.EntityMergeSupport
Returns a list of attributes that exist in the DbEntity, but are missing from the ObjEntity.
getBundle() - Static method in class org.objectstyle.cayenne.util.LocalizedStringsHandler
 
getClassLoader() - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns the ClassLoader associated with this ResourceLocator.
getDequeueEventCode() - Method in class org.objectstyle.cayenne.util.RequestDequeue
Returns the dequeueEventCode.
getDequeueEventObject() - Method in class org.objectstyle.cayenne.util.RequestDequeue
Returns the dequeueEventObject.
getMap() - Method in class org.objectstyle.cayenne.util.EntityMergeSupport
 
getMethod() - Method in class org.objectstyle.cayenne.util.Invocation
 
getName() - Method in interface org.objectstyle.cayenne.util.CayenneMapEntry
Returns the name property of this object.
getName() - Method in class org.objectstyle.cayenne.util.RequestDequeue
Returns the name.
getPackagePath(String) - Static method in class org.objectstyle.cayenne.util.Util
Returns package information for the className parameter as a path separated with forward slash ('/').
getParameterTypes() - Method in class org.objectstyle.cayenne.util.Invocation
 
getParent() - Method in class org.objectstyle.cayenne.util.CayenneMap
Returns the parent.
getParent() - Method in interface org.objectstyle.cayenne.util.CayenneMapEntry
Returns the parent map.
getParser() - Method in class org.objectstyle.cayenne.util.AbstractHandler
Returns currently used XMLReader.
getRelationshipsToAdd(ObjEntity) - Method in class org.objectstyle.cayenne.util.EntityMergeSupport
 
getServletContext() - Method in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
Gets the ServletContext used to locate resources.
getSize() - Method in class org.objectstyle.cayenne.util.RequestQueue
 
getString(String) - Static method in class org.objectstyle.cayenne.util.LocalizedStringsHandler
Returns localized string for the given key.
getTarget() - Method in class org.objectstyle.cayenne.util.Invocation
 
getter - Variable in class org.objectstyle.cayenne.util.PropertyComparator
 

H

hashCode() - Method in class org.objectstyle.cayenne.util.Invocation
 

I

IDUtil - class org.objectstyle.cayenne.util.IDUtil.
helper class to generate pseudo-GUID sequences.
IDUtil() - Constructor for class org.objectstyle.cayenne.util.IDUtil
 
INTERRUPTED - Static variable in class org.objectstyle.cayenne.util.RequestDequeue
 
Invocation - class org.objectstyle.cayenne.util.Invocation.
Invocation represents a dynamic method invocation bound to a specific target.
Invocation() - Constructor for class org.objectstyle.cayenne.util.Invocation
Prevent use of empty default constructor
Invocation(Object, String) - Constructor for class org.objectstyle.cayenne.util.Invocation
Constructor for an Invocation without arguments in the target's method.
Invocation(Object, String, Class) - Constructor for class org.objectstyle.cayenne.util.Invocation
Constructor for an Invocation with a single argument in the target's method.
Invocation(Object, String, Class[]) - Constructor for class org.objectstyle.cayenne.util.Invocation
Constructor for an Invocation with arbitrary arguments in the target's method.
info(Object, Throwable) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
info(Object) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
ipAddress - Static variable in class org.objectstyle.cayenne.util.IDUtil
 
isDequeueSuccess() - Method in class org.objectstyle.cayenne.util.RequestDequeue
 
isEmptyString(String) - Static method in class org.objectstyle.cayenne.util.Util
Returns true, if the String is null or an empty string.
isInterrupted() - Method in class org.objectstyle.cayenne.util.RequestDequeue
 
isQueueFull() - Method in class org.objectstyle.cayenne.util.RequestDequeue
 
isTimedOut() - Method in class org.objectstyle.cayenne.util.RequestDequeue
 

L

LocalizedStringsHandler - class org.objectstyle.cayenne.util.LocalizedStringsHandler.
Provides access to various modeler resources (mainly strings) obtained via a ResourceBundle.
LocalizedStringsHandler() - Constructor for class org.objectstyle.cayenne.util.LocalizedStringsHandler
 
log - Static variable in class org.objectstyle.cayenne.util.Invocation
 
log(Priority, Object, Throwable) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
log(Priority, Object) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
logObj - Static variable in class org.objectstyle.cayenne.util.IDUtil
 
logObj - Static variable in class org.objectstyle.cayenne.util.LocalizedStringsHandler
 
logObj - Static variable in class org.objectstyle.cayenne.util.RequestQueue
 
logObj - Static variable in class org.objectstyle.cayenne.util.ResourceLocator
 
logObj - Static variable in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
 

M

map - Variable in class org.objectstyle.cayenne.util.EntityMergeSupport
 
maxSize - Variable in class org.objectstyle.cayenne.util.RequestQueue
 
md - Static variable in class org.objectstyle.cayenne.util.IDUtil
 

N

NameConverter - class org.objectstyle.cayenne.util.NameConverter.
Utility class to convert from different naming styles to Java convention.
NameConverter() - Constructor for class org.objectstyle.cayenne.util.NameConverter
 
name - Variable in class org.objectstyle.cayenne.util.RequestDequeue
 
nullSafeEquals(Object, Object) - Static method in class org.objectstyle.cayenne.util.Util
Compare two objects just like "equals" would.

O

orderings - Variable in class org.objectstyle.cayenne.util.DataObjectPropertyComparator
 
org.objectstyle.cayenne.util - package org.objectstyle.cayenne.util
 

P

PropertyComparator - class org.objectstyle.cayenne.util.PropertyComparator.
Comparator that can compare Java beans based on a value of a property.
PropertyComparator(String, Class) - Constructor for class org.objectstyle.cayenne.util.PropertyComparator
 
PropertyComparator(String, Class, boolean) - Constructor for class org.objectstyle.cayenne.util.PropertyComparator
 
parent - Variable in class org.objectstyle.cayenne.util.CayenneMap
 
parentHandler - Variable in class org.objectstyle.cayenne.util.AbstractHandler
Previous handler for the document.
parser - Variable in class org.objectstyle.cayenne.util.AbstractHandler
Current parser.
prettyTrim(String, int) - Static method in class org.objectstyle.cayenne.util.Util
Trims long strings substituting middle part with "...".
processPath(String, String, char) - Static method in class org.objectstyle.cayenne.util.ZipUtil
 
pseudoUniqueByteSequence(int) - Static method in class org.objectstyle.cayenne.util.IDUtil
 
pseudoUniqueByteSequence16() - Static method in class org.objectstyle.cayenne.util.IDUtil
 
put(Object, Object) - Method in class org.objectstyle.cayenne.util.CayenneMap
Maps specified key-value pair.
putAll(Map) - Method in class org.objectstyle.cayenne.util.CayenneMap
 

Q

QUEUE_FULL - Static variable in class org.objectstyle.cayenne.util.RequestDequeue
 
queue - Variable in class org.objectstyle.cayenne.util.RequestQueue
 
queueThread() - Method in class org.objectstyle.cayenne.util.RequestQueue
Queues current thread.

R

RequestDequeue - class org.objectstyle.cayenne.util.RequestDequeue.
RequestDequeue encapsulates the result of a thread wait in the RequestQueue.
RequestDequeue() - Constructor for class org.objectstyle.cayenne.util.RequestDequeue
 
RequestDequeue(String) - Constructor for class org.objectstyle.cayenne.util.RequestDequeue
 
RequestQueue - class org.objectstyle.cayenne.util.RequestQueue.
RequestQueue implements a FIFO queue for threads waiting for a particular event, resource, etc.
RequestQueue(int, int) - Constructor for class org.objectstyle.cayenne.util.RequestQueue
Constructor for RequestQueue.
ResourceLocator - class org.objectstyle.cayenne.util.ResourceLocator.
Utility class to find resources.
ResourceLocator() - Constructor for class org.objectstyle.cayenne.util.ResourceLocator
Creates new ResourceLocator with default lookup policy including user home directory, current directory and CLASSPATH.
ResourceLocator.PredicateLogger - class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger.
Custom logger that can be dynamically turned on/off by evaluating a Predicate.
ResourceLocator.PredicateLogger(String) - Constructor for class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
ResourceLocator.PredicateLogger(Class, Predicate) - Constructor for class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
ResourceLocator.PredicateLogger(String, Predicate) - Constructor for class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
regexUtil - Static variable in class org.objectstyle.cayenne.util.Util
 

S

setClassLoader(ClassLoader) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Sets ClassLoader used to locate resources.
setDequeueEventCode(int) - Method in class org.objectstyle.cayenne.util.RequestDequeue
Sets the dequeueEventCode.
setDequeueEventObject(Object) - Method in class org.objectstyle.cayenne.util.RequestDequeue
Sets the dequeueEventObject.
setMap(DataMap) - Method in class org.objectstyle.cayenne.util.EntityMergeSupport
 
setParent(Object) - Method in class org.objectstyle.cayenne.util.CayenneMap
Sets the parent.
setParent(Object) - Method in interface org.objectstyle.cayenne.util.CayenneMapEntry
Stores the parent map.
setServletContext(ServletContext) - Method in class org.objectstyle.cayenne.util.WebApplicationResourceLocator
Sets the ServletContext used to locate resources.
setSkipAbsolutePath(boolean) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Sets "skipAbsolutePath" property.
setSkipClasspath(boolean) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Sets "skipClasspath" property.
setSkipCurrentDirectory(boolean) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Sets "skipCurrentDirectory" property.
setSkipHomeDirectory(boolean) - Method in class org.objectstyle.cayenne.util.ResourceLocator
Sets "skipHomeDirectory" property.
skipAbsolutePath - Variable in class org.objectstyle.cayenne.util.ResourceLocator
properties for enabling/disabling certain lookup strategies
skipClasspath - Variable in class org.objectstyle.cayenne.util.ResourceLocator
 
skipCurrentDirectory - Variable in class org.objectstyle.cayenne.util.ResourceLocator
 
skipHomeDirectory - Variable in class org.objectstyle.cayenne.util.ResourceLocator
 
sortedIterator(Iterator, Comparator) - Static method in class org.objectstyle.cayenne.util.Util
Returns a sorted iterator from an unsorted one.
startElement(String, String, String, Attributes) - Method in class org.objectstyle.cayenne.util.AbstractHandler
Handles the start of an element.
stringFromFile(File) - Static method in class org.objectstyle.cayenne.util.Util
Reads file contents as String.
stringFromFile(File, String) - Static method in class org.objectstyle.cayenne.util.Util
 
stripFileExtension(String) - Static method in class org.objectstyle.cayenne.util.Util
Utility method to remove extension from a file name.
substBackslashes(String) - Static method in class org.objectstyle.cayenne.util.Util
 
synchronizeWithDbEntities(List) - Method in class org.objectstyle.cayenne.util.EntityMergeSupport
Updates each one of the list of ObjEntities, adding attributes and relationships based on the current state of its DbEntity.
synchronizeWithDbEntity(ObjEntity) - Method in class org.objectstyle.cayenne.util.EntityMergeSupport
Updates ObjEntity attributes and relationships based on the current state of its DbEntity.

T

TIMED_OUT - Static variable in class org.objectstyle.cayenne.util.RequestDequeue
 
timeout - Variable in class org.objectstyle.cayenne.util.RequestQueue
 
toString() - Method in class org.objectstyle.cayenne.util.RequestDequeue
 

U

Util - class org.objectstyle.cayenne.util.Util.
Contains various unorganized static utility methods used across Cayenne.
Util() - Constructor for class org.objectstyle.cayenne.util.Util
 
undescoredToJava(String, boolean) - Static method in class org.objectstyle.cayenne.util.NameConverter
Converts names like "ABCD_EFG_123" to Java-style names like "abcdEfg123".
unwindException(Throwable) - Static method in class org.objectstyle.cayenne.util.Util
Attempts to find an underlying exception of a given exception.
unzip(File, File) - Static method in class org.objectstyle.cayenne.util.ZipUtil
Unpacks a zip file to the target directory.

W

WebApplicationResourceLocator - class org.objectstyle.cayenne.util.WebApplicationResourceLocator.
 
WebApplicationResourceLocator(ServletContext) - Constructor for class org.objectstyle.cayenne.util.WebApplicationResourceLocator
Creates new WebApplicationResourceLocator with default lookup policy including user home directory, current directory and CLASSPATH.
warn(Object, Throwable) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
warn(Object) - Method in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
willSkipAbsolutePath() - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns true if no lookups are performed using path as absolute path.
willSkipClasspath() - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns true if no lookups are performed in the classpath.
willSkipCurrentDirectory() - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns true if no lookups are performed in the current directory.
willSkipHomeDirectory() - Method in class org.objectstyle.cayenne.util.ResourceLocator
Returns true if no lookups are performed in the user home directory.

Z

ZipUtil - class org.objectstyle.cayenne.util.ZipUtil.
Utility class to perform zip/unzip operations on files and directories.
ZipUtil() - Constructor for class org.objectstyle.cayenne.util.ZipUtil
Constructor for ZipUtil.
zip(File, File, File[], char) - Static method in class org.objectstyle.cayenne.util.ZipUtil
Recursively zips a set of root entries into a zipfile, compressing the contents.
zipDirectory(ZipOutputStream, String, File, char) - Static method in class org.objectstyle.cayenne.util.ZipUtil
Uses code fragments from Jakarta-Ant, Copyright: Apache Software Foundation.
zipFile(ZipOutputStream, String, File, char) - Static method in class org.objectstyle.cayenne.util.ZipUtil
Uses code fragments from Jakarta-Ant, Copyright: Apache Software Foundation.

_

_method - Variable in class org.objectstyle.cayenne.util.Invocation
 
_parameterTypes - Variable in class org.objectstyle.cayenne.util.Invocation
 
_predicate - Variable in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 
_target - Variable in class org.objectstyle.cayenne.util.Invocation
 
_target - Variable in class org.objectstyle.cayenne.util.ResourceLocator.PredicateLogger
 

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