com.nimbusds.jose.util
Class StringUtils

java.lang.Object
  extended by com.nimbusds.jose.util.StringUtils

public class StringUtils
extends Object

String utilities.

Version:
$version$ (2013-05-16)
Author:
Vladimir Dzhuvinov

Method Summary
static byte[] toByteArray(String s)
          Converts the specified string to a byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toByteArray

public static byte[] toByteArray(String s)
Converts the specified string to a byte array.

Parameters:
s - The input string to convert. Must be UTF-8 encoded and not null.
Returns:
The resulting byte array.


Copyright © 2013 NimbusDS. All Rights Reserved.