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

A

Adaptable - Interface in de.smartics.util.adapt
Implemented by a class to support different adapters to its instances.
AdaptableException - Exception in de.smartics.util.adapt
Signals that an implementation is not adaptable to the desired type.
AdaptableException(Class<?>, Class<?>) - Constructor for exception de.smartics.util.adapt. AdaptableException
Convenience constructor without a root cause.
AdaptableException(Throwable, Class<?>, Class<?>) - Constructor for exception de.smartics.util.adapt. AdaptableException
Default constructor.
add(Throwable) - Method in class de.smartics.util.lang. ArgumentChecker
Adds a throwable.
Arg - Class in de.smartics.util.lang
Utility class to check an argument.
ArgumentChecker - Class in de.smartics.util.lang
Collects exceptions.
ArgumentChecker(String) - Constructor for class de.smartics.util.lang. ArgumentChecker
Default constructor.
Arguments - Class in de.smartics.util.lang
Deprecated.  Due to a breaking change a new class called Arg has been designed to be used from now on. It has the same methods as this one, but it returns the value passed in to check. This allows to do the check and an initialization (e.g. in a constructor) in one line. It also allows to check arguments if another constructor is called (such as in this() and super()). This class is planned to be removed with the release of version 2.0.
as(Class<? extends T>) - Method in interface de.smartics.util.adapt. Adaptable
Returns the adapter of the requested type.

B

BlankArgumentException - Exception in de.smartics.util.lang
Signals that a given String argument is blank where is must no be blank.
BlankArgumentException() - Constructor for exception de.smartics.util.lang. BlankArgumentException
Convenience constructor if no argument name needs to be provided.
BlankArgumentException(String) - Constructor for exception de.smartics.util.lang. BlankArgumentException
Convenience constructor.
BlankArgumentException(String, String) - Constructor for exception de.smartics.util.lang. BlankArgumentException
Default constructor.
BlankExceptNullArgumentException - Exception in de.smartics.util.lang
Signals that a given String argument is not null but contains only whitespaces or is empty.
BlankExceptNullArgumentException() - Constructor for exception de.smartics.util.lang. BlankExceptNullArgumentException
Convenience constructor if no argument name needs to be provided.
BlankExceptNullArgumentException(String) - Constructor for exception de.smartics.util.lang. BlankExceptNullArgumentException
Convenience constructor.
BlankExceptNullArgumentException(String, String) - Constructor for exception de.smartics.util.lang. BlankExceptNullArgumentException
Default constructor.

C

