Package com._1c.g5.v8.dt.md.pictures
Class PictureFqnUtil
java.lang.Object
com._1c.g5.v8.dt.md.pictures.PictureFqnUtil
Utilities to manipulate picture FQNs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildCommonPictureBlobFqn
(String commonPictureName) Builds common picture blob FQN.static String
buildConfigurationPictureBlobFqn
(String pictureName) Builds configuration picture blob FQN.static String
Extracts the common picture name from the corresponding blob FQN.static String
Extracts the configuration picture name from the corresponding blob FQN.static boolean
Checks if the specified FQN belongs to a common picture blob.static boolean
Checks if the specified FQN belongs to a configuration picture blob.
-
Method Details
-
buildCommonPictureBlobFqn
Builds common picture blob FQN.- Parameters:
commonPictureName
- The common picture name. May not benull
.- Returns:
- the picture blob FQN. Never
null
.
-
buildConfigurationPictureBlobFqn
Builds configuration picture blob FQN.- Parameters:
pictureName
- The picture name. May not benull
.- Returns:
- the picture blob FQN. Never
null
.
-
extractCommonPictureNameFromBlobFqn
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
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
Checks if the specified FQN belongs to a common picture blob.- Parameters:
fqn
- The FQN to check. May not benull
.- Returns:
true
if the FQN belongs to a common picture blob,false
otherwise.
-
isConfigurationPictureBlobFqn
Checks if the specified FQN belongs to a configuration picture blob.- Parameters:
fqn
- The FQN to check. May not benull
.- Returns:
true
if the FQN belongs to a configuration picture blob,false
otherwise.
-