Package com._1c.g5.v8.dt.binary.resource
Class BinaryDataExporter
java.lang.Object
com._1c.g5.v8.dt.core.provider.BaseBmBlobExporter
com._1c.g5.v8.dt.binary.resource.BinaryDataExporter
- All Implemented Interfaces:
IBmBlobExporter
Exporter for
BinaryData.-
Constructor Summary
ConstructorsConstructorDescriptionBinaryDataExporter(IBmModelManager modelManager, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.core.runtime.IPathgetWorkspaceFilePath(String fqn, String type) Gets project-relative workspace file path.booleanChecks if the exporter supports the blob with the specified FQN.Methods inherited from class com._1c.g5.v8.dt.core.provider.BaseBmBlobExporter
deleteFile, saveFile
-
Constructor Details
-
BinaryDataExporter
@Inject public BinaryDataExporter(IBmModelManager modelManager, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter) Constructs a new instance.- Parameters:
modelManager- The model manager. May not benull.qualifiedNameConverter- The qualified name converter. May not benull.qualifiedNameFilePathConverter- The qualified name file path converter. May not benull.
-
-
Method Details
-
supports
Description copied from interface:IBmBlobExporterChecks if the exporter supports the blob with the specified FQN.- Parameters:
fqn- The FQN to check. May not benull.- Returns:
trueif the exporter supports the blob with the specified FQN,falseotherwise.
-
getWorkspaceFilePath
Description copied from class:BaseBmBlobExporterGets project-relative workspace file path.- Specified by:
getWorkspaceFilePathin classBaseBmBlobExporter- Parameters:
fqn- The FQN of the corresponding BM file. May not benull.type- The type of the file. May not benull.- Returns:
- the workspace file path or
nullif no file path corresponds to the specified parameters.
-