public class BinaryVariantUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_VARIANT_ID_VALUE
The following value represents the variant_id for binaries not specifying a variant id.
|
Modifier and Type | Method and Description |
---|---|
static String |
denormalizeVariantId(String variantId)
Helper for obtaining the denormalized variant id.
|
static boolean |
isEmptyVariantId(String variantId)
Helper for determining if the variant id is empty.
|
static String |
normalizeVariantId(String variantId)
Helper for obtaining the variant id.
|
public static final String DEFAULT_VARIANT_ID_VALUE
public static String normalizeVariantId(String variantId)
variantId
- to get the variant id frompublic static String denormalizeVariantId(String variantId)
Method is defined public, but are not intended as public API. Just for re-use from different package
variantId
- The database representation of the variant id.public static boolean isEmptyVariantId(String variantId)
variantId
- variant id to check for 'emptiness'Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries