public class FileUtil extends Object
| Constructor and Description |
|---|
FileUtil() |
| Modifier and Type | Method and Description |
|---|---|
String |
readTxtFile(String file)
Reads the file and returns the time unit, which was saved in the Project
|
void |
writeTxtFile(String tU,
String path)
Writes the time unit in the file, which was selected from the user in the
combo box.
|
public String readTxtFile(String file) throws Exception
file - the path of the file, which contains the time unitExceptionpublic void writeTxtFile(String tU, String path) throws IOException
tU - the selected time unitpath - the path of the file in the projectIOException