Package com._1c.g5.v8.dt.form.pictures
Class PictureFqnUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.form.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
buildFormPictureBlobFqn(FormPicture picture)
Builds a form picture blob FQN.static String
buildFormPictureBlobFqn(String formFqn, String item, String feature)
Builds a form picture blob FQN.static PictureFqnParts
extractFormPictureBlobFqnParts(String fqn)
Extracts parts from an FQN belonging to a form picture blob.static boolean
isFormPictureBlobFqn(String fqn)
Checks if the specified FQN belongs to a form picture blob.static boolean
isFormPictureBlobFqn(String fqn, String formFqn)
Checks if the specified FQN belongs to a picture blob in the specified form.
-
-
-
Method Detail
-
buildFormPictureBlobFqn
public static String buildFormPictureBlobFqn(FormPicture picture)
Builds a form picture blob FQN.- Parameters:
picture
- The form picture. May not benull
.- Returns:
- the picture blob FQN. Never
null
.
-
buildFormPictureBlobFqn
public static String buildFormPictureBlobFqn(String formFqn, String item, String feature)
Builds a form picture blob FQN.- Parameters:
graphicalSchemeFqn
- The form FQN. May not benull
.item
- The form item. May not benull
.feature
- The form item feature. May not benull
.- Returns:
- the picture blob FQN. Never
null
.
-
isFormPictureBlobFqn
public static boolean isFormPictureBlobFqn(String fqn)
Checks if the specified FQN belongs to a form picture blob.- Parameters:
fqn
- The FQN to check. May not benull
.- Returns:
true
if the FQN belongs to a form picture blob,false
otherwise.
-
isFormPictureBlobFqn
public static boolean isFormPictureBlobFqn(String fqn, String formFqn)
Checks if the specified FQN belongs to a picture blob in the specified form.- Parameters:
fqn
- The FQN to check. May not benull
.formFqn
- The form FQN. May not benull
.- Returns:
true
if the specified FQN belongs to a picture blob in the specified form,false
otherwise.
-
extractFormPictureBlobFqnParts
public static PictureFqnParts extractFormPictureBlobFqnParts(String fqn)
Extracts parts from an FQN belonging to a form picture blob.- Parameters:
fqn
- The FQN to extract parts from. May not benull
.- Returns:
- the extracted parts. Never
null
.
-
-