|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.nio.charset.Charset
file2xliff4j.MifFrameRomanCharset
public class MifFrameRomanCharset
A Charset implementation that maps between the "7-bit" ASCII (well, it is actually 8-bit ASCII ...) used by FrameMaker's Maker Interchange Format (MIF) to/from Unicode (UTF-8).
Note: This is not applicable to the Asian encodings that are implied by the presence of a MIFEncoding tag in the MIF file.
Constructor Summary | |
---|---|
protected |
MifFrameRomanCharset(java.lang.String canonical,
java.lang.String[] aliases)
Constructor for the MIF charset. |
Method Summary | |
---|---|
boolean |
contains(java.nio.charset.Charset cs)
Passed a Charset, return true if every character in the specified Charset is representable by the MifFrameRomanCharset. |
java.nio.charset.CharsetDecoder |
newDecoder()
Get a decoder for the MifFrameRomanCharset character set. |
java.nio.charset.CharsetEncoder |
newEncoder()
Return an encoder that will convert from UTF-8 to the MIF character set. |
Methods inherited from class java.nio.charset.Charset |
---|
aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected MifFrameRomanCharset(java.lang.String canonical, java.lang.String[] aliases)
canonical
- The canonical name of this character setaliases
- An array of this charset's aliases, or null if it has no
aliases.Method Detail |
---|
public boolean contains(java.nio.charset.Charset cs)
contains
in class java.nio.charset.Charset
cs
- The Charset that might (or might not--depending on the return
value from this method) be a subset of MifFrameRomanCharset.
public java.nio.charset.CharsetDecoder newDecoder()
Note: This implementation instantiates an instance of a private class (defined below) and passes it a decoder from the base Charset.
newDecoder
in class java.nio.charset.Charset
public java.nio.charset.CharsetEncoder newEncoder()
newEncoder
in class java.nio.charset.Charset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |