org.jclouds.io.payloads
Class FilePayload
java.lang.Object
org.jclouds.io.payloads.BasePayload<File>
org.jclouds.io.payloads.FilePayload
- All Implemented Interfaces:
- com.google.common.io.InputSupplier<InputStream>, Closeable, Payload
Deprecated. see ByteSourcePayload
@Deprecated
public class FilePayload
- extends BasePayload<File>
FilePayload
public FilePayload(File content)
- Deprecated.
openStream
public InputStream openStream()
throws IOException
- Deprecated.
- Creates a new InputStream object of the payload.
- Throws:
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.