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
public final class BinaryDataExporter extends BaseBmBlobExporter
Exporter forBinaryData
.
-
-
Constructor Summary
Constructors Constructor Description BinaryDataExporter(IBmModelManager modelManager, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.runtime.IPath
getWorkspaceFilePath(String fqn, String type)
Gets project-relative workspace file path.boolean
supports(String fqn)
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 Detail
-
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 Detail
-
supports
public boolean supports(String fqn)
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
protected org.eclipse.core.runtime.IPath getWorkspaceFilePath(String fqn, String type)
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.
-
-