check() - Method in class de.smartics.util.lang. ArgumentChecker
Checks if an exception has been encountered.
checkNotBlank(String, T) - Static method in class de.smartics.util.lang. Arg
Checks if value is blank.
checkNotBlank(String, T, String) - Static method in class de.smartics.util.lang. Arg
Checks if value is blank providing an additional message.
checkNotBlank(String, String) - Static method in class de.smartics.util.lang. Arguments
Deprecated. Checks if value is blank.
checkNotBlank(String, String, String) - Static method in class de.smartics.util.lang. Arguments
Deprecated. Checks if value is blank providing an additional message.
checkNotBlankExceptNull(String, T) - Static method in class de.smartics.util.lang. Arg
Checks if value is blank except null.
checkNotBlankExceptNull(String, T, String) - Static method in class de.smartics.util.lang. Arg
Checks if value is blank except null providing an additional message.
checkNotBlankExceptNull(String, String) - Static method in class de.smartics.util.lang. Arguments
Deprecated. Checks if value is blank except null.
checkNotBlankExceptNull(String, String, String) - Static method in class de.smartics.util.lang. Arguments
Deprecated. Checks if value is blank except null providing an additional message.
checkNotNull(String, T) - Static method in class de.smartics.util.lang. Arg
Checks if value is null.
checkNotNull(String, T, String) - Static method in class de.smartics.util.lang. Arg
Checks if value is null providing an additional message.
checkNotNull(String, Object) - Static method in class de.smartics.util.lang. Arguments
Deprecated. Checks if value is null.
checkNotNull(String, Object, String) - Static method in class de.smartics.util.lang. Arguments
Deprecated. Checks if value is null providing an additional message.
chop(StringBuilder) - Static method in class de.smartics.util.lang. StringFunction
Chops off the last character of the buffer and returns the string value of the modified buffer.
ClassPathContext - Class in de.smartics.util.lang.classpath
A constraint on resources to be loaded from the class path.
ClassPathContext(ClassLoader, String) - Constructor for class de.smartics.util.lang.classpath. ClassPathContext
Default constructor.
ClassPathContext - Class in de.smartics.util.lang
Deprecated.  Moved to ClassPathContext .
ClassPathContext(ClassLoader, String) - Constructor for class de.smartics.util.lang. ClassPathContext
Deprecated. Default constructor.
ClassPathDirectoryListing - Class in de.smartics.util.lang.classpath
Lists the content of a directory on the class path.
ClassPathDirectoryListing(ClassLoader) - Constructor for class de.smartics.util.lang.classpath. ClassPathDirectoryListing
Default constructor.
ClassPathDirectoryListing(ClassPathContext) - Constructor for class de.smartics.util.lang.classpath. ClassPathDirectoryListing
Default constructor.
ClassPathDirectoryListing - Class in de.smartics.util.lang
Deprecated.  Moved to ClassPathDirectoryListing.
ClassPathDirectoryListing(ClassLoader) - Constructor for class de.smartics.util.lang. ClassPathDirectoryListing
Deprecated. Default constructor.
ClassPathDirectoryListing(ClassPathContext) - Constructor for class de.smartics.util.lang. ClassPathDirectoryListing
Deprecated. Default constructor.
ClassPathListing - Interface in de.smartics.util.lang.classpath
Service to list the contents of a folder on the class path.
ClassPathListingFactory - Class in de.smartics.util.lang.classpath
A factory to create instances of ClassPathListing.
ClassPathListingFactory() - Constructor for class de.smartics.util.lang.classpath. ClassPathListingFactory
 
compareTo(SourceCodeLocation.Position) - Method in class de.smartics.util.source. SourceCodeLocation.Position
create() - Method in class de.smartics.util.lang.classpath. ClassPathListingFactory
Creates an instance of ClassPathListing using the configuration of the service in META-INF/services.
create() - Method in class de.smartics.util.util. GenericServiceFactory
Creates an instance of the type provided with the constructor using the configuration of the service in META-INF/services in the mode passed to the constructor.
create(boolean) - Method in class de.smartics.util.util. GenericServiceFactory
Creates an instance of the type provided with the constructor using the configuration of the service in META-INF/services.
createUrl(String) - Method in class de.smartics.util.lang.classpath. ClassPathContext
Constructs the URL to the resource.
createUrl(String) - Method in class de.smartics.util.lang. ClassPathContext
Deprecated. Constructs the URL to the resource.

D

de.smartics.util.adapt - package de.smartics.util.adapt
Provides a simple adaptable implementation.
de.smartics.util.io - package de.smartics.util.io
Provides utilities for IO.
de.smartics.util.lang - package de.smartics.util.lang
Provides utilities for classes of the java.lang package.
de.smartics.util.lang.classpath - package de.smartics.util.lang.classpath
Provides utilities for searching on the classpath.
de.smartics.util.source - package de.smartics.util.source
Provides information about source code artifacts.
de.smartics.util.util - package de.smartics.util.util
Provides utilities for classes of the java.util package.
DefaultMethodInfo - Class in de.smartics.util.source
The default implementation is a POJO that allows to set the properties of a method info.
DefaultMethodInfo(String, SourceCodeLocation) - Constructor for class de.smartics.util.source. DefaultMethodInfo
Default constructor.
DirectoryStreamHandler - Class in de.smartics.util.io
Handles resources stored in a directory.
DirectoryStreamHandler(File) - Constructor for class de.smartics.util.io. DirectoryStreamHandler
Default constructor.

E

equals(Object) - Method in class de.smartics.util.lang.classpath. ClassPathContext
Returns true if the given object is semantically equal to the given object, false otherwise.
equals(Object) - Method in class de.smartics.util.lang. ClassPathContext
Deprecated. Returns true if the given object is semantically equal to the given object, false otherwise.
equals(Object) - Method in class de.smartics.util.source. SourceCodeLocation.Position
Returns true if the given object is semantically equal to the given object, false otherwise.

