Package com._1c.g5.v8.dt.binary.model
Class BinaryDataExtension
java.lang.Object
com._1c.g5.v8.dt.binary.model.BinaryDataExtension
Operation implementations for EClass
BinaryData
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildBinaryDataContentBlobFqn
(BinaryData binaryData) Builds binary data content blob FQN.static String
buildBinaryDataContentBlobFqn
(String binaryDataFqn) Builds binary data content blob FQN.static String
Extracts the binary data FQN from the corresponding content blob FQN.static InputStream
getContent
(BinaryData binaryData) Gets the contents of the specifiedBinaryData
instance.static boolean
Checks if the specified FQN belongs to a binary data content blob.static void
setContent
(BinaryData binaryData, InputStream content) Sets the contents of the specifiedBinaryData
instance.
-
Constructor Details
-
BinaryDataExtension
public BinaryDataExtension()
-
-
Method Details
-
getContent
Gets the contents of the specifiedBinaryData
instance.- Parameters:
binaryData
- TheBinaryData
instance. May not benull
.- Returns:
- an
InputStream
instance providing the content. Nevernull
.
-
setContent
Sets the contents of the specifiedBinaryData
instance.- Parameters:
binaryData
- TheBinaryData
instance. May not benull
.content
- AnInputStream
instance providing the content. May not benull
.
-
isBinaryDataContentBlobFqn
Checks if the specified FQN belongs to a binary data content blob.- Parameters:
fqn
- The FQN. May not benull
.- Returns:
true
if the specified FQN belongs to a binary data content blob,false
otherwise.
-
buildBinaryDataContentBlobFqn
Builds binary data content blob FQN.- Parameters:
binaryData
- The binary data. May not benull
.- Returns:
- the blob FQN. Never
null
.
-
buildBinaryDataContentBlobFqn
Builds binary data content blob FQN.- Parameters:
binaryDataFqn
- The binary data FQN. May not benull
.- Returns:
- the blob FQN. Never
null
.
-
extractBinaryDataFqnFromContentBlobFqn
Extracts the binary data FQN from the corresponding content blob FQN.- Parameters:
fqn
- The blob FQN. May not benull
.- Returns:
- the extracted binary data FQN. Never
null
.
-