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

A

addFilter(Filter) - Method in class org.fuin.utils4j.filter.ListFilter
Adds another filter term to the list.
addToClasspath(String) - Static method in class org.fuin.utils4j.Utils4J
Adds an URL to the classpath.
addToClasspath(URL) - Static method in class org.fuin.utils4j.Utils4J
Adds an URL to the classpath.
AndFilter - Class in org.fuin.utils4j.filter
Defines a filter on a list of sub filters 'and's them all together.
AndFilter() - Constructor for class org.fuin.utils4j.filter.AndFilter
Default constructor with no arguments.
AndFilter(Filter, Filter) - Constructor for class org.fuin.utils4j.filter.AndFilter
Constructor with two terms.
available() - Method in class org.fuin.utils4j.RandomAccessFileInputStream

B

BooleanFilter - Class in org.fuin.utils4j.filter
Defines a filter on a Boolean property value.
BooleanFilter(Boolean) - Constructor for class org.fuin.utils4j.filter.BooleanFilter
Constructor with all necessary values.
BooleanPropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter on a Boolean value.
BooleanPropertyFilter(String, Boolean) - Constructor for class org.fuin.utils4j.filter.BooleanPropertyFilter
Constructor with all necessary values.

C

cancel() - Method in interface org.fuin.utils4j.Cancelable
Try to cancel the unit of work.
cancel() - Method in class org.fuin.utils4j.CancelableVolatile
Try to cancel the unit of work.
Cancelable - Interface in org.fuin.utils4j
A unit of work that is cancelable.
CancelableVolatile - Class in org.fuin.utils4j
A simple Cancelable implementation that can be used to synchronize a cancel request between threads without locking.
CancelableVolatile() - Constructor for class org.fuin.utils4j.CancelableVolatile
 
checkNotEmpty(String, String) - Static method in class org.fuin.utils4j.Utils4J
Checks if a variable is not empty and throws an IllegalNullArgumentException if this rule is violated.
checkNotNull(String, Object) - Static method in class org.fuin.utils4j.Utils4J
Checks if a variable is not null and throws an IllegalNullArgumentException if this rule is violated.
checkValidDir(File) - Static method in class org.fuin.utils4j.Utils4J
Check if the argument is an existing directory.
checkValidFile(File) - Static method in class org.fuin.utils4j.Utils4J
Check if the argument is an existing file.
childrenNamesSpi() - Method in class org.fuin.utils4j.PropertiesFilePreferences
childSpi(String) - Method in class org.fuin.utils4j.PropertiesFilePreferences
clear() - Method in class org.fuin.utils4j.PropertiesFile
Discards all properties in memory (not on disk!).
close() - Method in class org.fuin.utils4j.RandomAccessFileInputStream
close() - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Closes the underlying file and sets the length to the current position.
ComparableFilter - Class in org.fuin.utils4j.filter
Defines a filter on a Comparable value.
ComparableFilter(ComparableFilter.Operator, Comparable) - Constructor for class org.fuin.utils4j.filter.ComparableFilter
Constructor with a property and an operator.
ComparableFilter.Operator - Class in org.fuin.utils4j.filter
Operators for compare operations.
ComparablePropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter on a Comparable property.
ComparablePropertyFilter(String, ComparableFilter) - Constructor for class org.fuin.utils4j.filter.ComparablePropertyFilter
Constructor with a property and an operator.
compareTo(Object) - Method in class org.fuin.utils4j.Property
complies(Object) - Method in class org.fuin.utils4j.filter.AndFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.BooleanFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.BooleanPropertyFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.ComparableFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.ComparablePropertyFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in interface org.fuin.utils4j.filter.Filter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.OrFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.RegExprFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.RegExprPropertyFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.StringFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.StringPropertyFilter
Checks if the argument complies with the condition of the filter.
complies(Object) - Method in class org.fuin.utils4j.filter.TokenFilter
Checks if the argument complies with the condition of the filter.
complies(String, String, String) - Method in class org.fuin.utils4j.filter.TokenFilter
Helper method for subclasses to do the comparation.
complies(Object) - Method in class org.fuin.utils4j.filter.TokenPropertyFilter
Checks if the argument complies with the condition of the filter.
concatPathAndFilename(String, String, String) - Static method in class org.fuin.utils4j.Utils4J
Concatenate a path and a filename taking null and empty string values into account.
containsURL(URL[], URL) - Static method in class org.fuin.utils4j.Utils4J
Checks if the array or URLs contains the given URL.
createHash(File) - Static method in class org.fuin.utils4j.Utils4J
Deprecated. Use createHashMD5 instead.
createHash(File, String) - Static method in class org.fuin.utils4j.Utils4J
Creates a HEX encoded hash from a file.
createHash(InputStream, String) - Static method in class org.fuin.utils4j.Utils4J
Creates a HEX encoded hash from a stream.
createHashMD5(File) - Static method in class org.fuin.utils4j.Utils4J
Creates an MD5 hash from a file.
createInstance(String) - Static method in class org.fuin.utils4j.Utils4J
Create an instance with Class.forName(..) and wrap all exceptions into RuntimeExceptions.
createUrl(URL, String, String) - Static method in class org.fuin.utils4j.Utils4J
Creates an URL based on a directory a relative path and a filename.
createWindowsDesktopUrlLink(String, String, File, Integer, Integer, File, Integer, String, boolean, Date) - Static method in class org.fuin.utils4j.Utils4J
Creates an URL Link on the Windows Desktop.
createWindowsDesktopUrlLinkContent(String, String, File, Integer, Integer, File, Integer, Date) - Static method in class org.fuin.utils4j.Utils4J
Creates the content of an URL Link file (.url) on the Windows Desktop.For a description see http://www.cyanwerks.com/file-format-url.html.

