org.dcm4che2.util
Class StringUtils
java.lang.Object
org.dcm4che2.util.StringUtils
public class StringUtils
- extends java.lang.Object
Method Summary |
static void |
byteToHex(int val,
char[] ch,
int off)
|
static java.lang.StringBuffer |
byteToHex(int val,
java.lang.StringBuffer sb)
|
static int |
count(java.lang.String s,
char ch)
|
static java.lang.String[] |
doubles2strs(double[] ds)
|
static java.lang.String |
first(java.lang.String s,
char delim)
|
static java.lang.String[] |
floats2strs(float[] fs)
|
static java.lang.String[] |
ints2strs(int[] val)
|
static java.lang.String[] |
intsToHex(int[] val)
|
static java.lang.String |
intToHex(int val)
|
static void |
intToHex(int val,
char[] ch,
int off)
|
static java.lang.StringBuffer |
intToHex(int val,
java.lang.StringBuffer sb)
|
static java.lang.String |
join(java.lang.String[] ss,
char delim)
|
static java.lang.String |
shortToHex(int val)
|
static void |
shortToHex(int val,
char[] ch,
int off)
|
static java.lang.StringBuffer |
shortToHex(int val,
java.lang.StringBuffer sb)
|
static java.lang.String[] |
split(java.lang.String s,
char delim)
|
static java.lang.String |
trim(java.lang.String s)
|
static java.lang.String[] |
trim(java.lang.String[] ss)
|
static java.lang.String |
trimEnd(java.lang.String s)
|
static java.lang.String[] |
trimEnd(java.lang.String[] ss)
|
static java.lang.String |
trimPN(java.lang.String s)
|
static java.lang.String[] |
trimPN(java.lang.String[] ss)
|
static java.lang.String[] |
uints2strs(int[] val)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtils
public StringUtils()
join
public static java.lang.String join(java.lang.String[] ss,
char delim)
split
public static java.lang.String[] split(java.lang.String s,
char delim)
count
public static int count(java.lang.String s,
char ch)
first
public static java.lang.String first(java.lang.String s,
char delim)
trim
public static java.lang.String trim(java.lang.String s)
trim
public static java.lang.String[] trim(java.lang.String[] ss)
trimPN
public static java.lang.String trimPN(java.lang.String s)
trimPN
public static java.lang.String[] trimPN(java.lang.String[] ss)
trimEnd
public static java.lang.String trimEnd(java.lang.String s)
trimEnd
public static java.lang.String[] trimEnd(java.lang.String[] ss)
ints2strs
public static java.lang.String[] ints2strs(int[] val)
uints2strs
public static java.lang.String[] uints2strs(int[] val)
floats2strs
public static java.lang.String[] floats2strs(float[] fs)
doubles2strs
public static java.lang.String[] doubles2strs(double[] ds)
intToHex
public static java.lang.StringBuffer intToHex(int val,
java.lang.StringBuffer sb)
shortToHex
public static java.lang.StringBuffer shortToHex(int val,
java.lang.StringBuffer sb)
byteToHex
public static java.lang.StringBuffer byteToHex(int val,
java.lang.StringBuffer sb)
intToHex
public static void intToHex(int val,
char[] ch,
int off)
shortToHex
public static void shortToHex(int val,
char[] ch,
int off)
byteToHex
public static void byteToHex(int val,
char[] ch,
int off)
intToHex
public static java.lang.String intToHex(int val)
intsToHex
public static java.lang.String[] intsToHex(int[] val)
shortToHex
public static java.lang.String shortToHex(int val)
Copyright © 2011 dcm4che. All Rights Reserved.