|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.compiere.impexp.OFX1ToXML
public final class OFX1ToXML
Covert OFX 1XX (SQGML) into valid XML SGML BASED OFX 1 compliant data is read from the BufferedReader passed to init. This class extends InputSream, allowing the XML compliant output data to be read from it.
| Constructor Summary | |
|---|---|
OFX1ToXML(BufferedReader br)
Constructor for OFX1ToXML |
|
OFX1ToXML(InputStream is)
Constructor for OFX1ToXML |
|
| Method Summary | |
|---|---|
void |
init(BufferedReader br)
Method init |
int |
read()
Method read |
int |
read(char[] cbuf,
int off,
int len)
Method read |
void |
run()
Method run |
static String |
xmlEncodeTextAsPCDATA(String text)
Encodes strings for XML |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OFX1ToXML(InputStream is)
throws IOException
is - InputStream
IOException
public OFX1ToXML(BufferedReader br)
throws IOException
br - BufferedReader
IOException| Method Detail |
|---|
public void init(BufferedReader br)
throws IOException
br - BufferedReader
IOExceptionpublic void run()
run in interface RunnableRunnable.run()
public int read()
throws IOException
read in class InputStreamIOException
public int read(char[] cbuf,
int off,
int len)
throws IOException
cbuf - char[]off - intlen - int
IOExceptionpublic static final String xmlEncodeTextAsPCDATA(String text)
text - text
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||