org.jclouds.io.payloads
Class StringPayload
java.lang.Object
org.jclouds.io.payloads.BasePayload<String>
org.jclouds.io.payloads.StringPayload
- All Implemented Interfaces:
- com.google.common.io.InputSupplier<InputStream>, Closeable, Payload
Deprecated. see ByteSourcePayload
@Deprecated
public class StringPayload
- extends BasePayload<String>
This implementation converts the String to a byte array using UTF-8 encoding. If you wish to use
a different encoding, please use ByteArrayPayload.
StringPayload
public StringPayload(String content)
- Deprecated.
openStream
public InputStream openStream()
- Deprecated.
- Creates a new InputStream object of the payload.
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.