Package fr.gouv.vitam.storage.engine.server.storagetraceability

# 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 Summary

  Modifier and Type
  Method
  Description
  `static LocalDateTime`
  `parseDateFromStorageLogFileName(String fileName)`
  Parse storage log filename backup date
  `static LocalDateTime`
  `parseDateFromStorageTraceabilityFileName(String fileName)`
  Parse storage traceability filename start date

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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