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