K-Flakes # 2011-2 : Java String Tokenizer vs String split() function

This knowledge flake is not intended to present before a detailed comparison between Java String tokenizer and String.split(). Rather, this provides an indication towards best usage of the two and their limitations.



Contents are compiled from different resources. Respective copyrights are acknowledged.

k-flakes # 2011-1 : How to find Java jar version through a Java program

We often need to find out which Java jar version, is being used by the software. This is specially helpful in debugging problems and for logging information about runtime environment.

The below small program is helpful in getting the same.



Contents are compiled from different resources. Respective copyrights are acknowledged.