public class ReformatterCharEncodeOptions extends CharEncodeOptions
CharEncodeOptions
does not allow specification of the set of all
supported characters. That's because writing is in conjunction with reading, so all the
characters would have been checked during reading. It would not make sense to disallow
characters that we allow during reading and it is of no consequence if we allow characters
not allowed during reading, because they will not be encountered during writing anyway.
Therefore the set of all characters are all characters except the null character (which
CharEncodeOptions
don't allow to be specified as legal).Modifier and Type | Field and Description |
---|---|
static ReformatterCharEncodeOptions |
DEFAULT |
_allChars, _coreChars, _spaceEscapeOption, DEFAULT_ALL_CHARS, DEFAULT_CORE_CHARS, DEFAULT_SPACE_ESCAPE_OPTION, DONT_ESCAPE_SPACE, ENGLISH_KEYBOARD_GENERAL_TEXT, ENGLISH_KEYBOARD_GENERAL_TEXT_DONT_ESCAPE
Constructor and Description |
---|
ReformatterCharEncodeOptions(CharEncodeOptions baseEncodeOptions) |
ReformatterCharEncodeOptions(CharSet coreChars,
SpaceEscapeOption spaceEscapeOption) |
diffAllChars, diffCoreChars, diffSpaceEscapeOption, isIn, isNonCore, needsSpecialSpaceTreatement, toString
public static final ReformatterCharEncodeOptions DEFAULT
public ReformatterCharEncodeOptions(CharEncodeOptions baseEncodeOptions)
public ReformatterCharEncodeOptions(CharSet coreChars, SpaceEscapeOption spaceEscapeOption)