A B C D E F G H I 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.
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
Utility class to check arguments.
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, String) - Static method in class de.smartics.util.lang. Arguments
Checks if value is blank.
checkNotBlank(String, String, String) - Static method in class de.smartics.util.lang. Arguments
Checks if value is blank providing an additional message.
checkNotBlankExceptNull(String, String) - Static method in class de.smartics.util.lang. Arguments
Checks if value is blank except null.
checkNotBlankExceptNull(String, String, String) - Static method in class de.smartics.util.lang. Arguments
Checks if value is blank except null providing an additional message.
checkNotNull(String, Object) - Static method in class de.smartics.util.lang. Arguments
Checks if value is null.
checkNotNull(String, Object, String) - Static method in class de.smartics.util.lang. Arguments
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
A constraint on resources to be loaded from the class path.
ClassPathContext(ClassLoader, String) - Constructor for class de.smartics.util.lang. ClassPathContext
Default constructor.
ClassPathDirectoryListing - Class in de.smartics.util.lang
Lists the content of a directory on the class path.
ClassPathDirectoryListing(ClassLoader) - Constructor for class de.smartics.util.lang. ClassPathDirectoryListing
Default constructor.
ClassPathDirectoryListing(ClassPathContext) - Constructor for class de.smartics.util.lang. ClassPathDirectoryListing
Default constructor.
compareTo(SourceCodeLocation.Position) - Method in class de.smartics.util.source. SourceCodeLocation.Position
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. ClassPathContext
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.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. ClassPathContext
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. ClassPathDirectoryListing
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. ClassPathContext
Constructs the URL to the resource.
getResourceAsStream(String) - Method in class de.smartics.util.lang. ClassPathContext
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. ClassPathContext
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.

L

list(String) - Method in class de.smartics.util.lang. ClassPathDirectoryListing
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. ClassPathContext
 
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 L M N O P R S T U W

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