Package com._1c.g5.v8.dt.md.pictures
Class PictureFqnUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.md.pictures.PictureFqnUtil
-
public final class PictureFqnUtil extends Object
Utilities to manipulate picture FQNs.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildCommonPictureBlobFqn(String commonPictureName)Builds common picture blob FQN.static StringbuildConfigurationPictureBlobFqn(String pictureName)Builds configuration picture blob FQN.static StringextractCommonPictureNameFromBlobFqn(String fqn)Extracts the common picture name from the corresponding blob FQN.static StringextractConfigurationPictureNameFromBlobFqn(String fqn)Extracts the configuration picture name from the corresponding blob FQN.static booleanisCommonPictureBlobFqn(String fqn)Checks if the specified FQN belongs to a common picture blob.static booleanisConfigurationPictureBlobFqn(String fqn)Checks if the specified FQN belongs to a configuration picture blob.
-
-
-
Method Detail
-
buildCommonPictureBlobFqn
public static String buildCommonPictureBlobFqn(String commonPictureName)
Builds common picture blob FQN.- Parameters:
commonPictureName- The common picture name. May not benull.- 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 benull.- 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 benull.- 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 benull.- 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 benull.- Returns:
trueif the FQN belongs to a common picture blob,falseotherwise.
-
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 benull.- Returns:
trueif the FQN belongs to a configuration picture blob,falseotherwise.
-
-