Tag: apache commons
Total: 8 Posts
Posts of Tag: apache commons
Total: 8 Posts
Posts of Tag: apache commons
Encode a String to UTF-8 in Java
Introduction 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 MoreStringJavaapache commonsencodingConvert InputStream into a String in Java
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 MoreStringJavaapache commonsJava: Check if String is Null, Empty or Blank
Java: Check if String is Null, Empty or Blank Introduction 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 MoreStringJavaapache commonsComparing Strings with Java
Comparing Strings with Java Introduction 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 MoreStringJavaapache commonsGuide to Apache Commons' StringUtils Class in Java
Guide to Apache Commons' StringUtils Class in Java Introduction 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 MoreStringJavaClassApacheapache commonsJava: Check if String Starts with Another String
Java: Check if String Starts with Another String Introduction 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 MoreStringJavaapache commonsRemove Element from an Array in Java
Remove Element from an Array in Java Introduction 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 MoreArrayJavaapache commonsJava: Check if String is a Number
Java: Check if String is a Number Introduction 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 MoreStringJavaapache commons