org.jclouds.io.payloads
Class PhantomPayload
java.lang.Object
org.jclouds.io.payloads.BasePayload<Object>
org.jclouds.io.payloads.PhantomPayload
- All Implemented Interfaces:
- com.google.common.io.InputSupplier<InputStream>, Closeable, Payload, WriteTo
public class PhantomPayload
- extends BasePayload<Object>
- Author:
- Adrian Cole
PhantomPayload
public PhantomPayload()
PhantomPayload
public PhantomPayload(ContentMetadata contentMetadata)
PhantomPayload
public PhantomPayload(MutableContentMetadata contentMetadata)
getInput
public InputStream getInput()
- Creates a new InputStream object of the payload.
writeTo
public void writeTo(OutputStream outstream)
throws IOException
- Description copied from class:
BasePayload
- Writes the payload content to the output stream.
- Specified by:
writeTo
in interface WriteTo
- Overrides:
writeTo
in class BasePayload<Object>
- Throws:
IOException
Copyright © 2009-2011 jclouds. All Rights Reserved.