Package com._1c.g5.v8.dt.addin.model
Class AddInExtension
java.lang.Object
com._1c.g5.v8.dt.addin.model.AddInExtension
Operation implementations for EClass
AddIn-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildAddInContentBlobFqn(AddIn addIn) Builds add-in content blob FQN.static StringbuildAddInContentBlobFqn(String addInFqn) Builds add-in content blob FQN.static StringExtracts the add-in FQN from the corresponding content blob FQN.static InputStreamgetContent(AddIn addIn) Gets the contents of the specifiedAddIninstance.static booleanChecks if the specified FQN belongs to an add-in content blob.static voidsetContent(AddIn addIn, InputStream content) Sets the contents of the specifiedAddIninstance.
-
Constructor Details
-
AddInExtension
public AddInExtension()
-
-
Method Details
-
getContent
Gets the contents of the specifiedAddIninstance.- Parameters:
addIn- TheAddIninstance. May not benull.- Returns:
- an
InputStreaminstance providing the content. Nevernull.
-
setContent
Sets the contents of the specifiedAddIninstance.- Parameters:
addIn- TheAddIninstance. May not benull.content- AnInputStreaminstance providing the content. May not benull.
-
isAddInContentBlobFqn
Checks if the specified FQN belongs to an add-in content blob.- Parameters:
fqn- The FQN. May not benull.- Returns:
trueif the specified FQN belongs to an add-in content blob,falseotherwise.
-
buildAddInContentBlobFqn
Builds add-in content blob FQN.- Parameters:
addIn- The add-in. May not benull.- Returns:
- the blob FQN. Never
null.
-
buildAddInContentBlobFqn
Builds add-in content blob FQN.- Parameters:
addIn- The add-in FQN. May not benull.- Returns:
- the blob FQN. Never
null.
-
extractAddInFqnFromContentBlobFqn
Extracts the add-in FQN from the corresponding content blob FQN.- Parameters:
fqn- The blob FQN. May not benull.- Returns:
- the extracted add-in FQN. Never
null.
-