- java.lang.Object
-
- org.jcodings.transcode.TranscoderDB
-
- All Implemented Interfaces:
EConvFlags
public class TranscoderDB extends Object implements EConvFlags
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranscoderDB.Entrystatic interfaceTranscoderDB.SearchPathCallback
-
Field Summary
Fields Modifier and Type Field Description static CaseInsensitiveBytesHash<CaseInsensitiveBytesHash<TranscoderDB.Entry>>transcoders-
Fields inherited from interface org.jcodings.transcode.EConvFlags
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
-
-
Constructor Summary
Constructors Constructor Description TranscoderDB()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EConvalloc(int n)static intdecoratorNames(int ecflags, byte[][] decorators)static TranscoderDB.EntrygetEntry(byte[] source, byte[] destination)static EConvopen(byte[] source, byte[] destination, int ecflags)static EConvopen(String source, String destination, int ecflags)static intsearchPath(byte[] source, byte[] destination, TranscoderDB.SearchPathCallback callback)
-
-
-
Field Detail
-
transcoders
public static final CaseInsensitiveBytesHash<CaseInsensitiveBytesHash<TranscoderDB.Entry>> transcoders
-
-
Method Detail
-
getEntry
public static TranscoderDB.Entry getEntry(byte[] source, byte[] destination)
-
searchPath
public static int searchPath(byte[] source, byte[] destination, TranscoderDB.SearchPathCallback callback)
-
alloc
public static EConv alloc(int n)
-
decoratorNames
public static int decoratorNames(int ecflags, byte[][] decorators)
-
open
public static EConv open(byte[] source, byte[] destination, int ecflags)
-
-