$darkmode
DENOPTIM
|
Singleton for synchronizing multi-thread safe file access. More...
Public Member Functions | |
synchronized void | writeData (String fileName, String data, boolean append) throws DENOPTIMException |
Write data as an unformatted string to a text file. More... | |
Static Public Member Functions | |
static SingletonFileAccess | getInstance () |
Returns the single instance of this class. More... | |
Private Member Functions | |
SingletonFileAccess () | |
Static Private Attributes | |
static final SingletonFileAccess | sfa = new SingletonFileAccess() |
Singleton for synchronizing multi-thread safe file access.
Definition at line 30 of file SingletonFileAccess.java.
|
private |
Definition at line 37 of file SingletonFileAccess.java.
|
static |
Returns the single instance of this class.
Definition at line 65 of file SingletonFileAccess.java.
References denoptim.files.SingletonFileAccess.sfa.
Referenced by denoptim.combinatorial.CEBLUtils.storeGraphOfLevel().
synchronized void denoptim.files.SingletonFileAccess.writeData | ( | String | fileName, |
String | data, | ||
boolean | append | ||
) | throws DENOPTIMException |
Write data as an unformatted string to a text file.
filename | |
data | |
append | if true requires to append to file |
DENOPTIMException |
Definition at line 52 of file SingletonFileAccess.java.
References denoptim.io.DenoptimIO.writeData().
Referenced by denoptim.combinatorial.CEBLUtils.storeGraphOfLevel().
|
staticprivate |
Definition at line 33 of file SingletonFileAccess.java.
Referenced by denoptim.files.SingletonFileAccess.getInstance().