Package edu.ie3.datamodel.io.naming
Class FlatDirectoryHierarchy
java.lang.Object
edu.ie3.datamodel.io.naming.FlatDirectoryHierarchy
- All Implemented Interfaces:
FileHierarchy
Default directory hierarchy for input models
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGives the baseDirectory, which is Empty.getSubDirectory
(Class<? extends UniqueEntity> cls, String fileSeparator) Gives empty sub directory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.ie3.datamodel.io.naming.FileHierarchy
getSubDirectory
-
Constructor Details
-
FlatDirectoryHierarchy
public FlatDirectoryHierarchy()
-
-
Method Details
-
getSubDirectory
Gives empty sub directory.- Specified by:
getSubDirectory
in interfaceFileHierarchy
- Parameters:
cls
- Class to define the sub directory forfileSeparator
- The file separator to use- Returns:
- An Option to the regarding sub directory as a string
-
getBaseDirectory
Gives the baseDirectory, which is Empty.- Specified by:
getBaseDirectory
in interfaceFileHierarchy
- Returns:
- An Option to the base directory as a string
-