|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.commons.streams.ReadToStringAction
public final class ReadToStringAction
A stream action that can read a raw bytes into a string.
Constructor Summary | |
---|---|
ReadToStringAction(java.lang.StringBuilder sb,
java.lang.String charset)
Constructor. |
Method Summary | |
---|---|
void |
execute(java.io.InputStream is)
Execute the action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReadToStringAction(java.lang.StringBuilder sb, java.lang.String charset)
sb
- The string builder to read into.charset
- The character set to use.Method Detail |
---|
public void execute(java.io.InputStream is) throws java.lang.Exception
execute
in interface StreamAction
is
- The input stream to operate on.
java.lang.Exception
- If the action fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |