TrueUpdate Utilities 0.4

net.java.trueupdate.util
Class Strings

java.lang.Object
  extended by net.java.trueupdate.util.Strings

@Immutable
public final class Strings
extends Object

Provides string functions.

Author:
Christian Schlichtherle

Method Summary
static String nonEmptyOr(String string, String defaultValue)
           
static String requireNonEmpty(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nonEmptyOr

@Nullable
public static String nonEmptyOr(@CheckForNull
                                         String string,
                                         @Nullable
                                         String defaultValue)

requireNonEmpty

public static String requireNonEmpty(String string)

TrueUpdate Utilities 0.4

Copyright © 2013 Schlichtherle IT Services. All rights reserved.