public class EcmsdkXMLOutputStream extends Object
Modifier and Type | Field and Description |
---|---|
static int |
COMPACT |
static int |
DEFAULT |
static int |
NO_REUSE |
static int |
PRETTY |
static int |
REUSE |
Constructor and Description |
---|
EcmsdkXMLOutputStream(OutputStream outStream) |
EcmsdkXMLOutputStream(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
addIndent(int paramInt) |
void |
close() |
void |
close(int closeStreanAndWriter)
close stream
|
void |
finalFlush() |
void |
flush()
Flush out
|
void |
flushDebugStream()
flush Debug Stream
|
int |
getOutputStyle() |
static String |
getXMLProperty(String propertyName)
Get XMl prop
|
boolean |
isMixed() |
void |
pop(int pos) |
void |
setEncoding(String encoding,
boolean led,
boolean useByteBuffer)
Set Encoding
|
void |
setEOLChars(String chars) |
void |
setMixed(boolean paramBoolean) |
void |
setOutputStyle(int paramInt) |
void |
write(int charNo) |
void |
writeChars(String content) |
void |
writeIndent() |
void |
writeNewLine() |
void |
writeQuotedString(String paramString) |
public static final int DEFAULT
public static final int PRETTY
public static final int COMPACT
public static final int REUSE
public static final int NO_REUSE
public EcmsdkXMLOutputStream(OutputStream outStream)
public EcmsdkXMLOutputStream(Writer writer)
public void setEOLChars(String chars)
public void setEncoding(String encoding, boolean led, boolean useByteBuffer) throws IOException
encoding
- led
- useByteBuffer
- IOException
public void flush() throws IOException
IOException
public void flushDebugStream() throws IOException
IOException
public void close() throws IOException
IOException
public void close(int closeStreanAndWriter) throws IOException
closeStreanAndWriter
- IOException
public void pop(int pos) throws IOException
IOException
public void write(int charNo) throws IOException
IOException
public void writeChars(String content) throws IOException
IOException
public void writeQuotedString(String paramString) throws IOException
IOException
public void writeNewLine() throws IOException
IOException
public void addIndent(int paramInt)
public void writeIndent() throws IOException
IOException
public void setOutputStyle(int paramInt)
public int getOutputStyle()
public void finalFlush() throws IOException
IOException
public boolean isMixed()
public void setMixed(boolean paramBoolean)
Copyright © 2023. All rights reserved.