public static <T extends PersistableTransfer> T deserializeFrom(
            String serialized) {
        if (serialized == null)
            return null;
        ByteArrayInputStream byteStream = new ByteArrayInputStream(
                serialized.getBytes(UTF8));
        try{
            return deserializeFrom(byteStream);
        }finally{
            try { byteStream.close(); } catch(IOException ioe) { } ;
        }
    }
Returns the deserialized transfer state of the given serialized
representation.

@throws UnsupportedOperationException
            if the paused transfer type extracted from the serialized
            representation is not supported.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/PersistableTransfer.java