D

dateToFileTime(Date) - Static method in class org.fuin.utils4j.Utils4J
Converts Date into a Windows FILETIME.
DEFAULT_AND_STR - Static variable in class org.fuin.utils4j.filter.AndFilter
Used to create a String representation of this filter.
DEFAULT_CLOSE_BRACKET - Static variable in class org.fuin.utils4j.filter.ListFilter
Used to build a String representation out of this filter.
DEFAULT_OPEN_BRACKET - Static variable in class org.fuin.utils4j.filter.ListFilter
Used to build a String representation out of this filter.
DEFAULT_OR_STR - Static variable in class org.fuin.utils4j.filter.OrFilter
Used to create a String representation of this filter.
delete() - Method in class org.fuin.utils4j.PropertiesFile
Tries to delete the underlying file.

E

encodeHex(byte[]) - Static method in class org.fuin.utils4j.Utils4J
Converts an array of bytes into an array of characters representing the hexidecimal values of each byte in order.
EQ - Static variable in class org.fuin.utils4j.filter.ComparableFilter.Operator
Equal.
EQ - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
Equal.
EQ_RELAXED - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
Equal (relaxed) compare for Strings.
equals(Object) - Method in class org.fuin.utils4j.Property
exists() - Method in class org.fuin.utils4j.PropertiesFile
Determines if the underlying file already exists.

F

FILENAME - Static variable in class org.fuin.utils4j.PropertiesFilePreferences
Filename the properties of this node are stored under.
fileSize() - Method in class org.fuin.utils4j.RandomAccessFileInputStream
Returns the size of the underlying file.
Filter - Interface in org.fuin.utils4j.filter
Defines a filter condition.
FIND - Static variable in class org.fuin.utils4j.filter.RegExprFilter
The find method scans the input sequence looking for the next subsequence that matches the pattern.
flush() - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Calls sync() of the underlying file's descriptor.
flushSpi() - Method in class org.fuin.utils4j.PropertiesFilePreferences

G

