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.Constructor and Description |
---|
StringContentProvider(String content) |
StringContentProvider(String content,
String encoding) |
getLength, iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
Copyright © 1995-2019 Mort Bay Consulting. All Rights Reserved.