public class Tools extends Object
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static String |
getOpt(String[] args,
String prefix)
give a command line argument list, this method gets the option
of the specified prefix
|
static boolean |
isOpt(String[] args,
String prefix)
give a command line argument list, this method tests for
the presence of the option of the specified prefix
|
static String |
loadText(InputStream is)
loads a text file from an InputStream
|
static String |
loadText(String fileName)
loads a text file and returns its
content as string
|
static String |
removeApices(String st) |
public static String loadText(String fileName) throws IOException
IOException
public static String loadText(InputStream is) throws IOException
IOException
public static String getOpt(String[] args, String prefix)
public static boolean isOpt(String[] args, String prefix)
Copyright © 2015. All rights reserved.