org.jclouds.io.payloads
Class FilePayload

java.lang.Object
  extended by org.jclouds.io.payloads.BasePayload<File>
      extended by 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>


Field Summary
 
Fields inherited from class org.jclouds.io.payloads.BasePayload
content, contentMetadata, written
 
Constructor Summary
FilePayload(File content)
          Deprecated.  
 
Method Summary
 InputStream openStream()
          Deprecated. Creates a new InputStream object of the payload.
 
Methods inherited from class org.jclouds.io.payloads.BasePayload
close, equals, getContentMetadata, getInput, getRawContent, hashCode, isRepeatable, release, setContentMetadata, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilePayload

public FilePayload(File content)
Deprecated. 
Method Detail

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.