public class RunningTime
extends java.lang.Object
Constructor and Description |
---|
RunningTime() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static void |
writeTimeInformationIntoFile(java.lang.String wirteLine,
boolean clearFile,
java.lang.String absolutePath)
output the running time information into a txt file.
|
public static void writeTimeInformationIntoFile(java.lang.String wirteLine, boolean clearFile, java.lang.String absolutePath)
wirteLine
- The words are written into the fileclearFile
- True: clear the file specified by the pathabsolutePath
- Indicate the file path; if null, the default path "D:\\timeDiscovery.txt" is usedpublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception