public final class EConv extends Object implements EConvFlags
| Modifier and Type | Class and Description |
|---|---|
static class |
EConv.EConvElement |
static class |
EConv.LastError |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
destination |
Encoding |
destinationEncoding |
EConv.EConvElement[] |
elements |
EConv.LastError |
lastError |
Transcoding |
lastTranscoding |
int |
numTranscoders |
byte[] |
replacementEncoding |
int |
replacementLength |
byte[] |
replacementString |
byte[] |
source |
Encoding |
sourceEncoding |
AFTER_OUTPUT, CR_NEWLINE_DECORATOR, CRLF_NEWLINE_DECORATOR, DECORATOR_MASK, ERROR_HANDLER_MASK, INVALID_MASK, INVALID_REPLACE, MAX_ECFLAGS_DECORATORS, NEWLINE_DECORATOR_MASK, NEWLINE_DECORATOR_READ_MASK, NEWLINE_DECORATOR_WRITE_MASK, PARTIAL_INPUT, STATEFUL_DECORATOR_MASK, UNDEF_HEX_CHARREF, UNDEF_MASK, UNDEF_REPLACE, UNIVERSAL_NEWLINE_DECORATOR, XML_ATTR_CONTENT_DECORATOR, XML_ATTR_QUOTE_DECORATOR, XML_TEXT_DECORATOR| Modifier and Type | Method and Description |
|---|---|
boolean |
addConverter(byte[] source,
byte[] destination,
int n) |
void |
binmode() |
void |
close() |
EConvResult |
convert(byte[] in,
Ptr inPtr,
int inStop,
byte[] out,
Ptr outPtr,
int outStop,
int flags) |
byte[] |
encodingToInsertOutput() |
boolean |
equals(Object other) |
int |
insertOutput(byte[] str,
int strP,
int strLen,
byte[] strEncoding) |
int |
makeReplacement() |
void |
putback(byte[] bytes,
int p,
int n) |
int |
putbackable() |
int |
setReplacement(byte[] str,
int p,
int len,
byte[] encname) |
String |
toString() |
String |
toStringFull() |
public byte[] source
public byte[] destination
public byte[] replacementString
public int replacementLength
public byte[] replacementEncoding
public EConv.EConvElement[] elements
public int numTranscoders
public Transcoding lastTranscoding
public final EConv.LastError lastError
public Encoding sourceEncoding
public Encoding destinationEncoding
public EConvResult convert(byte[] in, Ptr inPtr, int inStop, byte[] out, Ptr outPtr, int outStop, int flags)
public byte[] encodingToInsertOutput()
public int insertOutput(byte[] str,
int strP,
int strLen,
byte[] strEncoding)
public void close()
public int putbackable()
public void putback(byte[] bytes,
int p,
int n)
public boolean addConverter(byte[] source,
byte[] destination,
int n)
public void binmode()
public int makeReplacement()
public int setReplacement(byte[] str,
int p,
int len,
byte[] encname)
public String toStringFull()
Copyright © 2016. All Rights Reserved.