public final class CopyObjectQuietlyExtensions extends Object
CopyObjectQuietlyExtensions provide methods for copy an original object to a
given destination object in a quietly manner as the name let presume.| Constructor and Description |
|---|
CopyObjectQuietlyExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
closeOutputStream(OutputStream out)
Deprecated.
use instead the try-with-resources Statement. Note: will be removed on next minor
version
|
static <ORIGINAL,DESTINATION> |
copyPropertiesQuietly(ORIGINAL original,
DESTINATION destination)
Copy quietly the given original object to the given destination object.
|
static <ORIGINAL,DESTINATION> |
copyQuietly(ORIGINAL original,
DESTINATION destination)
Copy quietly the given original object to the given destination object.
|
static <DESTINATION,ORIGINAL> |
isCopyable(ORIGINAL original,
DESTINATION destination)
Checks if is copyable and copies if its possible otherwise it returns false.
|
public static final <ORIGINAL,DESTINATION> DESTINATION copyQuietly(ORIGINAL original,
DESTINATION destination)
DESTINATION - the generic type of the destination object.ORIGINAL - the generic type of the original object.original - the original object.destination - the destination object.public static final <DESTINATION,ORIGINAL> boolean isCopyable(ORIGINAL original,
DESTINATION destination)
DESTINATION - the generic type of the destination object.ORIGINAL - the generic type of the original object.original - the original object.destination - the destination object.public static final <ORIGINAL,DESTINATION> DESTINATION copyPropertiesQuietly(ORIGINAL original,
DESTINATION destination)
DESTINATION - the generic type of the destination object.ORIGINAL - the generic type of the original object.original - the original object.destination - the destination object.public static boolean closeOutputStream(OutputStream out)
out - The OutputStream to close.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.