![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
| FileUtil | withDir (File dir) |
| FileUtil | withFileName (String fileName) |
| File | getFile () |
| boolean | append (String text) |
| int | numLines () |
Public Attributes | |
| File | dir = Files.createTempDir() |
| String | fileName = "temp.txt" |
Simple File Utility class .. centered around appending and counting and things like that.
Definition at line 28 of file FileUtil.java.
| boolean org.openkilda.wfm.topology.utils.FileUtil.append | ( | String | text | ) |
Append the text. If an exception occurs, dump the text and return false.
Definition at line 57 of file FileUtil.java.
| File org.openkilda.wfm.topology.utils.FileUtil.getFile | ( | ) |
Definition at line 44 of file FileUtil.java.
| int org.openkilda.wfm.topology.utils.FileUtil.numLines | ( | ) |
Definition at line 73 of file FileUtil.java.
| FileUtil org.openkilda.wfm.topology.utils.FileUtil.withDir | ( | File | dir | ) |
Definition at line 34 of file FileUtil.java.
| FileUtil org.openkilda.wfm.topology.utils.FileUtil.withFileName | ( | String | fileName | ) |
Definition at line 39 of file FileUtil.java.
| File org.openkilda.wfm.topology.utils.FileUtil.dir = Files.createTempDir() |
Definition at line 30 of file FileUtil.java.
| String org.openkilda.wfm.topology.utils.FileUtil.fileName = "temp.txt" |
Definition at line 31 of file FileUtil.java.