get(String) - Method in class org.fuin.utils4j.PropertiesFile
Returns a value for a given key.
getAndStr() - Method in class org.fuin.utils4j.filter.AndFilter
Returns the phrase representing this type of filter.
getArgument() - Method in exception org.fuin.utils4j.IllegalNullArgumentException
Returns the name of the argument that caused the exception.
getChannel() - Method in class org.fuin.utils4j.RandomAccessFileInputStream
Returns the channel used by the random access file.
getChannel() - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Returns the channel used by the random access file.
getCloseBracket() - Method in class org.fuin.utils4j.filter.ListFilter
Returns the String used as a closing bracket for the term.
getConstValue() - Method in class org.fuin.utils4j.filter.BooleanFilter
Returns the value the property is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.BooleanPropertyFilter
Returns the value the property is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.IntegerFilter
Returns the constant value any value is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.IntegerPropertyFilter
Returns the constant value any value is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.StringFilter
Returns the constant value any string is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.StringPropertyFilter
Returns the constant value any value is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.TokenFilter
Returns the constant value any string is compared with.
getConstValue() - Method in class org.fuin.utils4j.filter.TokenPropertyFilter
Returns the constant value any value is compared with.
getConstValueIntern() - Method in class org.fuin.utils4j.filter.ComparableFilter
Returns the constant value any string is compared with.
getCounter() - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Returns the number of bytes written since start or since last call to resetCounter().
getEncoding() - Method in class org.fuin.utils4j.PropertiesFile
Returns the encoding of the file.
getFile() - Method in exception org.fuin.utils4j.MergeException
File that caused the exception.
getFile() - Method in class org.fuin.utils4j.PropertiesFile
Returns the underlying file.
getFileProp() - Method in class org.fuin.utils4j.MergeException.Problem
Returns the property from disk.
getFilter() - Method in class org.fuin.utils4j.filter.ComparablePropertyFilter
Returns the filter used for compare operations.
getFilterList() - Method in class org.fuin.utils4j.filter.ListFilter
Returns a list of all subfilters.
getId() - Method in class org.fuin.utils4j.filter.ComparableFilter.Operator
Returns the unique name of the operator.
getId() - Method in class org.fuin.utils4j.filter.StringFilter.Operator
Returns the unique name of the operator.
getInitialValue() - Method in class org.fuin.utils4j.Property
Returns the initial value of the property.
getInstance(String) - Static method in class org.fuin.utils4j.filter.ComparableFilter.Operator
Returns an instance for a given id.
getInstance(String) - Static method in class org.fuin.utils4j.filter.StringFilter.Operator
Returns an instance for a given id.
getKey() - Method in class org.fuin.utils4j.Property
Returns the key of the property.
getKeyArray() - Method in class org.fuin.utils4j.PropertiesFile
Returns an array of all known keys including the deleted ones.
getKeyList() - Method in class org.fuin.utils4j.PropertiesFile
Returns a list of all known keys including the deleted ones.
getOpenBracket() - Method in class org.fuin.utils4j.filter.ListFilter
Returns the String used as an opening bracket for the term.
getOperator() - Method in class org.fuin.utils4j.filter.ComparableFilter
Returns the operator for compare operations.
getOperator() - Method in class org.fuin.utils4j.filter.ComparablePropertyFilter
Returns the operator for compare operations.
getOperator() - Method in class org.fuin.utils4j.filter.StringFilter
Returns the operator for compare operations.
getOperator() - Method in class org.fuin.utils4j.filter.StringPropertyFilter
Returns the operator for compare operations.
getOperatorName() - Method in class org.fuin.utils4j.filter.ComparableFilter
Returns the operator for compare operations.
getOperatorName() - Method in class org.fuin.utils4j.filter.ComparablePropertyFilter
Returns the operator for compare operations.
getOperatorName() - Method in class org.fuin.utils4j.filter.StringFilter
Returns the operator for compare operations.
getOperatorName() - Method in class org.fuin.utils4j.filter.StringPropertyFilter
Returns the operator for compare operations.
getOrStr() - Method in class org.fuin.utils4j.filter.OrFilter
Returns the phrase representing this type of filter.
getPackagePath(Class) - Static method in class org.fuin.utils4j.Utils4J
Returns the package path of a class.
getPattern() - Method in class org.fuin.utils4j.filter.RegExprFilter
Return the pattern.
getPattern() - Method in class org.fuin.utils4j.filter.RegExprPropertyFilter
Return the pattern.
getProblems() - Method in exception org.fuin.utils4j.MergeException
Returns an array with the problems.
getProp() - Method in class org.fuin.utils4j.MergeException.Problem
Returns the property from memory.
getProperty(Object, String) - Method in class org.fuin.utils4j.filter.PropertyFilter
Return the value of a property via reflection.
getPropertyName() - Method in class org.fuin.utils4j.filter.PropertyFilter
Returns the property to be used for filtering.
getRelativePath(File, File) - Static method in class org.fuin.utils4j.Utils4J
Returns a relative path based on a base directory.
getResource(Class, String) - Static method in class org.fuin.utils4j.Utils4J
Get the path to a resource located in the same package as a given class.
getSeparators() - Method in class org.fuin.utils4j.filter.TokenFilter
Returns a string with one or more separators.
getSeparators() - Method in class org.fuin.utils4j.filter.TokenPropertyFilter
Returns a string with one or more separators.
getSign() - Method in class org.fuin.utils4j.filter.ComparableFilter.Operator
Returns the symbol for the operator.
getSign() - Method in class org.fuin.utils4j.filter.StringFilter.Operator
Returns the symbol for the operator.
getSpi(String) - Method in class org.fuin.utils4j.PropertiesFilePreferences
getStatus(String) - Method in class org.fuin.utils4j.PropertiesFile
Returns a status text for a given key.
getStatus() - Method in class org.fuin.utils4j.Property
Returns a 3-code status text.
getTempDir() - Static method in class org.fuin.utils4j.Utils4J
Returns the temporary directory and checks if it is valid and exists.
getText() - Method in class org.fuin.utils4j.MergeException.Problem
Returns the message describing the problem.
getTryLockMax() - Method in class org.fuin.utils4j.PropertiesFile
Returns the number of tries to lock before throwing an exception.
getTryWaitMillis() - Method in class org.fuin.utils4j.PropertiesFile
Returns the milliseconds to sleep between retries.
getType() - Method in class org.fuin.utils4j.filter.RegExprFilter
Returns the type of the matching.
getType() - Method in class org.fuin.utils4j.filter.RegExprPropertyFilter
Returns the type of the matching.
getTypeName() - Method in class org.fuin.utils4j.filter.RegExprFilter
Returns the type name of the matching.
getTypeName() - Method in class org.fuin.utils4j.filter.RegExprPropertyFilter
Returns the type name of the matching.
getUserHomeDir() - Static method in class org.fuin.utils4j.Utils4J
Returns the user home directory and checks if it is valid and exists.
getValue() - Method in class org.fuin.utils4j.Property
Returns the current value of the property.
GT - Static variable in class org.fuin.utils4j.filter.ComparableFilter.Operator
Greater than.
GT - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
Greater than.
GTE - Static variable in class org.fuin.utils4j.filter.ComparableFilter.Operator
Greater than or equal.
GTE - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
Greater than or equal.

