public class StringUploadSource extends ByteArrayUploadSource
Constructor and Description |
---|
StringUploadSource(java.lang.String name,
java.lang.String data)
Create a new source file from a string of data.
|
getInputStream, initMetadata
getMetadata, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetadata, getName
public StringUploadSource(java.lang.String name, java.lang.String data)
ByteArrayUploadSource
instead.name
- The name of the "file"data
- The contents of the file, null is not allowed