Package repast.simphony.data2.builder
Class FileNameFormatter
- java.lang.Object
-
- repast.simphony.data2.builder.FileNameFormatter
-
public class FileNameFormatter extends Object
Class that will format a file name by optionally adding a timestamp and renaming any existing files with same name.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description FileNameFormatter(String file, boolean addTimeStamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFilename()
Gets the formatted file name.String
getFilename(String suffix)
Gets the file name with the suffix append to it.
-
-
-
Constructor Detail
-
FileNameFormatter
public FileNameFormatter(String file, boolean addTimeStamp)
-
-