Class LocalFileUtils

java.lang.Object
fr.gouv.vitam.storage.offers.tape.utils.LocalFileUtils

public final class LocalFileUtils extends Object
  • Field Details

  • Method Details

    • createStorageId

      public static String createStorageId(String objectName)
    • storageIdToObjectName

      public static String storageIdToObjectName(String storageId)
    • createTarEntryName

      public static String createTarEntryName(String containerName, String storageId, int entryIndex)
    • getContainerNameFromTarEntryName

      public static String getContainerNameFromTarEntryName(String tarEntryName)
    • getStorageIdFromTarEntryName

      public static String getStorageIdFromTarEntryName(String tarEntryName)
    • getEntryIndexFromTarEntryName

      public static int getEntryIndexFromTarEntryName(String tarEntryName)
    • createTarId

      public static String createTarId(LocalDateTime now)
    • archiveFileNameRelativeToInputArchiveStorageFolder

      public static String archiveFileNameRelativeToInputArchiveStorageFolder(String fileBucket, String archiveId)
    • getCreationDateFromArchiveId

      public static String getCreationDateFromArchiveId(String archiveId)
    • archiveFileNamePathToArchiveId

      public static String archiveFileNamePathToArchiveId(String tarFileName)
    • fileBuckedInputFilePath

      public static Path fileBuckedInputFilePath(String inputTarStorageFolder, String fileBucketId)