Class StorageFileNameHelper

java.lang.Object
fr.gouv.vitam.storage.engine.server.storagetraceability.StorageFileNameHelper

public final class StorageFileNameHelper extends Object
Helper class for storage file name parsing
  • Method Details

    • parseDateFromStorageTraceabilityFileName

      public static LocalDateTime parseDateFromStorageTraceabilityFileName(String fileName)
      Parse storage traceability filename start date
      Parameters:
      fileName - the fileName to parse
      Returns:
      The parsed start date
    • parseDateFromStorageLogFileName

      public static LocalDateTime parseDateFromStorageLogFileName(String fileName)
      Parse storage log filename backup date
      Parameters:
      fileName - the fileName to parse
      Returns:
      The parsed start date