| Class and Description |
|---|
| io.dropwizard.util.ByteStreams
this class exists for compatibility with Java 8 and will be removed in Dropwizard 3.0.
|
| io.dropwizard.util.CharStreams |
| io.dropwizard.util.Lists
use Java 8+ JCL methods instead
|
| io.dropwizard.util.Maps
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.
|
| io.dropwizard.util.Optionals
prefer using
Optional directly |
| io.dropwizard.util.Sets
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.
|
| io.dropwizard.util.Size
Use
DataSize for correct SI and IEC prefixes. |
| io.dropwizard.util.Strings
The class was intended for internal use only. If you need those methods, simply copy them into your project.
|
| Enum and Description |
|---|
| io.dropwizard.util.SizeUnit
Use
DataSizeUnit for correct SI and IEC prefixes. |
| Method and Description |
|---|
| io.dropwizard.util.ByteStreams.copy(InputStream, OutputStream)
this is an internal method to dropwizard-util. Consider apache-commons instead.
|
| io.dropwizard.util.Resources.copy(URL, OutputStream) |
| io.dropwizard.util.DataSize.fromSize(Size) |
| io.dropwizard.util.Throwables.getRootCause(Throwable)
consider using Apache commons-lang3 ExceptionUtils instead
|
| io.dropwizard.util.ByteStreams.toByteArray(InputStream)
For users of Java 11+, consider
InputStream#readAllBytes() instead. |
| io.dropwizard.util.Resources.toByteArray(URL) |
| io.dropwizard.util.DataSize.toSize() |
| io.dropwizard.util.Resources.toString(URL, Charset) |
Copyright © 2011. All rights reserved.