Package fr.gouv.vitam.storage.engine.common.utils

# Class ContainerUtils

java.lang.Object
fr.gouv.vitam.storage.engine.common.utils.ContainerUtils

public class ContainerUtils extends Object
Formatting & parsing utils for container names. Format [Env_]Tenant_DataCategory

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ContainerUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `buildContainerName(DataCategory type, String tenantId)`
  `static DataCategory`
  `parseDataCategoryFromContainerName(String containerName)`
  `static int`
  `parseTenantFromContainerName(String containerName)`

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

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

- ## Constructor Details

  - ### ContainerUtils

    public ContainerUtils()

- ## Method Details

  - ### buildContainerName

    public static String buildContainerName(DataCategory type, String tenantId)

  - ### parseDataCategoryFromContainerName

    public static DataCategory parseDataCategoryFromContainerName(String containerName)

  - ### parseTenantFromContainerName

    public static int parseTenantFromContainerName(String containerName)