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 String
buildCommonPictureBlobFqn(String commonPictureName)
Builds common picture blob FQN.static String
buildConfigurationPictureBlobFqn(String pictureName)
Builds configuration picture blob FQN.static String
extractCommonPictureNameFromBlobFqn(String fqn)
Extracts the common picture name from the corresponding blob FQN.static String
extractConfigurationPictureNameFromBlobFqn(String fqn)
Extracts the configuration picture name from the corresponding blob FQN.static boolean
isCommonPictureBlobFqn(String fqn)
Checks if the specified FQN belongs to a common picture blob.static boolean
isConfigurationPictureBlobFqn(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:
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 benull
.- Returns:
true
if the FQN belongs to a configuration picture blob,false
otherwise.
-
-