3.1.0 (Development)
- ENHANCE: newer methods to
GsonUtils
class - IMPROVE: removing warnings and better align to newer code style
3.0.1 (20 Feb 2019)
- Fixed
SparseBitArray
for missing functionality - Fixed query parameter parsing failure in case of no value in
UrlManipulator
- Fixed thread name in
BatchJob
andBatchWorker
- Fixed NPE in
ConsoleTableRow(Object[])
instance - Fixed token splitting in
StringUtils
- Fixed resource leaks in
PropertiesUserLocalStore
,ArchiveUtils
andResourceUtils
- Upgraded
XStream
to use version1.4.10
- Upgraded dependency versions as mentioned in PR #7
- Added
OracleJDK9
to travis unit testing build matrix - Added more unit tests
3.0.0 (21 Dec 2016)
- Fixed critical bug in
Base62Encoder
where values conflicting codes were being generated - Added
ResourceUtils
to read files from classpath including from packaged JARs - Added
StringArrayIterator
to iterate over a string array usingIterator
- Added
IndentedStringWriter
that takes care of writing long indented text that breaks at a given line length - Added
count
,removeAll
,ltrim()
andrtrim()
methods toStringUtils
- Updated
ReflectionUtils
to bind values to object-wrappers for primitives - Allow counter names to be read from
IntegerCounter
andLongCounter
- Added
SimpleMultiMap.numValues()
- Added
StringUtils.wildcardMatch()
method - Added
jitpack.yml
for allowingjerry-core
via https://jitpack.io - Added
isJDK8()
andisJDK9()
methods toJDKUtils
- Added
asMap()
andclear
methods toIntegerCounter
andLongCounter
- Added
getNextSetBit()
method toBitArray
and implementations - Added
AdvancedStringReader
and corresponding unit-tests - Updated JavaDocs
2.4.0 (22 Dec 2015)
- Added
Gson
basedUserLocalStore
for saving application data in JSON format - Added
readTo
andwriteFrom
methods toUserLocalStore
to work with object instances - Added
bindValue
method toReflectionUtils
- Added methods to
ReflectionUtils
for working with primitive arrays - Added methods to
StringUtils
for converting to/from primitive arrays - Added
ObjectUtils
to convert and test object instances - Added a lot of unit-tests for increasing code coverage
- Updated
OSUtils
for detection of many different operating systems - Added
InMemoryUserLocalStore
using JVM memory as an implementation forUserLocalStore
- Added many convenience methods to
PropertiesUtils
- Added method
getGetterMethod
toReflectionUtils
to get theMethod
instance back - Fixed bug in
StringUtils.getBoolean(str, boolean)
method where default value was not returned correctly - Fixed bug in
MutableDouble
in constructor - changed fromfloat
param todouble
param - Updated dependencies
2.3.0 (01 Oct 2015)
ConsoleTable
now supports pagination- Added a
ConsoleTablePaginationBreakHandler
to interrupt pagination at breaks - Added
AutoRefreshable*
classes for values that can be auto-refreshed after a certain time - Added
BoundedInt
andBoundedLong
to allow for working with values within bounds - Added unit-tests for
AutoRefreshable*
andBounded*
classes
2.2.2 (09 Sep 2015)
- Fixed bug in
UriUtils.addWebPaths(String... )
to take care of null checks - Updated
ConsoleTable
to properly display the table - some formatting before the header and at row-end was missing
2.2.1 (24 Aug 2015)
- Modified
TestBase64Encoder
andTestCompressionUtils
to use method fromStringUtils
class - Updated
CryptoUtils
to makeencrypt
/decrypt
methodsstatic
- Added method to generate a random string in
StringUtils.getRandomString()
- Added method to generate/fill random bytes in
ByteUtils.getRandomBytes()
andByteUtils.fillRandomBytes()
- Fixed bug in
setIfMin
methods ofMutableInt
,MutableLong
,MutableFloat
, andMutableDouble
- Updated methods in
CheckUtils
class to return booleantrue
when everthing is fine - Fixed
and()
andor()
methods ofFastBitArray
- Fixed bug in
setBitIfUnset()
inMMapFileBackedBitArray
- Fixed bug in
setBitIfUnset()
inFileBackedBitArray
- Fixed bug in
AssertUtils.areNotEmpty()
- Added unit tests for
jersey
andjersey2
packages - Added unit tests for many utility classes
2.2.0 (18 Aug 2015)
- Added
ListUtils
withlistOf
methods to constructArrayList
of arrays - Added
getLowestSetBitIndex
andgetHighestSetBitIndex
methods toBitUtils
- Added
getHighestBitSet
andgetLowestBitSet
methods toBitArray
and its implementations - Added test-cases to
BitUtils
andBitArray
implementations
2.1.0 (28 Jul 2015)
- Udpated
BitArray
and its various implementation for many bug-fixes and enhancements - Added JCIP thread-safety annotations to
BitArray
and its implementations - Added
HttpHeaderName
constants from jerry-http project - Renamed
GsonJsonProvider
toGsonJsonJerseyProvider
for better clarity - Added
Gson
basedJAX-RS
handler for use with RestEasy
2.0.0 (06 Jul 2015)
- Moved
MutableInt
,MutableLong
,MutableFloat
andMutableDouble
to a sub-package - Moved
IntegerCounter
andLongCounter
to a sub-package - Added a
Tree
implementation that stores an n-ary tree and can render its flat view, allows for depth-first traversal - Updated JavaDocs to remove all missing docs and removed all warnings
- Added
BitArray
and its multiple implementations: an in-memoryFastBitArray
, a simpleFileBackedBitArray
, an implementation using standardJavaBitArray
and a fast memory-mapped file basedMMapFileBackedBitArray
- Added Jersey 1.0 and 2.0 based
GsonJsonProvider
for building REST services - Added
DumpUtils
to contruct a reflection-based string representation of an object useful for debugging purposes - Added
CookieUtils
,ResponseUtils
, andRequestUtils
to work with Servlet specification based objects - Added
PropertiesUtils
to work withProperties
objects easily - Added method to resolve a file path to
File
instance taking care of all..
, and~
- Added
Transformer
construct to transform an object from one form to another - Added constant to
SystemPropertyNames
for fetching java temporary folder - Added
FileUtils.getExtension
method to extract file extension - Added
FileUtils.hexDump
method to dump file contents in hex-notation - Added
ReadableUtils
to parse number of bytes/time in milliseconds to human readable form - Added
OSUtils
to retrieve operating-system based information - Added Oracle JDK 8 as one of the test environments
- Updated copyright headers
1.6.1 (16 Mar 2015)
- Fixed bug in
CheckUtils.directoryExists
where its existence as aFile
was being tested
1.6.0 (09 Mar 2015)
- Renamed
SystemProperty
toSystemPropertyNames
to indicate that this just contains names - Added method to
FileUtils
to list files using wild-cards in a given path - Added method to
FileUtils
to return the extension of file - Added
MimeUtils
to guess the MIME type based on the extension - Added methods to
CheckUtils
to see if file can be read, written and/or executed - Added a
GenericConsumer
class that allows consuming an entity easily - Added a
FileByteChunkConsumer
that allows consuming an entire file chunk-by-chunk of bytes - Added methods to
FileUtils
to compute MD5 and SHA-256 of a file - Added
BitUtils
utility class with basic bit operations - Added
EnvironmentUtils.dumpAllProperties()
to dump all system properties and evironment variables into a string for easier debugging - Added
areEmpty()
andareNotEmpty()
inAssertUtils
1.5.0 (28 Dec 2014)
- Updated
GsonUtils
to allow for registeration of custom type adapters, and clear previously generatedGson
s and/or custom adapters - Added
SimpleMultiMap
to store multiple values against a given key in aHashMap
- Added
ApplicationContext
class to hold static values for every application - Added a
StringLineIterator
that iterates over a string line-by-line and holds start/end position of each line - Added functionality to dump
ConsoleTable
intoCSV
,JSON
andXML
formats
1.4.0 (03 Dec 2014)
- Fixed a critical bug in
UriUtils.extractHost
- when the URL starts with//
the method was throwing an NPE - which is now fixed and it returns the correct hostname - Added
StringUtils.repeat
to create aString
of repeatable characters - Added
MutableInt
to create an object instance whose value can be changed as desired - Added
MutableDouble
,MutableFloat
andMutableLong
on the lines ofMutableInt
- Added
ConsoleTable
class to output display toSystem.out
orConsole
implementations in a proper tabular format. Can be used to output data to plain text files - three implementations are available,full-width
,width-curtail
andmulti-line
- Updated
UserLocalStore
to fetch a list of all keys stored within the store
1.3.0 (28 Oct 2014)
- Updated
UserLocalStore
to allow files to be created in user's home directory - Added method to
StringUtils
to merge an array using a given delimiter - Added
DesktopUtils
to open a URL in system browser if available - Added
StringUtils.getShortValue()
method - Updated
IntegerCounter
andLongCounter
to reset its value, or create a new one with a given initial value - Upgraded
Maven
dependencies to latest
1.2.1 (07 Oct 2014)
- Added unit test cases for
UserLocalStore
,Base62Encoder
- Added method in
HashUtils
to hash usingPBKDF2-HMAC-SHA1
- Added
CryptoUtils
to encrypt/decrypt text usingAES-256
- Added
EnvironmentUtils
to read a given property first by reading Java property, and then using System properties - Updated
GsonUtils
to serialize time aslong
epoch values to preserve milli-seconds
1.2.0 (02 Jul 2014)
- Added
UserLocalStore
and corresponding implementations to maintain a user-specific data store - Added constants interface for popular system properties in
SystemProperty
- Added more utility methods to
AssertUtils
and corresponding unit test cases - Added
CheckUtils
for checking assertions and throwing appropriate exceptions when they are not met - Added code coverage using
cobertura
maven plugin
1.1.0 (02 Apr 2014)
- Added
IntegerCounter
to keep track of multiple named counters with max integer capacity - Added
LongCounter
to keep track of multiple named counters with max long capacity - Added
HttpMimeType
constants for common response types - Added numerous utility methods to
StringUtils
- Removed dependency on
Character.isAlphabetic()
from JDK 7 - Fixed bug in
UrlManipulator
when URL path is not present - Updated javadocs
1.0.0 (20 Feb 2014)
- Initial release