|
com.im.commons 6.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.commons.util.Utils
public final class Utils
| Method Summary | |
|---|---|
static boolean |
containsIgnoreCase(Collection<String> vals,
String item)
Does this collection of strings contain the specified item (case is ignored). |
static boolean |
containsIgnoreCase(String[] vals,
String item)
Does this array of strings contain the specified item (case is ignored). |
static String |
convertForPaste(String input)
Convert all non-space white chars to ',' inside input |
static String |
createGuid()
|
static void |
pasteOnNonMac(String clip,
JTextComponent comp)
Paste does not work properly with clipboard on non-mac systems |
static Double |
toDoubleOrNull(String val)
|
static Integer |
toIntegerOrNull(String val)
|
static String |
xmlToString(Node node)
Export xml Node to String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String createGuid()
public static boolean containsIgnoreCase(String[] vals,
String item)
public static boolean containsIgnoreCase(Collection<String> vals,
String item)
public static String convertForPaste(String input)
input
input - The s tring to paste
public static void pasteOnNonMac(String clip,
JTextComponent comp)
clip - content to be pastedcomp - component where to pastepublic static Double toDoubleOrNull(String val)
public static Integer toIntegerOrNull(String val)
public static String xmlToString(Node node)
node - Node to be exported (Document in our case)
|
com.im.commons 6.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||