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 convert String to InputStream in Java
Simple example how to convert a String object InputStream object in Java using ByteArrayInputStream class.
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.
How to read CSV file in Java
How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.
How to parse Google Search result in Java
How to parse Google Search result in Java using URLConnection and a regular expression to parse the response. Can be used to check the Google SERP position.
How to convert Inputstream to String in Java
How to convert a InputStream object to String object in Java using BufferedReader and InputStreamReader classes.