H

hasChanged() - Method in class org.fuin.utils4j.Property
Returns if the value has changed since construction.
hashCode() - Method in class org.fuin.utils4j.Property

I

IllegalNullArgumentException - Exception in org.fuin.utils4j
Thrown to indicate that a method has been passed an illegal null argument.
IllegalNullArgumentException(String) - Constructor for exception org.fuin.utils4j.IllegalNullArgumentException
Constructor with argument name.
INSTANCES - Static variable in class org.fuin.utils4j.filter.ComparableFilter.Operator
List of all known instances.
INSTANCES - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
List of all known instances.
IntegerFilter - Class in org.fuin.utils4j.filter
Defines a filter on an Integer value.
IntegerFilter(String, Integer) - Constructor for class org.fuin.utils4j.filter.IntegerFilter
Constructor with a string and a value.
IntegerFilter(ComparableFilter.Operator, Integer) - Constructor for class org.fuin.utils4j.filter.IntegerFilter
Constructor with an operator and a value.
IntegerPropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter on a Integer property.
IntegerPropertyFilter(String, String, Integer) - Constructor for class org.fuin.utils4j.filter.IntegerPropertyFilter
Constructor.
IntegerPropertyFilter(String, ComparableFilter.Operator, Integer) - Constructor for class org.fuin.utils4j.filter.IntegerPropertyFilter
Constructor.
invoke(Object, String, Class[], Object[]) - Static method in class org.fuin.utils4j.Utils4J
Calls a method with reflection and maps all errors into one exception.
InvokeMethodFailedException - Exception in org.fuin.utils4j
Calling a method with reflection failed.
InvokeMethodFailedException(String) - Constructor for exception org.fuin.utils4j.InvokeMethodFailedException
Constructor with error message.
InvokeMethodFailedException(String, Throwable) - Constructor for exception org.fuin.utils4j.InvokeMethodFailedException
Constructor with error message and cause.
isCanceled() - Method in interface org.fuin.utils4j.Cancelable
Returns if the unit of work was canceled.
isCanceled() - Method in class org.fuin.utils4j.CancelableVolatile
Returns if the unit of work was canceled.
isDeleted() - Method in class org.fuin.utils4j.Property
Returns if the value has been deleted since construction.
isLoaded() - Method in class org.fuin.utils4j.PropertiesFile
Returns if the underlying file has ever been read.
isNew() - Method in class org.fuin.utils4j.Property
Returns if the value has been created since construction.
isRemoved(String) - Method in class org.fuin.utils4j.PropertiesFile
Returns if a property has been deleted.
isValid(String) - Static method in class org.fuin.utils4j.filter.ComparableFilter.Operator
Determines if a given id is valid.
isValid(String) - Static method in class org.fuin.utils4j.filter.StringFilter.Operator
Determines if a given id is valid.

