org.jclouds.io.payloads
Class ByteArrayPayload
java.lang.Object
org.jclouds.io.payloads.BasePayload<byte[]>
org.jclouds.io.payloads.ByteArrayPayload
- All Implemented Interfaces:
- com.google.common.io.InputSupplier<InputStream>, Closeable, Payload, WriteTo
public class ByteArrayPayload
- extends BasePayload<byte[]>
- Author:
- Adrian Cole
ByteArrayPayload
public ByteArrayPayload(byte[] content)
ByteArrayPayload
public ByteArrayPayload(byte[] content,
byte[] md5)
getInput
public InputStream getInput()
- Creates a new InputStream object of the payload.
Copyright © 2009-2011 jclouds. All Rights Reserved.