Commit Graph

82 Commits

Author SHA1 Message Date
Robert von Burg 2bc24c68c8 [New] set new version to 0.2.0-SNAPSHOT 2013-08-08 00:00:47 +02:00
Robert von Burg d2ee280dbe [New] Refactored the ObjectCache to not used a generic T in the class
There was no use and it only made the code unreadable.
2013-08-08 00:00:18 +02:00
Robert von Burg 7700694a84 [New] add new method ArraysHelper.copyOf(byte[]) 2013-04-09 19:25:07 +02:00
Robert von Burg 841fedafdf Update README.md
Added information which classes exist and what they are for.

Added how to build description
2013-03-13 17:13:27 +01:00
Robert von Burg cca9426358 [Minor] changed alphabet of StringHelper.getHexString() to have capital
letters, this corresponds to RFC4648
2013-03-11 22:50:05 +01:00
Robert von Burg a94981e741 [New] Added new methods to FileHelper to read and write byte arrays.
Fixed missing close on existing methods
2013-03-11 21:23:50 +01:00
Robert von Burg e587229914 [New] added new StringHelper.hash*AsHex() methods as a nice API 2013-03-10 23:58:06 +01:00
Robert von Burg 85bab370a5 [Major] Refactored the base encoding
Merged the BaseEncoding and BaseDecoding classes as it seems a better
fit. Added isBaseEncoded methos for checking
2013-03-10 22:09:43 +01:00
Robert von Burg 706d2413ac [New] added tests for the dmedia base32 encoding
Since Jason DeRose now put up some test vectors for the dmedia base32
encoding, i thought it wise to add these in a test
2013-03-01 18:45:59 +01:00
Robert von Burg 5ddb277773 [New] Implemented RFC 4648 Base de/encoding
Both encoding and decoding has been implemented. The specialty of this
implementation is that it is possible to pass in your own alphabet thus
allowing an extension without a re-implementation (again).

As an addition the dbase32 alphabet was added. See
http://docs.novacut.com/dbase32/dbase32.html for usage details
2013-02-24 11:26:44 +01:00
Robert von Burg f04de1e935 Minor code cleanup 2013-02-10 18:38:59 +01:00
Robert von Burg 4d61872094 fixed failing junit tests 2013-02-10 18:38:40 +01:00
Robert von Burg 6f5f03f6af Merge branch 'master' of github.com:eitch/ch.eitchnet.utils 2013-02-09 16:27:11 +01:00
Robert von Burg b36ab20dc3 [New] Added Dmedia Base32 encoding 2013-02-09 16:25:36 +01:00
Robert von Burg 1cf1a16683 [New] Added Base64, Base32 and Base16 encoding 2013-02-09 15:52:25 +01:00
Robert von Burg ca74bf2ae8 [Minor] JavaDoc comments and file headers
fixed some JavaDoc comments and file headers
2013-01-31 18:57:38 +01:00
Robert von Burg a69946d8d4 Update pom.xml
Added distribution management to deploy to nexus.eitchnet.ch (fixed wrong URL)
2013-01-30 15:06:43 +01:00
Robert von Burg 81a76a5fe0 [New] Added XmlHelper 2013-01-20 23:20:36 +01:00
Robert von Burg 5fcea2bb77 [New] added StringHelper.parseBoolean() to check if the string value
passed is either false or true, not allowing other string values.
2013-01-20 23:17:14 +01:00
Robert von Burg 5e56bf28d4 [Minor] Removed dependency to ch.eitchnet.log4j and thus added log4j.xml
The log4j.xml configuration file is in the test resources and now the
project is completely free of a dependency to a concrete logging
implementation as all logging of the sources is done over slf4j
2012-11-25 00:45:47 +01:00
Robert von Burg 3f5bf2d334 [Major] refactored use of log4j to slf4j 2012-11-24 13:22:40 +01:00
Robert von Burg 2fc807fe11 [Minor] cleaned up warnings in code and cleaned up pom.xml 2012-11-19 22:44:07 +01:00
Robert von Burg bb7042524f [New] added new utility method StringHelper.isEmpty() which also checks
for null
2012-11-16 19:42:58 +01:00
Robert von Burg 0d392b1c60 [New] added new formatting functions in StringHelper
- formatNanoDuration(long:nanos):String
- formatMillisecondsDuration(millis:long):String
2012-11-16 09:58:52 +01:00
Robert von Burg 2afba1876c [Major] added methods to SystemHelper and new class ProcessHelper
SystemHelper now has a number of methods to query OS information

ProcessHelper is a helper to execute system calls
2012-07-29 18:27:15 +02:00
Robert von Burg ffc9fa77cd [Minor] change mvn eclipse configuration to load sources as well 2012-07-28 23:16:16 +02:00
Robert von Burg 7dbd5af6a7 [Bugfix] fixed a resource leak where a BufferedReader was not close
In FileHelper.readFileToString() the BufferedReader was not closed. This
has been corrected
2012-07-28 22:50:52 +02:00
Robert von Burg c65fe9c247 [Minor] added eclipse settings path to .gitignore 2012-07-28 15:44:47 +02:00
Robert von Burg 2a3222ba66 [Major] rebuilt project using maven
- Now "mvn compile" will build the project and also download dependencies as needed.
- The ant script does not work anymore
2012-07-28 15:34:37 +02:00
Robert von Burg 97bd5cf5a4 [New] Added packaging information and files and licence
This includes setting the licence to LGPL, setting the headers, adding a build script and testing the build
2012-06-14 23:38:50 +02:00
Robert von Burg 82368adaff [New] Initial commit of the utils
This is initial commit includes
* a RMI handler which can be used for easy up- and downloading of files over RMI
* a FileHelper
* a Log4jConfigurator
* a StringHelper
* a SystemHelper
* a ObjectFilter which is used for caching operations to objects. These objects must implement ITransactionObject
2012-06-08 19:01:28 +02:00
Robert von Burg 7017a8cfa0 Initial commit 2012-06-08 09:46:26 -07:00