K

keyIterator() - Method in class org.fuin.utils4j.PropertiesFile
Returns a key iterator.
keysSpi() - Method in class org.fuin.utils4j.PropertiesFilePreferences

L

ListFilter - Class in org.fuin.utils4j.filter
Defines a filter on a list of sub filters.
ListFilter() - Constructor for class org.fuin.utils4j.filter.ListFilter
Default constructor with no arguments.
ListFilter(Filter, Filter) - Constructor for class org.fuin.utils4j.filter.ListFilter
Constructor with two terms.
load() - Method in class org.fuin.utils4j.PropertiesFile
Loads or reloads the content of the underlying file.
loadProperties(Class, String) - Static method in class org.fuin.utils4j.Utils4J
Load properties from classpath.
loadProperties(File) - Static method in class org.fuin.utils4j.Utils4J
Load properties from a file.
loadProperties(URL, String) - Static method in class org.fuin.utils4j.Utils4J
Load a file from an directory.
loadProperties(URL) - Static method in class org.fuin.utils4j.Utils4J
Load a file from an URL.
loadProperties(String, String) - Static method in class org.fuin.utils4j.Utils4J
Load a file from an directory.
lock(int, long) - Method in class org.fuin.utils4j.RandomAccessFileInputStream
Lock the file.
lock(int, long) - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Lock the file.
LockingFailedException - Exception in org.fuin.utils4j
Getting a lock failed.
LockingFailedException(String) - Constructor for exception org.fuin.utils4j.LockingFailedException
Constructor with message.
LockingFailedException(String, Throwable) - Constructor for exception org.fuin.utils4j.LockingFailedException
Constructor with message.
lockRandomAccessFile(RandomAccessFile, int, long) - Static method in class org.fuin.utils4j.Utils4J
Lock the file.
LOOKING_AT - Static variable in class org.fuin.utils4j.filter.RegExprFilter
The lookingAt method attempts to match the input sequence, starting at the beginning, against the pattern.
LT - Static variable in class org.fuin.utils4j.filter.ComparableFilter.Operator
Less than.
LT - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
Less than.
LTE - Static variable in class org.fuin.utils4j.filter.ComparableFilter.Operator
Less than or equal.
LTE - Static variable in class org.fuin.utils4j.filter.StringFilter.Operator
Less than or equal.

M

mark(int) - Method in class org.fuin.utils4j.RandomAccessFileInputStream
markSupported() - Method in class org.fuin.utils4j.RandomAccessFileInputStream
MATCHES - Static variable in class org.fuin.utils4j.filter.RegExprFilter
The matches method attempts to match the entire input sequence against the pattern.
MergeException - Exception in org.fuin.utils4j
One or more attempts to merge properties failed.
MergeException(File, MergeException.Problem[]) - Constructor for exception org.fuin.utils4j.MergeException
Constructor with file and problem list.
MergeException.Problem - Class in org.fuin.utils4j
Error while merging a property.
MergeException.Problem(String, Property, Property) - Constructor for class org.fuin.utils4j.MergeException.Problem
Constructor with message and properties.

