public class Tools
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ArrayParamToString(java.lang.String[] params)
Converts the given array to String and adds a '&' between each element
|
static void |
Errorhandling(java.lang.Exception ex)
Here happens the error handling, saves the exception to a file
|
static java.io.File |
ReplaceInfile(java.io.File file)
Replaces the characters _.
|
public static final java.lang.String TAG
public java.lang.String ArrayParamToString(java.lang.String[] params)
params
- the array to be converted to stringpublic static void Errorhandling(java.lang.Exception ex)
ex
- the exception which happenedpublic static java.io.File ReplaceInfile(java.io.File file)
file
- xml file to read