Class LocalFileUtils
java.lang.Object
fr.gouv.vitam.storage.offers.tape.utils.LocalFileUtils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
archiveFileNamePathToArchiveId
(String tarFileName) static String
archiveFileNameRelativeToInputArchiveStorageFolder
(String fileBucket, String archiveId) static String
createStorageId
(String objectName) static String
createTarEntryName
(String containerName, String storageId, int entryIndex) static String
createTarId
(LocalDateTime now) static Path
fileBuckedInputFilePath
(String inputTarStorageFolder, String fileBucketId) static String
getContainerNameFromTarEntryName
(String tarEntryName) static String
getCreationDateFromArchiveId
(String archiveId) static int
getEntryIndexFromTarEntryName
(String tarEntryName) static String
getStorageIdFromTarEntryName
(String tarEntryName) static String
storageIdToObjectName
(String storageId)
-
Field Details
-
TAR_EXTENSION
- See Also:
-
ZIP_EXTENSION
- See Also:
-
TMP_EXTENSION
- See Also:
-
INPUT_TAR_TMP_FOLDER
- See Also:
-
-
Method Details
-
createStorageId
-
storageIdToObjectName
-
createTarEntryName
-
getContainerNameFromTarEntryName
-
getStorageIdFromTarEntryName
-
getEntryIndexFromTarEntryName
-
createTarId
-
archiveFileNameRelativeToInputArchiveStorageFolder
-
getCreationDateFromArchiveId
-
archiveFileNamePathToArchiveId
-
fileBuckedInputFilePath
-