O

OrFilter - Class in org.fuin.utils4j.filter
Defines a filter on a list of sub filters all OR'ed together.
OrFilter() - Constructor for class org.fuin.utils4j.filter.OrFilter
Default constructor with no arguments.
OrFilter(Filter, Filter) - Constructor for class org.fuin.utils4j.filter.OrFilter
Constructor with two terms.
org.fuin.utils4j - package org.fuin.utils4j
Basic Java utilities.
org.fuin.utils4j.filter - package org.fuin.utils4j.filter
 

P

PropertiesFile - Class in org.fuin.utils4j
A properties file that is capable of merging concurrent changes made by another JVM or another process.
PropertiesFile(File) - Constructor for class org.fuin.utils4j.PropertiesFile
Constructor with file.
PropertiesFile(File, String) - Constructor for class org.fuin.utils4j.PropertiesFile
Constructor with file and encoding.
PropertiesFilePreferences - Class in org.fuin.utils4j
A directory and PropertiesFile based Preferences API implementation.
PropertiesFilePreferences(File) - Constructor for class org.fuin.utils4j.PropertiesFilePreferences
Constructor with directory.
PropertiesFilePreferences(PropertiesFilePreferences, File) - Constructor for class org.fuin.utils4j.PropertiesFilePreferences
Constructor with parent node and directory.
PropertiesFilePreferencesFactory - Class in org.fuin.utils4j
A factory for creating root nodes using the PropertiesFilePreferences implementation.
PropertiesFilePreferencesFactory() - Constructor for class org.fuin.utils4j.PropertiesFilePreferencesFactory
Default constructor.
PropertiesFilePreferencesFactory(String, String) - Constructor for class org.fuin.utils4j.PropertiesFilePreferencesFactory
Constructor with path and filenames of the system and user root directories.
Property - Class in org.fuin.utils4j
A key value pair that maintains an additional change state.
Property(String, String, String) - Constructor for class org.fuin.utils4j.Property
Constructor with all values.
PropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter on an object property.
PropertyFilter(String) - Constructor for class org.fuin.utils4j.filter.PropertyFilter
Constructor with property.
put(String, String) - Method in class org.fuin.utils4j.PropertiesFile
Set a value for a property.
putSpi(String, String) - Method in class org.fuin.utils4j.PropertiesFilePreferences

R

RandomAccessFileInputStream - Class in org.fuin.utils4j
A random access based file input stream.
RandomAccessFileInputStream(File, String) - Constructor for class org.fuin.utils4j.RandomAccessFileInputStream
Constructor with file.
RandomAccessFileInputStream(RandomAccessFileInputStream) - Constructor for class org.fuin.utils4j.RandomAccessFileInputStream
Constructor with input stream.
RandomAccessFileInputStream(RandomAccessFileOutputStream) - Constructor for class org.fuin.utils4j.RandomAccessFileInputStream
Constructor with output stream.
RandomAccessFileOutputStream - Class in org.fuin.utils4j
A random access based file output stream.
RandomAccessFileOutputStream(File, String) - Constructor for class org.fuin.utils4j.RandomAccessFileOutputStream
Constructor with file.
RandomAccessFileOutputStream(RandomAccessFileOutputStream) - Constructor for class org.fuin.utils4j.RandomAccessFileOutputStream
Constructor with output stream.
RandomAccessFileOutputStream(RandomAccessFileInputStream) - Constructor for class org.fuin.utils4j.RandomAccessFileOutputStream
Constructor with input stream.
read() - Method in class org.fuin.utils4j.RandomAccessFileInputStream
read(byte[]) - Method in class org.fuin.utils4j.RandomAccessFileInputStream
read(byte[], int, int) - Method in class org.fuin.utils4j.RandomAccessFileInputStream
RegExprFilter - Class in org.fuin.utils4j.filter
Defines a filter based on a regular expression.
RegExprFilter(String) - Constructor for class org.fuin.utils4j.filter.RegExprFilter
Constructor with pattern.
RegExprPropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter with a regular expression on a property.
RegExprPropertyFilter(String, String) - Constructor for class org.fuin.utils4j.filter.RegExprPropertyFilter
Constructor with property and pattern.
remove(String) - Method in class org.fuin.utils4j.PropertiesFile
Remove the property with the given key.
removeFilter(Filter) - Method in class org.fuin.utils4j.filter.ListFilter
Removes a filter term from the list.
removeNodeSpi() - Method in class org.fuin.utils4j.PropertiesFilePreferences
removeSpi(String) - Method in class org.fuin.utils4j.PropertiesFilePreferences
replaceVars(String, Map) - Static method in class org.fuin.utils4j.Utils4J
Replaces all variables inside a string with values from a map.
reset() - Method in class org.fuin.utils4j.RandomAccessFileInputStream
resetCounter() - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Sets the internal counter to 0.

