- java.lang.Object
-
- io.github.mmm.binary.codec.Base
-
- io.github.mmm.binary.codec.BaseGeneric
-
- io.github.mmm.binary.codec.Base64
-
- All Implemented Interfaces:
BinaryCodec
public final class Base64 extends BaseGeneric
Base64
is a encoding that has an alphabet with 64 letters. As all ASCII Latin letters and digits together make 62 distinct characters this encoding requires some additional special ASCII characters (e.g. '+', '/', '-', or '_'). As typical text selection of operating systems triggered by double clicking only marks alpha-numerical words but stops at special characters aBase64
encoded representation is not as user-friendly. Also typical alphabets contain similar looking characters like 'O' and '0' or '1' and 'l'. However, stillBase64
is a very common and especially efficient encoding.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCaseSensitive()
-
Methods inherited from class io.github.mmm.binary.codec.BaseGeneric
createConfig, doDecode, doEncode
-
Methods inherited from class io.github.mmm.binary.codec.Base
decode, encode, getAlphabet, toString, withFormat
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.binary.codec.BinaryCodec
decodeInt, decodeLong, decodeShort, encodeInt, encodeLong, encodeShort
-
-
-
-
Method Detail
-
isCaseSensitive
public boolean isCaseSensitive()
- Overrides:
isCaseSensitive
in classBaseGeneric
- Returns:
true
if case-sensitive (e.g. both 'a' and 'A' are used with different meanings),false
otherwise (the case of Latin Ascii letters will be ignored).
-
-