TransferUtility@Deprecated public abstract class PersistableTransfer extends Object
| Constructor and Description |
|---|
PersistableTransfer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends PersistableTransfer> |
deserializeFrom(InputStream in)
Deprecated.
Returns the deserialized transfer state of the given serialized
representation.
|
static <T extends PersistableTransfer> |
deserializeFrom(String serialized)
Deprecated.
Returns the deserialized transfer state of the given serialized
representation.
|
abstract String |
serialize()
Deprecated.
Returns the serialized representation of the paused transfer state.
|
void |
serialize(OutputStream out)
Deprecated.
Writes the serialized representation of the paused transfer state to the
given
OutputStream. |
public abstract String serialize()
public final void serialize(OutputStream out) throws IOException
OutputStream. Caller of this method should explicitly
close the OutputStream.IOExceptionpublic static <T extends PersistableTransfer> T deserializeFrom(InputStream in)
InputStream.UnsupportedOperationException - if the paused transfer type
extracted from the serialized representation is not
supported.public static <T extends PersistableTransfer> T deserializeFrom(String serialized)
UnsupportedOperationException - if the paused transfer type
extracted from the serialized representation is not
supported.Copyright © 2019. All rights reserved.