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