|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
org.eclipse.tptp.platform.report.chart.internal.ChartEncoderOutputStream
org.eclipse.tptp.platform.report.birt).
public class ChartEncoderOutputStream
Encode character of input stream (check E_xxx type) into character sequence "HH" where HH is the hexadecimal value of character (always two digits). This output stream can be used to encode zip stream before put it in HTML file (for example), as encoding reduce range 0..255 to 32..126 and take care of html special characters. This encoder must be the reverse encoder of ChartDecoderInputStream.
DHtmlGraphicApplet| Field Summary | |
|---|---|
static int |
E_ALL
Deprecated. all input characters are encoded |
static int |
E_DEFAULT
Deprecated. encode character in the range 0..31,127..255, '"', '&', '%', '0'..'9','a'..' |
static int |
E_FORJAVASCRIPT
Deprecated. encode as E_DEFAULT plus '{' '}' '\'' '\\' |
| Constructor Summary | |
|---|---|
ChartEncoderOutputStream(java.io.OutputStream os)
Deprecated. |
|
ChartEncoderOutputStream(java.io.OutputStream os,
int encode)
Deprecated. |
|
| Method Summary | |
|---|---|
int |
getEncode()
Deprecated. |
void |
setEncode(int type)
Deprecated. Change current encode type, use one of E_xxxx constants |
void |
write(int c)
Deprecated. |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int E_DEFAULT
public static final int E_FORJAVASCRIPT
public static final int E_ALL
| Constructor Detail |
|---|
public ChartEncoderOutputStream(java.io.OutputStream os)
public ChartEncoderOutputStream(java.io.OutputStream os,
int encode)
| Method Detail |
|---|
public int getEncode()
public void setEncode(int type)
public void write(int c)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||