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,
Charset charset) |
StringContentProvider(String content,
String encoding) |
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.