net.ranides.assira.text
Class Strings

java.lang.Object
  extended by net.ranides.assira.text.Strings

public final class Strings
extends Object

Author:
ranides

Method Summary
static int compareTo(String valueA, String valueB)
           
static String format(Locale locale, String format, Object... args)
           
static String format(String format, Object... args)
           
static boolean isAssigned(CharSequence value)
           
static boolean isEmpty(CharSequence value)
           
static boolean isEqual(Object valueA, Object valueB)
           
static int length(String value)
           
static String or(Object... values)
           
static String or(Object value1)
           
static String or(Object value1, Object value2)
           
static String orne(String... values)
           
static String orne(String a)
           
static String orne(String a, String b)
           
static String sprintf(Locale locale, String format, Object... args)
           
static String sprintf(String format, Object... args)
           
static String substring(String text, int first)
           
static String substring(String text, int first, int last)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sprintf

public static String sprintf(Locale locale,
                             String format,
                             Object... args)

sprintf

public static String sprintf(String format,
                             Object... args)

format

public static String format(Locale locale,
                            String format,
                            Object... args)

format

public static String format(String format,
                            Object... args)

or

public static String or(Object... values)

or

public static String or(Object value1)

or

public static String or(Object value1,
                        Object value2)

orne

public static String orne(String... values)

orne

public static String orne(String a)

orne

public static String orne(String a,
                          String b)

isEmpty

public static boolean isEmpty(CharSequence value)

isAssigned

public static boolean isAssigned(CharSequence value)

isEqual

public static boolean isEqual(Object valueA,
                              Object valueB)

compareTo

public static int compareTo(String valueA,
                            String valueB)

length

public static int length(String value)

substring

public static String substring(String text,
                               int first)

substring

public static String substring(String text,
                               int first,
                               int last)


Copyright © 2013. All Rights Reserved.