Class StorageFileNameHelper
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.server.storagetraceability.StorageFileNameHelper
-
public final class StorageFileNameHelper extends java.lang.Object
Helper class for storage file name parsing
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.time.LocalDateTime
parseDateFromStorageLogFileName(java.lang.String fileName)
Parse storage log filename backup datestatic java.time.LocalDateTime
parseDateFromStorageTraceabilityFileName(java.lang.String fileName)
Parse storage traceability filename start date
-
-
-
Method Detail
-
parseDateFromStorageTraceabilityFileName
public static java.time.LocalDateTime parseDateFromStorageTraceabilityFileName(java.lang.String fileName)
Parse storage traceability filename start date- Parameters:
fileName
- the fileName to parse- Returns:
- The parsed start date
-
parseDateFromStorageLogFileName
public static java.time.LocalDateTime parseDateFromStorageLogFileName(java.lang.String fileName)
Parse storage log filename backup date- Parameters:
fileName
- the fileName to parse- Returns:
- The parsed start date
-
-