Tag: apache commons
Total: 8 Posts
Posts of Tag: apache commons
  1. 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 More
    StringJavaapache commonsencoding
  2. Convert 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 More
    StringJavaapache commons
  3. Java: 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 More
    StringJavaapache commons
  4. Comparing 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 More
    StringJavaapache commons
  5. Guide 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 More
    StringJavaClassApacheapache commons
  6. Java: 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 More
    StringJavaapache commons
  7. Remove 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 More
    ArrayJavaapache commons
  8. Java: 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 More
    StringJavaapache commons