public class SaveStringToFile
extends java.lang.Object
Constructor and Description |
---|
SaveStringToFile() |
Modifier and Type | Method and Description |
---|---|
void |
appendStrToFile(java.lang.String fileName,
java.lang.String str)
this method append a string in a file
|
void |
createLogDir()
this method create a Log directory if not exists
|
void |
createTempDir()
this method create a TEMP directory if not exists
|
void |
deleteTempFolder()
this method delete a TEMP directory and all of its content
|
static SaveStringToFile |
getInstance() |
public static SaveStringToFile getInstance()
public void appendStrToFile(java.lang.String fileName, java.lang.String str)
fileName
- - file to savestr
- - string to savepublic void createLogDir()
public void createTempDir()
public void deleteTempFolder()