Class ContainerUtils
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.common.utils.ContainerUtils
-
public class ContainerUtils extends java.lang.Object
Formatting & parsing utils for container names. Format [Env_]Tenant_DataCategory
-
-
Constructor Summary
Constructors Constructor Description ContainerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
buildContainerName(DataCategory type, java.lang.String tenantId)
static DataCategory
parseDataCategoryFromContainerName(java.lang.String containerName)
static int
parseTenantFromContainerName(java.lang.String containerName)
-
-
-
Method Detail
-
buildContainerName
public static java.lang.String buildContainerName(DataCategory type, java.lang.String tenantId)
-
parseDataCategoryFromContainerName
public static DataCategory parseDataCategoryFromContainerName(java.lang.String containerName)
-
parseTenantFromContainerName
public static int parseTenantFromContainerName(java.lang.String containerName)
-
-