HTTP URLConnection with proxy in Java
How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.
How to Check Alexa Rank in Java
How to Check Alexa Rank in Java using the undocumented API: http://data.alexa.com/data?cli=10&url=domainName. The code contains also the possibility of adding proxy settings
How to convert XML file into properties data in Java
The java.util.Properties
class come with a loadFromXML()
method to convert an XML file to properties data.
How to copy directory in Java
How to copy a directory and all sub-directories or files in Java. The recursive method used to traverse all the subdirectories.
How to copy files in Java
How to copy files in Java with three examples: Classic method with streams, using FileChannel class and using Files class.
Client Server Socket example in Java
Client Server Socket example in Java. Client example reading the input from the console. Simple echo server example.
Search
Other Posts
Follow Us On