public class GoogleDriveBlobConverter extends Object implements Converter
BlobProvider
conversions.Modifier and Type | Field and Description |
---|---|
protected ConverterDescriptor |
descriptor |
Constructor and Description |
---|
GoogleDriveBlobConverter() |
Modifier and Type | Method and Description |
---|---|
protected Blob |
convert(Blob blob,
DocumentModel doc) |
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
void |
init(ConverterDescriptor descriptor)
Initializes the Converter.
|
protected ConverterDescriptor descriptor
public GoogleDriveBlobConverter()
public void init(ConverterDescriptor descriptor)
Converter
This can be used to retrieve some configuration information from the XMap Descriptor.
public BlobHolder convert(BlobHolder blobHolder, Map<String,Serializable> parameters) throws ConversionException
Converter
Returned BlobHolder
must implement CachableBlobHolder
, otherwise result won't be cached.
convert
in interface Converter
ConversionException
protected Blob convert(Blob blob, DocumentModel doc) throws IOException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.