Skip navigation links
A B C D E F G H I J K L M N O P R S T V 

A

awaitTermination(long, TimeUnit) - Method in class io.dropwizard.util.DirectExecutorService
 

B

bytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of bytes.
bytes(long) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a new Size object representing the specified amount of bytes.
ByteStreams - Class in io.dropwizard.util
Deprecated.
this class exists for compatibility with Java 8 and will be removed in Dropwizard 3.0.

C

CharStreams - Class in io.dropwizard.util
Deprecated.
compareTo(DataSize) - Method in class io.dropwizard.util.DataSize
compareTo(Duration) - Method in class io.dropwizard.util.Duration
compareTo(Size) - Method in class io.dropwizard.util.Size
Deprecated.
convert(long, DataSizeUnit) - Method in enum io.dropwizard.util.DataSizeUnit
Converts a size of the given unit into the current unit.
convert(long, SizeUnit) - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Converts a size of the given unit into the current unit.
copy(InputStream, OutputStream) - Static method in class io.dropwizard.util.ByteStreams
Deprecated.
this is an internal method to dropwizard-util. Consider apache-commons instead.
copy(URL, OutputStream) - Static method in class io.dropwizard.util.Resources
Deprecated.

D

DataSize - Class in io.dropwizard.util
A data size with SI or IEC prefix, such as "128KB" or "5 Gibibytes".
DataSizeUnit - Enum in io.dropwizard.util
A unit of information using SI and IEC prefixes.
days(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of days.
DirectExecutorService - Class in io.dropwizard.util
An implementation of an ExecutorService which directly executes a task, if the service has not shut down already.
DirectExecutorService() - Constructor for class io.dropwizard.util.DirectExecutorService
 
Duration - Class in io.dropwizard.util
This class provides helper methods for parsing human-readable duration values.

E

emptyToNull(String) - Static method in class io.dropwizard.util.Strings
Deprecated.
Returns the given string if it is nonempty; null otherwise.
Enums - Class in io.dropwizard.util
Helper methods for enum types.
Enums() - Constructor for class io.dropwizard.util.Enums
 
equals(Object) - Method in class io.dropwizard.util.DataSize
equals(Object) - Method in class io.dropwizard.util.Duration
equals(Object) - Method in class io.dropwizard.util.Size
Deprecated.
execute(Runnable) - Method in class io.dropwizard.util.DirectExecutorService
 

F

findThrowableInChain(Predicate<Throwable>, Throwable) - Static method in class io.dropwizard.util.Throwables
Search an exception chain for an exception matching a given condition.
fromDataSize(DataSize) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a Size object from a given DataSize instance.
fromGuavaOptional(Optional<T>) - Static method in class io.dropwizard.util.Optionals
Deprecated.
Convert a Guava Optional to an Optional.
fromSize(Size) - Static method in class io.dropwizard.util.DataSize
Deprecated.
Size is deprecated in favour of DataSize
fromStringFuzzy(String, Enum<?>[]) - Static method in class io.dropwizard.util.Enums
Convert a string to an enum with more permissive rules than Enum valueOf().

G

Generics - Class in io.dropwizard.util
Helper methods for class type parameters.
getQuantity() - Method in class io.dropwizard.util.DataSize
Gets the quantity of the current DataSize object.
getQuantity() - Method in class io.dropwizard.util.Duration
Gets the quantity of the current Duration object.
getQuantity() - Method in class io.dropwizard.util.Size
Deprecated.
Gets the quantity of the current Size object.
getResource(String) - Static method in class io.dropwizard.util.Resources
Returns a URL pointing to resourceName if the resource is found using the context class loader.
getRootCause(Throwable) - Static method in class io.dropwizard.util.Throwables
Deprecated.
consider using Apache commons-lang3 ExceptionUtils instead
getTypeParameter(Class<?>) - Static method in class io.dropwizard.util.Generics
Finds the type parameter for the given class.
getTypeParameter(Class<?>, Class<? super T>) - Static method in class io.dropwizard.util.Generics
Finds the type parameter for the given class which is assignable to the bound class.
getUnit() - Method in class io.dropwizard.util.DataSize
Returns the data size unit of the current DataSize object.
getUnit() - Method in class io.dropwizard.util.Duration
Returns the time unit of the current Duration object.
getUnit() - Method in class io.dropwizard.util.Size
Deprecated.
Returns the size unit of the current Size object.
getVersion() - Method in class io.dropwizard.util.JarLocation
Returns the version of the current jar holding the provided klass.
gibibytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of gibibytes.
gigabytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of gigabytes.
gigabytes(long) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a new Size object representing the specified amount of gigabytes.

H

hashCode() - Method in class io.dropwizard.util.DataSize
hashCode() - Method in class io.dropwizard.util.Duration
hashCode() - Method in class io.dropwizard.util.Size
Deprecated.
hours(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of hours.

I

io.dropwizard.util - package io.dropwizard.util
 
isJava8() - Static method in class io.dropwizard.util.JavaVersion
Checks, if the execution platform is running a JRE 8.
isNullOrEmpty(String) - Static method in class io.dropwizard.util.Strings
Deprecated.
Returns true if the given string is null or is the empty string.
isShutdown() - Method in class io.dropwizard.util.DirectExecutorService
 
isTerminated() - Method in class io.dropwizard.util.DirectExecutorService
 

J

JarLocation - Class in io.dropwizard.util
A class which encapsulates the location on the local filesystem of the JAR in which the current code is executing.
JarLocation(Class<?>) - Constructor for class io.dropwizard.util.JarLocation
Constructs a new JarLocation object which gets access to the code source with the provided parameter.
JavaVersion - Class in io.dropwizard.util
Provides helper methods related to the version of the executing java platform.

K

kibibytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of kibibytes.
kilobytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of kilobytes.
kilobytes(long) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a new Size object representing the specified amount of kilobytes.

L

Lists - Class in io.dropwizard.util
Deprecated.
use Java 8+ JCL methods instead

M

Maps - Class in io.dropwizard.util
Deprecated.
this class exists to help users transition from Guava. It will be removed in Dropwizard 3.0 in favour of Java 9+'s JCL Collection methods.
mebibytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of mebibytes.
megabytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of megabytes.
megabytes(long) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a new Size object representing the specified amount of megabytes.
microseconds(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of microseconds.
milliseconds(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of milliseconds.
minutes(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of minutes.

N

nanoseconds(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of nanoseconds.
nullToEmpty(String) - Static method in class io.dropwizard.util.Strings
Deprecated.
Returns the given string if it is non-null; the empty string otherwise.

O

of(Iterable<T>) - Static method in class io.dropwizard.util.Lists
Deprecated.
Constructs an unmodifiable List of an Iterable of elements.
of(Iterator<T>) - Static method in class io.dropwizard.util.Lists
Deprecated.
Constructs an unmodifiable List of an Iterator of elements.
of(K, V, K, V) - Static method in class io.dropwizard.util.Maps
Deprecated.
Construct a Map of two keys and corresponding values.
of(K, V, K, V, K, V) - Static method in class io.dropwizard.util.Maps
Deprecated.
Construct a Map of three keys and corresponding values.
of(K, V, K, V, K, V, K, V) - Static method in class io.dropwizard.util.Maps
Deprecated.
Construct a Map of four keys and corresponding values.
of(K, V, K, V, K, V, K, V, K, V) - Static method in class io.dropwizard.util.Maps
Deprecated.
Construct a Map of five keys and corresponding values.
of(T, T) - Static method in class io.dropwizard.util.Sets
Deprecated.
Constructs an unmodifiable Set of two elements.
of(T, T, T) - Static method in class io.dropwizard.util.Sets
Deprecated.
Constructs an unmodifiable Set of three elements.
of(T, T, T, T) - Static method in class io.dropwizard.util.Sets
Deprecated.
Constructs an unmodifiable Set of four elements.
of(T, T, T, T, T) - Static method in class io.dropwizard.util.Sets
Deprecated.
Constructs an unmodifiable Set of five elements.
of(T...) - Static method in class io.dropwizard.util.Sets
Deprecated.
Constructs an unmodifiable Set of a variable number of elements.
of(Iterable<T>) - Static method in class io.dropwizard.util.Sets
Deprecated.
Constructs an unmodifiable Set of an Iterable of elements.
Optionals - Class in io.dropwizard.util
Deprecated.
prefer using Optional directly
Optionals() - Constructor for class io.dropwizard.util.Optionals
Deprecated.
 

P

parse(CharSequence) - Static method in class io.dropwizard.util.DataSize
Parses a given CharSequence to a DataSize object.
parse(CharSequence, DataSizeUnit) - Static method in class io.dropwizard.util.DataSize
Parses a given CharSequence to a DataSize object.
parse(String) - Static method in class io.dropwizard.util.Duration
Parses a given input string to a Duration.
parse(String) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a Size object from the given string representation.
pebibytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of pebibytes.
petabytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of petabytes.

R

repeat(String, int) - Static method in class io.dropwizard.util.Strings
Deprecated.
Returns a string consisting of a specific number of concatenated copies of an input string.
Resources - Class in io.dropwizard.util
Provides helper methods to work with resources.

S

seconds(long) - Static method in class io.dropwizard.util.Duration
Constructs a new Duration object representing the specified amount of seconds.
Sets - Class in io.dropwizard.util
Deprecated.
this class exists to help users transition from Guava. It will be removed in Dropwizard 3.0 in favour of Java 9+'s JCL Collection methods.
shutdown() - Method in class io.dropwizard.util.DirectExecutorService
 
shutdownNow() - Method in class io.dropwizard.util.DirectExecutorService
 
Size - Class in io.dropwizard.util
Deprecated.
Use DataSize for correct SI and IEC prefixes.
SizeUnit - Enum in io.dropwizard.util
Deprecated.
Use DataSizeUnit for correct SI and IEC prefixes.
Strings - Class in io.dropwizard.util
Deprecated.
The class was intended for internal use only. If you need those methods, simply copy them into your project.

T

tebibytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of tebibytes.
terabytes(long) - Static method in class io.dropwizard.util.DataSize
Constructs a new DataSize object representing the specified amount of terabytes.
terabytes(long) - Static method in class io.dropwizard.util.Size
Deprecated.
Constructs a new Size object representing the specified amount of terabytes.
Throwables - Class in io.dropwizard.util
Provides helper methods to work with Throwable objects.
toByteArray(InputStream) - Static method in class io.dropwizard.util.ByteStreams
Deprecated.
For users of Java 11+, consider InputStream#readAllBytes() instead.
toByteArray(URL) - Static method in class io.dropwizard.util.Resources
Deprecated.
toBytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in bytes.
toBytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into bytes.
toBytes() - Method in class io.dropwizard.util.Size
Deprecated.
Returns the quantity of the current Size object in bytes.
toBytes(long) - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Converts the given number of the current units into bytes.
toDataSize() - Method in class io.dropwizard.util.Size
Deprecated.
Converts the current Size to a representation of the newer DataSize class.
toDataSizeUnit() - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Convert this size unit into a data size unit with correct SI and IEC prefix.
toDays() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in days.
toGibibytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in gibibytes.
toGibibytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into gibibytes.
toGigabytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in gigabytes.
toGigabytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into gigabytes.
toGigabytes() - Method in class io.dropwizard.util.Size
Deprecated.
Returns the quantity of the current Size object in gigabytes.
toGigabytes(long) - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Converts the given number of the current units into gigabytes.
toGuavaOptional(Optional<T>) - Static method in class io.dropwizard.util.Optionals
Deprecated.
Convert an Optional to a Guava Optional.
toHours() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in hours.
toJavaDuration() - Method in class io.dropwizard.util.Duration
Constructs a java.time.Duration from the current Duration object.
toKibibytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in kibibytes.
toKibibytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into kibibytes.
toKilobytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in kilobytes.
toKilobytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into kilobytes.
toKilobytes() - Method in class io.dropwizard.util.Size
Deprecated.
Returns the quantity of the current Size object in kilobytes.
toKilobytes(long) - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Converts the given number of the current units into kilobytes.
toMebibytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in mebibytes.
toMebibytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into mebibytes.
toMegabytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in megabytes.
toMegabytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into megabytes.
toMegabytes() - Method in class io.dropwizard.util.Size
Deprecated.
Returns the quantity of the current Size object in megabytes.
toMegabytes(long) - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Converts the given number of the current units into megabytes.
toMicroseconds() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in microseconds.
toMilliseconds() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in milliseconds.
toMinutes() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in minutes.
toNanoseconds() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in nanoseconds.
toPebibytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in pebibytes.
toPebibytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into pebibytes.
toPetabytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in petabytes.
toPetabytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into petabytes.
toSeconds() - Method in class io.dropwizard.util.Duration
Returns the quantity of the current Duration object in seconds.
toSize() - Method in class io.dropwizard.util.DataSize
Deprecated.
Size is deprecated in favour of DataSize
toString(Reader) - Static method in class io.dropwizard.util.CharStreams
Deprecated.
Constructs a string from the contents of the given Reader.
toString() - Method in class io.dropwizard.util.DataSize
toString() - Method in class io.dropwizard.util.Duration
toString() - Method in class io.dropwizard.util.JarLocation
toString(URL, Charset) - Static method in class io.dropwizard.util.Resources
Deprecated.
toString() - Method in class io.dropwizard.util.Size
Deprecated.
toTebibytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in gebibytes.
toTebibytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into tebibytes.
toTerabytes() - Method in class io.dropwizard.util.DataSize
Returns the quantity of the current DataSize object in terabytes.
toTerabytes(long) - Method in enum io.dropwizard.util.DataSizeUnit
Converts the given number of the current units into terabytes.
toTerabytes() - Method in class io.dropwizard.util.Size
Deprecated.
Returns the quantity of the current Size object in terabytes.
toTerabytes(long) - Method in enum io.dropwizard.util.SizeUnit
Deprecated.
Converts the given number of the current units into terabytes.

V

valueOf(String) - Static method in enum io.dropwizard.util.DataSizeUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.dropwizard.util.SizeUnit
Deprecated.
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.dropwizard.util.DataSizeUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.dropwizard.util.SizeUnit
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J K L M N O P R S T V 
Skip navigation links

Copyright © 2011. All rights reserved.