Tag archives for JAVA

Parsing JSON using JAVA with HTTP Basic Authentication in JAVA

Hello All, Today we will explore how to parse JSON String into JSONArray and from JSONArray to List of HashMaps above all to do it with Basic HTTP Authentication, I needed such scenario as I was developing an application for…

Posted in Network, Programming, Technology | Leave a comment

How to create a jar file with a source code using ant

hello, today we will be talking about how to create a jar file using ant build while attaching the source code with the jar. so first we do the Build.xml, it should look something like below where you define the…

Posted in Programming | Leave a comment

Reading Bigfiles using JAVA

Hello, This is one of the effecient ways to read a big files in JAVA using Chunks InputStream is; OutputStream os; buffer[] = new byte[1024]; int read; while((read = is.read(buffer)) != -1) { // do whatever you need with the…

Posted in Programming | Leave a comment

Simple Java Password Generator

hello there, today im going to share with you a simple Java Class which is being able to generate passwords and their phonetics. I hope that you are going to enjoy it. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384public class PasswordGenerator { protected static char[] goodChar…

Posted in Programming, System Administartion | 1 Comment

Swedish Greys - a WordPress theme from Nordic Themepark.