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.IPath
getWorkspaceFilePath
(String fqn, String type) Gets project-relative workspace file path.boolean
Checks 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:IBmBlobExporter
Checks if the exporter supports the blob with the specified FQN.- Parameters:
fqn
- The FQN to check. May not benull
.- Returns:
true
if the exporter supports the blob with the specified FQN,false
otherwise.
-
getWorkspaceFilePath
Description copied from class:BaseBmBlobExporter
Gets project-relative workspace file path.- Specified by:
getWorkspaceFilePath
in 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
null
if no file path corresponds to the specified parameters.
-