Class PictureFqnUtil


  • public final class PictureFqnUtil
    extends Object
    Utilities to manipulate picture FQNs.
    • Method Detail

      • buildCommonPictureBlobFqn

        public static String buildCommonPictureBlobFqn​(String commonPictureName)
        Builds common picture blob FQN.
        Parameters:
        commonPictureName - The common picture name. May not be null.
        Returns:
        the picture blob FQN. Never null.
      • buildConfigurationPictureBlobFqn

        public static String buildConfigurationPictureBlobFqn​(String pictureName)
        Builds configuration picture blob FQN.
        Parameters:
        pictureName - The picture name. May not be null.
        Returns:
        the picture blob FQN. Never null.
      • extractCommonPictureNameFromBlobFqn

        public static String extractCommonPictureNameFromBlobFqn​(String fqn)
        Extracts the common picture name from the corresponding blob FQN.
        Parameters:
        fqn - The blob FQN. May not be null.
        Returns:
        the common picture name. Never null.
      • extractConfigurationPictureNameFromBlobFqn

        public static String extractConfigurationPictureNameFromBlobFqn​(String fqn)
        Extracts the configuration picture name from the corresponding blob FQN.
        Parameters:
        fqn - The blob FQN. May not be null.
        Returns:
        the configuration picture name. Never null.
      • isCommonPictureBlobFqn

        public static boolean isCommonPictureBlobFqn​(String fqn)
        Checks if the specified FQN belongs to a common picture blob.
        Parameters:
        fqn - The FQN to check. May not be null.
        Returns:
        true if the FQN belongs to a common picture blob, false otherwise.
      • isConfigurationPictureBlobFqn

        public static boolean isConfigurationPictureBlobFqn​(String fqn)
        Checks if the specified FQN belongs to a configuration picture blob.
        Parameters:
        fqn - The FQN to check. May not be null.
        Returns:
        true if the FQN belongs to a configuration picture blob, false otherwise.