S

save(boolean) - Method in class org.fuin.utils4j.PropertiesFile
Save the content from memory to disk.
save(String, boolean) - Method in class org.fuin.utils4j.PropertiesFile
Save the content from memory to disk.
save(String[], boolean) - Method in class org.fuin.utils4j.PropertiesFile
Save the content from memory to disk.
saveProperties(File, Properties, String) - Static method in class org.fuin.utils4j.Utils4J
Save properties to a file.
seek(long) - Method in class org.fuin.utils4j.RandomAccessFileInputStream
Sets the file-pointer offset, measured from the beginning of this file, at which the next read or write occurs.
seek(long) - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Sets the file-pointer offset, measured from the beginning of this file, at which the next read or write occurs.
setAndStr(String) - Method in class org.fuin.utils4j.filter.AndFilter
Set the phrase representing this type of filter A NULL argument will set the default DEFAULT_AND_STR.
setCloseBracket(String) - Method in class org.fuin.utils4j.filter.ListFilter
Sets the String used as a closing bracket for the term.
setFilterList(List) - Method in class org.fuin.utils4j.filter.ListFilter
Set a list of subfilters.
setLength(long) - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Sets the length of this file.
setOpenBracket(String) - Method in class org.fuin.utils4j.filter.ListFilter
Sets the String used as an opening bracket for the term.
setOrStr(String) - Method in class org.fuin.utils4j.filter.OrFilter
Set the phrase representing this type of filter A NULL argument will set the default DEFAULT_OR_STR.
setTryLockMax(int) - Method in class org.fuin.utils4j.PropertiesFile
Sets the number of tries to lock before throwing an exception.
setTryWaitMillis(long) - Method in class org.fuin.utils4j.PropertiesFile
Sets the milliseconds to sleep between retries.
setType(int) - Method in class org.fuin.utils4j.filter.RegExprFilter
Sets the type of the matching.
setType(int) - Method in class org.fuin.utils4j.filter.RegExprPropertyFilter
Sets the type of the matching.
setTypeName(String) - Method in class org.fuin.utils4j.filter.RegExprFilter
Sets the type name of the matching.
setTypeName(String) - Method in class org.fuin.utils4j.filter.RegExprPropertyFilter
Sets the type name of the matching.
setValue(String) - Method in class org.fuin.utils4j.Property
Sets the current value of the property.
size() - Method in class org.fuin.utils4j.PropertiesFile
Number of properties.
skip(long) - Method in class org.fuin.utils4j.RandomAccessFileInputStream
StringFilter - Class in org.fuin.utils4j.filter
Defines a filter on a String.
StringFilter(String, String) - Constructor for class org.fuin.utils4j.filter.StringFilter
Constructor with a property and an operator.
StringFilter(StringFilter.Operator, String) - Constructor for class org.fuin.utils4j.filter.StringFilter
Constructor with a property and an operator.
StringFilter.Operator - Class in org.fuin.utils4j.filter
Operators for compare operations.
StringPropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter on a String property.
StringPropertyFilter(String, StringFilter.Operator, String) - Constructor for class org.fuin.utils4j.filter.StringPropertyFilter
Constructor with a property and an operator.
StringPropertyFilter(String, String, String) - Constructor for class org.fuin.utils4j.filter.StringPropertyFilter
Constructor with a property and an operator name.
syncSpi() - Method in class org.fuin.utils4j.PropertiesFilePreferences
SYSTEM_PREF_DIR - Static variable in class org.fuin.utils4j.PropertiesFilePreferencesFactory
System property key used containing the path and name of the "system" preferences directory.
systemRoot() - Method in class org.fuin.utils4j.PropertiesFilePreferencesFactory

