Class GoogleDriveBlobConverter
java.lang.Object
org.nuxeo.ecm.liveconnect.google.drive.converter.GoogleDriveBlobConverter
- All Implemented Interfaces:
Converter
Converter that relies on
BlobProvider
conversions.- Since:
- 7.3
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(BlobHolder blobHolder, Map<String, Serializable> parameters) Main method to handle the real Conversion Job.protected Blob
convert
(Blob blob, DocumentModel doc) void
init
(ConverterDescriptor descriptor) Initializes the Converter.
-
Field Details
-
descriptor
-
-
Constructor Details
-
GoogleDriveBlobConverter
public GoogleDriveBlobConverter()
-
-
Method Details
-
init
Description copied from interface:Converter
Initializes the Converter.This can be used to retrieve some configuration information from the XMap Descriptor.
-
convert
public BlobHolder convert(BlobHolder blobHolder, Map<String, Serializable> parameters) throws ConversionExceptionDescription copied from interface:Converter
Main method to handle the real Conversion Job.Returned
BlobHolder
must implementCachableBlobHolder
, otherwise result won't be cached.- Specified by:
convert
in interfaceConverter
- Throws:
ConversionException
-
convert
- Throws:
IOException
-