org.apache.hc.core5.util

## Class TextUtils

- java.lang.Object
- - org.apache.hc.core5.util.TextUtils

-     public final class TextUtils
      extends Object

  Since:
    4.3

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `containsBlanks(CharSequence s)`
    `static boolean` | `isBlank(CharSequence s)` Returns true if the parameter is null or contains only whitespace
    `static boolean` | `isEmpty(CharSequence s)` Returns true if the parameter is null or of zero length
    `static String` | `toHexString(byte[] bytes)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### isEmpty

          public static boolean isEmpty(CharSequence s)

      Returns true if the parameter is null or of zero length

    - #### isBlank

          public static boolean isBlank(CharSequence s)

      Returns true if the parameter is null or contains only whitespace

    - #### containsBlanks

          public static boolean containsBlanks(CharSequence s)

      Since:
        4.4

    - #### toHexString

          public static String toHexString(byte[] bytes)

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.