public abstract class TextBody extends SingleBody
text/*
entity body.Modifier | Constructor and Description |
---|---|
protected |
TextBody()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getMimeCharset()
Returns the MIME charset of this text body.
|
abstract Reader |
getReader()
Gets a
Reader which may be used to read out the contents
of this body. |
copy, dispose, getInputStream, getParent, setParent, writeTo
public abstract String getMimeCharset()
public abstract Reader getReader() throws IOException
Reader
which may be used to read out the contents
of this body.Reader
.IOException
- on I/O errors.Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.