How to install golang on Raspberry PI
How to install golang on Raspberry PI. Example using apt-get and using the latest binary available.
How to delete directory in Java
How to delete directory in Java using File.delete() method. Recursive delete is applied if the directory is not empty.
GET/POST request with HttpURLConnection in Java
How to send GET and POST requests using standard HttpURLConnection class from Java. Simple examples for both methods.
How to read XML file in Java using DOM
How to read XML file in Java using DOM. 2 methods: one reading each element by the name and second parsing the entire DOMobject.
Apache Maven Basic Operations
Apache Maven Basic Operations contains short description on maven commands like, clean
, package
, install
, deploy
, mvn eclipse:eclipse
How to read and write files in Java
How to read and write files in Java using BufferedReader and BufferedWriter. The example highlights the classic resource release and try-with-resource approach.