Tag: apache commons
Total: 8 Posts
Posts of Tag: apache commons
When working with Strings in Java, we oftentimes need to encode them to a specific charset, such as UTF-8.
UTF-8 represents a variable-width character encoding that uses between one and four eigh...Learn More
Convert InputStream into a String in Java
The InputStream class is a high-level class representing any input byte stream in Java. Various subclasses further specify its usage, such as the BufferedInputStream, B...Learn More
Java: Check if String is Null, Empty or Blank
In Java, there is a distinct difference between null, empty, and blank Strings.
An empty string is a String object with an assigned value, but its len...Learn More
Comparing Strings with Java
In this tutorial, we'll be diving into String Comparison in Java.
String comparison is a common operation in all languages. The ability to check if one String is equal t...Learn More
Guide to Apache Commons' StringUtils Class in Java
The Apache Commons library provides many new interfaces, implementations and classes that expand on the core Java Framework. It's one of the top t...Learn More
Java: Check if String Starts with Another String
In this article, we'll take a look at how to check if a String starts with another String in Java.
This is is a fairly common task in programming, a...Learn More
Remove Element from an Array in Java
This tutorial will go through some common techniques for removing elements from Java arrays. Manipulating array elements is an extremely common task as discussi...Learn More
Java: Check if String is a Number
Strings are a handy way of getting information across and getting input from a user.
In this article, we will go through a couple of ways check if a String is Nume...Learn More