F

FileFunction - Class in de.smartics.util.io
Functions dealing with Files and Streams.

G

GenericServiceFactory< T> - Class in de.smartics.util.util
A factory to create instances of a given type via META-INF/services.
GenericServiceFactory(Class<T>) - Constructor for class de.smartics.util.util. GenericServiceFactory
Convenience constructor for lenient creation.
GenericServiceFactory(Class<T>, boolean) - Constructor for class de.smartics.util.util. GenericServiceFactory
Default constructor.
getAdapterType() - Method in exception de.smartics.util.adapt. AdaptableException
Returns the type of the requested adapter the instance cannot provided.
getClassPathContext() - Method in class de.smartics.util.lang.classpath. ClassPathDirectoryListing
Returns the context to load the directory listings.
getClassPathContext() - Method in class de.smartics.util.lang. ClassPathDirectoryListing
Deprecated. Returns the context to load the directory listings.
getColumn() - Method in class de.smartics.util.source. SourceCodeLocation.Position
Returns the column number of the position.
getData(String) - Method in class de.smartics.util.io. MemoryStreamHandler
Allows direct access to the data stored.
getEnd() - Method in class de.smartics.util.source. SourceCodeLocation
Returns the end position of the source code location.
getInstanceType() - Method in exception de.smartics.util.adapt. AdaptableException
Returns the type of the instance that does not provide the requested adapter.
getLine() - Method in class de.smartics.util.source. SourceCodeLocation.Position
Returns the line number of the position.
getLocation() - Method in class de.smartics.util.source. DefaultMethodInfo
Returns the location of the test.
getLocation() - Method in interface de.smartics.util.source. MethodInfo
Returns the location of the test.
getMethodSignature() - Method in class de.smartics.util.source. DefaultMethodInfo
Returns the signature of the test method.
getMethodSignature() - Method in interface de.smartics.util.source. MethodInfo
Returns the signature of the test method.
getResource(String) - Method in class de.smartics.util.lang.classpath. ClassPathContext
Constructs the URL to the resource.
getResource(String) - Method in class de.smartics.util.lang. ClassPathContext
Deprecated. Constructs the URL to the resource.
getResourceAsStream(String) - Method in class de.smartics.util.lang.classpath. ClassPathContext
Opens the stream to the resource.
getResourceAsStream(String) - Method in class de.smartics.util.lang. ClassPathContext
Deprecated. Opens the stream to the resource.
getStart() - Method in class de.smartics.util.source. SourceCodeLocation
Returns the start position of the source code location.

H

hashCode() - Method in class de.smartics.util.lang.classpath. ClassPathContext
Returns the hash code of the object.
hashCode() - Method in class de.smartics.util.lang. ClassPathContext
Deprecated. Returns the hash code of the object.
hashCode() - Method in class de.smartics.util.source. SourceCodeLocation.Position
Returns the hash code of the object.

I

isAdaptable(Class<?>) - Method in interface de.smartics.util.adapt. Adaptable
Checks if the instance provides an adapter for the desired type.
isKnown() - Method in class de.smartics.util.source. SourceCodeLocation
Checks if the location is known.
isLastChar(String, char) - Static method in class de.smartics.util.lang. StringFunction
Checks if the last character of the given string matches the given ch.

J

JarAndFileClassPathListing - Class in de.smartics.util.lang.classpath
Supports listing of class path elements for protocols jar and file.
JarAndFileClassPathListing() - Constructor for class de.smartics.util.lang.classpath. JarAndFileClassPathListing
 

L

list(String) - Method in class de.smartics.util.lang.classpath. ClassPathDirectoryListing
Lists the contents of the resource path.
list(ClassPathContext, String) - Method in interface de.smartics.util.lang.classpath. ClassPathListing
Lists the contents of the resource path.
list(ClassPathContext, String) - Method in class de.smartics.util.lang.classpath. JarAndFileClassPathListing
 
list(String) - Method in class de.smartics.util.lang. ClassPathDirectoryListing
Deprecated. Lists the contents of the resource path.

M

