public class StringContentProvider extends BytesContentProvider
ContentProvider for strings.
It is possible to specify, at the constructor, an encoding used to convert the string into bytes, by default UTF-8.
ContentProvider.Typed| Constructor and Description |
|---|
StringContentProvider(String content) |
StringContentProvider(String content,
Charset charset) |
StringContentProvider(String content,
String encoding) |
StringContentProvider(String contentType,
String content,
Charset charset) |
getLength, isReproducible, iteratorgetContentTypeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StringContentProvider(String content)
Copyright © 2010 - 2020 Adobe. All Rights Reserved