java.lang.Object
org.jcodings.transcode.TranscoderDB
- All Implemented Interfaces:
EConvFlags
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static interface
(package private) static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CaseInsensitiveBytesHash<CaseInsensitiveBytesHash<TranscoderDB.Entry>>
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic EConv
alloc
(int n) (package private) static byte[]
asciiCompatibleEncoding
(byte[] asciiCompatName) (package private) static void
static int
decoratorNames
(int ecflags, byte[][] decorators) static TranscoderDB.Entry
getEntry
(byte[] source, byte[] destination) (package private) static TranscoderDB.Entry
makeEntry
(byte[] source, byte[] destination) static EConv
open
(byte[] source, byte[] destination, int ecflags) static EConv
private static EConv
open0
(byte[] source, byte[] destination, int ecflags) private static EConv
openByTranscoderEntries
(int n, TranscoderDB.Entry[] entries) (package private) static void
register
(Transcoder transcoder) static int
searchPath
(byte[] source, byte[] destination, TranscoderDB.SearchPathCallback callback)
-
Field Details
-
transcoders
public static final CaseInsensitiveBytesHash<CaseInsensitiveBytesHash<TranscoderDB.Entry>> transcoders
-
-
Constructor Details
-
TranscoderDB
public TranscoderDB()
-
-
Method Details
-
makeEntry
-
getEntry
-
register
-
declare
-
searchPath
public static int searchPath(byte[] source, byte[] destination, TranscoderDB.SearchPathCallback callback) -
alloc
-
openByTranscoderEntries
-
open0
-
decoratorNames
public static int decoratorNames(int ecflags, byte[][] decorators) -
open
-
open
-
asciiCompatibleEncoding
static byte[] asciiCompatibleEncoding(byte[] asciiCompatName)
-