|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.Reader
java.io.FilterReader
org.marre.sms.transport.pswincom.PsWinXmlCleanupReader
Cleans up the xml received from pswin. The response contains a null character in the end. This character is not valid in xml so we have to remove that char before the data is sent to the xml parser.
| Field Summary |
| Fields inherited from class java.io.FilterReader |
in |
| Fields inherited from class java.io.Reader |
lock |
| Constructor Summary | |
protected |
PsWinXmlCleanupReader(java.io.Reader reader)
Creates this filter. |
| Method Summary | |
int |
read(char[] cbuf,
int off,
int len)
Reads bytes but removes the terminating null. |
| Methods inherited from class java.io.FilterReader |
close, mark, markSupported, read, ready, reset, skip |
| Methods inherited from class java.io.Reader |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected PsWinXmlCleanupReader(java.io.Reader reader)
reader - Reader to filter| Method Detail |
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
cbuf - off - len -
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||