MemoryStreamHandler - Class in de.smartics.util.io
Handles resources and stores them in-memory.
MemoryStreamHandler() - Constructor for class de.smartics.util.io. MemoryStreamHandler
 
MethodInfo - Interface in de.smartics.util.source
Provides access to method information.

N

notBlank(String, String) - Method in class de.smartics.util.lang. ArgumentChecker
Checks if value is blank.
notBlankExceptNull(String, String) - Method in class de.smartics.util.lang. ArgumentChecker
Checks if value is blank except null.
notNull(String, Object) - Method in class de.smartics.util.lang. ArgumentChecker
Checks if value is null.
NullArgumentException - Exception in de.smartics.util.lang
Signals that a given argument is null where is must no be null.
NullArgumentException() - Constructor for exception de.smartics.util.lang. NullArgumentException
Convenience constructor if no argument name needs to be provided.
NullArgumentException(String) - Constructor for exception de.smartics.util.lang. NullArgumentException
Convenience constructor.
NullArgumentException(String, String) - Constructor for exception de.smartics.util.lang. NullArgumentException
Default constructor.

O

openToRead(String) - Method in class de.smartics.util.io. DirectoryStreamHandler
Opens a stream to the given resource for reading.
openToRead(String) - Method in class de.smartics.util.io. MemoryStreamHandler
Opens a stream to the given resource for reading.
openToRead(String) - Method in interface de.smartics.util.io. StreamHandler
Opens a stream to the given resource for reading.
openToWrite(String) - Method in class de.smartics.util.io. DirectoryStreamHandler
Opens a stream to the given resource for writing.
openToWrite(String) - Method in class de.smartics.util.io. MemoryStreamHandler
Opens a stream to the given resource for writing.
openToWrite(String) - Method in interface de.smartics.util.io. StreamHandler
Opens a stream to the given resource for writing.

P

provideDirectory(String) - Static method in class de.smartics.util.io. FileFunction
Checks if a directory with the given name exits and if not, creates it.
provideDirectory(File) - Static method in class de.smartics.util.io. FileFunction
Checks if the given directory exits and if not, creates it.

R

RAWTYPES - Static variable in class de.smartics.util.lang. StaticAnalysis
The string "rawtypes" .

S

SourceCodeLocation - Class in de.smartics.util.source
Provides information about a source code location.
SourceCodeLocation(SourceCodeLocation.Position, SourceCodeLocation.Position) - Constructor for class de.smartics.util.source. SourceCodeLocation
Default constructor.
SourceCodeLocation.Position - Class in de.smartics.util.source
Defines a position in the source code.
SourceCodeLocation.Position(long, long) - Constructor for class de.smartics.util.source. SourceCodeLocation.Position
Default constructor.
StaticAnalysis - Class in de.smartics.util.lang
Defines constants for static analysis.
StreamHandler - Interface in de.smartics.util.io
Provides access to streams to read from and write to a destination.
StringFunction - Class in de.smartics.util.lang
A collection of useful string functions.
strip(String) - Static method in class de.smartics.util.lang. StringFunction
Replaces all consecutive white spaces by one space and removes white spaces from the start and end of the string.

T

toHyphenVersion(String) - Static method in class de.smartics.util.lang. StringFunction
Returns the camelCasedString in a hyphen version.
toString() - Method in class de.smartics.util.lang.classpath. ClassPathContext
 
toString() - Method in class de.smartics.util.lang. ClassPathContext
Deprecated.  
toString() - Method in class de.smartics.util.source. SourceCodeLocation.Position
Delegates call to StringBuilder.toString().
toString() - Method in class de.smartics.util.source. SourceCodeLocation
Returns the string representation of the object.

U

UNCHECKED - Static variable in class de.smartics.util.lang. StaticAnalysis
The string "unchecked" .
UNKNOWN_LOCATION - Static variable in class de.smartics.util.source. SourceCodeLocation
Defines an unknown location.
UNUSED - Static variable in class de.smartics.util.lang. StaticAnalysis
The string "unused" .

W

writeToFile(InputStream, File) - Static method in class de.smartics.util.io. FileFunction
Writes the given stream to the given file.

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

Copyright © 2011-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.