T

TokenFilter - Class in org.fuin.utils4j.filter
Defines a filter on a token.
TokenFilter(String, String) - Constructor for class org.fuin.utils4j.filter.TokenFilter
Constructor with a constant value and separators.
TokenPropertyFilter - Class in org.fuin.utils4j.filter
Defines a filter on a String property.
TokenPropertyFilter(String, String, String) - Constructor for class org.fuin.utils4j.filter.TokenPropertyFilter
Constructor with a property, a constant value and separators.
toKeyValue() - Method in class org.fuin.utils4j.Property
Returns the key and value separated by an equal sign.
toProperties() - Method in class org.fuin.utils4j.PropertiesFile
Returns a copy of all properties.
toProperties() - Method in class org.fuin.utils4j.PropertiesFilePreferences
Returns a copy of all properties.
toString() - Method in class org.fuin.utils4j.filter.AndFilter
toString() - Method in class org.fuin.utils4j.filter.BooleanFilter
toString() - Method in class org.fuin.utils4j.filter.BooleanPropertyFilter
toString() - Method in class org.fuin.utils4j.filter.ComparableFilter.Operator
toString() - Method in class org.fuin.utils4j.filter.ComparableFilter
toString() - Method in class org.fuin.utils4j.filter.ComparablePropertyFilter
toString(String) - Method in class org.fuin.utils4j.filter.ListFilter
Helper for creating a String representation of the filter.
toString() - Method in class org.fuin.utils4j.filter.OrFilter
toString() - Method in class org.fuin.utils4j.filter.RegExprFilter
toString() - Method in class org.fuin.utils4j.filter.StringFilter.Operator
toString() - Method in class org.fuin.utils4j.filter.StringFilter
toString() - Method in class org.fuin.utils4j.filter.StringPropertyFilter
toString() - Method in class org.fuin.utils4j.filter.TokenFilter
toString() - Method in class org.fuin.utils4j.filter.TokenPropertyFilter
toString() - Method in class org.fuin.utils4j.MergeException.Problem
toString() - Method in class org.fuin.utils4j.Property
truncate() - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Sets the length of the file to the number of written bytes.

U

unzip(File, File) - Static method in class org.fuin.utils4j.Utils4J
Unzips a file into a given directory.
unzip(File, File, Utils4J.UnzipInputStreamWrapper, Cancelable) - Static method in class org.fuin.utils4j.Utils4J
Unzips a file into a given directory.
USER_PREF_FILE - Static variable in class org.fuin.utils4j.PropertiesFilePreferencesFactory
System property key used containing the path and name of the "user" preferences directory.
userRoot() - Method in class org.fuin.utils4j.PropertiesFilePreferencesFactory
Utils4J - Class in org.fuin.utils4j
Common utility methods for use in Java applications and libraries.
Utils4J.UnzipInputStreamWrapper - Interface in org.fuin.utils4j
Wraps a given input stream into another one an returns it.

W

wrapInputStream(InputStream, ZipEntry, File) - Method in interface org.fuin.utils4j.Utils4J.UnzipInputStreamWrapper
Wraps the input stream into another one.
write(int) - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Writes the specified byte to this file.
write(byte[]) - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Writes b.length bytes from the specified byte array to this file, starting at the current file pointer.
write(byte[], int, int) - Method in class org.fuin.utils4j.RandomAccessFileOutputStream
Writes len bytes from the specified byte array starting at offset off to the file.

Z

zipDir(File, FileFilter, String, File) - Static method in class org.fuin.utils4j.Utils4J
Creates a ZIP file and adds all files in a directory and all it's sub directories to the archive.
zipDir(File, String, File) - Static method in class org.fuin.utils4j.Utils4J
Creates a ZIP file and adds all files in a directory and all it's sub directories to the archive.

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

Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.