Class FileSystemManager
java.lang.Object
fr.gouv.vitam.storage.cold.server.simulator.service.filesystem.FileSystemManager
Manages filesystem directories for INA
Responsible for:
- Creating and managing exchange directories
- Providing paths to write, read, and markers directories
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInaStoragePath(String filename) Get path to a file in the INA storage directorygetMarkersPath(String filename, MarkerType markerType) Get path to a marker file in the markers directorygetReadPath(String filename) Get path to a file in the read directorygetWritePath(String filename) Get path to a file in the write directoryvoidInitialize filesystem directories Creates necessary directories automatically
-
Constructor Details
-
FileSystemManager
-
-
Method Details
-
initialize
Initialize filesystem directories Creates necessary directories automatically- Throws:
IOException
-
getReadPath
Get path to a file in the read directory- Throws:
InaTapeProxyBadRequestException
-
getWritePath
Get path to a file in the write directory- Throws:
InaTapeProxyBadRequestException
-
getMarkersPath
public Path getMarkersPath(String filename, MarkerType markerType) throws InaTapeProxyBadRequestException Get path to a marker file in the markers directory- Throws:
InaTapeProxyBadRequestException
-
getInaStoragePath
Get path to a file in the INA storage directory- Throws:
InaTapeProxyBadRequestException
-