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, WriteTo

public class FilePayload
extends BasePayload<File>

Author:
Adrian Cole

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

Constructor Detail

FilePayload

public FilePayload(File content)
Method Detail

getInput

public InputStream getInput()
Creates a new InputStream object of the payload.



Copyright © 2009-2011 jclouds. All Rights Reserved.