Class PictureFqnUtil


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

      • buildGraphicalSchemePictureBlobFqn

        public static String buildGraphicalSchemePictureBlobFqn​(GraphicalSchemePicture picture)
        Builds graphical scheme picture blob FQN.
        Parameters:
        picture - The graphical scheme picture. May not be null.
        Returns:
        the picture blob FQN. Never null.
      • buildGraphicalSchemePictureBlobFqn

        public static String buildGraphicalSchemePictureBlobFqn​(String graphicalSchemeFqn,
                                                                String item,
                                                                String feature)
        Builds graphical scheme picture blob FQN.
        Parameters:
        graphicalSchemeFqn - The graphical scheme FQN. May not be null.
        item - The graphical scheme item. May not be null.
        feature - The graphical scheme item feature. May not be null.
        Returns:
        the picture blob FQN. Never null.
      • isGraphicalSchemePictureBlobFqn

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

        public static PictureFqnParts extractGraphicalSchemePictureBlobFqnParts​(String fqn)
        Extracts parts from an FQN belonging to a graphical scheme picture blob.
        Parameters:
        fqn - The FQN to extract parts from. May not be null.
        Returns:
        the extracted parts. Never null.