Apache Commons Codec 1.5 릴리즈
The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to thes widely used encoders and decoders, the codec package also maintains acollection of phonetic encoding utilities.
Changes in this version include:
New features:
o Add test(s) to check that encodeBase64() does not chunk output. Issue: CODEC-93. Thanks to sebb.
o ArrayIndexOutOfBoundsException when doing multiple reads() on encoding Base64InputStream. Issue: CODEC-105. Thanks to zak.
o Add the Cologne Phonetic to codec.lang. Issue: CODEC-106. Thanks to it2mmeyerfa.
o org.apache.commons.codec.net.
o Base64.encodeBase64(byte[] binaryData, boolean isChunked, boolean urlSafe, int maxResultSize) throws IAE for valid maxResultSize if isChunked is false. Issue: CODEC-112. Thanks to sebb.
o org.apache.commons.codec.
o org.apache.commons.codec.
o DoubleMetaphone.maxCodeLen should probably be private. Issue: CODEC-115. Thanks to sebb.
o Split Caverphone class into two classes for Caverphone 1.0 and 2.0. Issue: CODEC-118. Thanks to ggregory.
Fixed Bugs:
o new Base64().encode() appends a CRLF, and chunks results into 76 character lines. Issue: CODEC-89.
o Many test cases use getBytes() which uses the default platform encoding so tests may fail on some platforms. Issue: CODEC-92.
o Base64 default constructor behaviour changed to enable chunking in 1.4. Issue: CODEC-97. Thanks to mjryall.
o Base64.encodeBase64String() shouldn't chunk. Issue: CODEC-99. Thanks to julius.
o Base64InputStream#read(byte[]) incorrectly returns 0 at end of any stream which is multiple of 3 bytes long. Issue: CODEC-101. Thanks to balusc.
o Typo in DecoderException message thrown from Hex.decodeHex. Issue: CODEC-103. Thanks to gnuf.
o Caverphone encodes names starting and ending with "mb" incorrectly. Issue: CODEC-117. Thanks to ggregory.
Removed:
o Remove deprecated package private method Base64.discardWhitespace(byte[
Have fun!
-Commons Codec team