A C D G I L O R S U W

A

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.

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.
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
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.

G

getArgument() - Method in exception org.fuin.utils4j.IllegalNullArgumentException
Returns the name of the argument that caused the exception.
getPackagePath(Class) - Static method in class org.fuin.utils4j.Utils4J
Returns the package path of a class.
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.
getTempDir() - Static method in class org.fuin.utils4j.Utils4J
Returns the temporary directory and checks if it is valid and exists.
getUserHomeDir() - Static method in class org.fuin.utils4j.Utils4J
Returns the user home directory and checks if it is valid and exists.

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.
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.

L

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.

O

org.fuin.utils4j - package org.fuin.utils4j
Basic Java utilities.

R

replaceVars(String, Map) - Static method in class org.fuin.utils4j.Utils4J
Replaces all variables inside a string with values from a map.

S

saveProperties(File, Properties, String) - Static method in class org.fuin.utils4j.Utils4J
Save properties to a file.

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.
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.

A C D G I L O R S U W

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