Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Check Hidden Files in Java
Check Hidden Files in Java

In this post we are going to explore how to use Java IO and Java NIO core classes to check if a file is hidden or not.

Write Text to a File in Java
Write Text to a File in Java

In this tutorial we are going to learn how to write text to a text file in a Java application. By different Java example programs we will explore different approaches to write a String into a text file using Java core classes.

Get Absolute File Path of a File in Java
Get Absolute File Path of a File in Java

In this post we will explore how to get an absolute path of a file in a Java application and return it as a String value.

Get File Size in Java
Get File Size in Java

In this post we are going to explore how to get file size in bytes, kilobytes, megabytes or gigabytes in different Java versions.

Escape or Unescape String for CSV column data in Java using Apache Commons Text
Escape or Unescape String for CSV column data in Java using Apache Commons Text

In this post we are going to learn how to use StringEscapeUtils class in Apache Commons Text library to escape a String for CSV file format. If the input String value contains a comma, newline or double quote, then the output String value is returned enclosed in double quotes.

Convert words in a String into camelCase in Java using Apache Commons Text
Convert words in a String into camelCase in Java using Apache Commons Text

In this article we are going to explore Apache Commons Text library by using CaseUtils utility class to convert a String of separated words into a camelCase String.

Substitute a String in Java by replace variables map to Template String using Apache Commons Text
Substitute a String in Java by replace variables map to Template String using Apache Commons Text

In this post we are going to learn how to substitute a String in Java which replaces variables into placeholders in a template String. To do this task we will use the Apache Commons Text library with support of StringSubstitutor class. Via different Java example code we will learn how to apply StringSubstitutor in different scenarios in your Java applications.

Uncapitalize first character of all words in a String in Java using Apache Commons Text
Uncapitalize first character of all words in a String in Java using Apache Commons Text

In this article we will explore the WordUtils.uncapitalize() method of Apache Commons Text library to uncapitalize a String. With Java code example we will learn how to use the WordUtils.uncapitalize() method to convert the first character of all words in a String to lowercase character.

Swap Lowercase and Uppercase of a String in Java using Apache Commons Text
Swap Lowercase and Uppercase of a String in Java using Apache Commons Text

In this article we are going to learn how to swap the case of a String in Java application. We provide a Java code example to show how to use WordUtils.swapCase() method of Apache Commons Text library to swap the case of each character of a given String.

Java extracts initial characters from each word in a String using Apache Commons Text
Java extracts initial characters from each word in a String using Apache Commons Text

In this post we learn how to use WordUtils class of Apache Commons Text library to extract initial characters from all words of a String in Java. We will show the Java code example that uses WordUtils.initials() method to extract initial letters of people names.

  • 1
  • 2
  • 3
  • …
  • 88
  • 89
  • 90
  • …
  • 99

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.