public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
concat(String[] a,
String[] b) |
static String |
convertRawTextWithEOL(String rawText,
JComboBox eolCombo) |
static void |
fillComboWithEOL(JComboBox combo) |
static boolean |
isComponentChildOf(Component child,
Component parent) |
static String |
quotePath(String path)
Quote a path if needed (i.e.
|
static String |
stringFromFile(String file) |
static String |
toString(String[] object) |
static String |
trimString(String s) |
static String |
unquotePath(String path)
Unquote a path if it has quote (") at the beginning or at the end
of it.
|
public static String stringFromFile(String file) throws IOException
IOExceptionpublic static String quotePath(String path)
path - The path to quotepublic static String unquotePath(String path)
path - The path to unquotepublic static void fillComboWithEOL(JComboBox combo)
public static String convertRawTextWithEOL(String rawText, JComboBox eolCombo)
Copyright © 2013. All rights reserved.