public class XL2TextConverter extends Object implements Converter
Constructor and Description |
---|
XL2TextConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendTextFromCell(org.apache.poi.hssf.usermodel.HSSFCell cell,
StringBuffer sb) |
BlobHolder |
convert(BlobHolder blobHolder,
Map<String,Serializable> parameters)
Main method to handle the real Conversion Job.
|
void |
init(ConverterDescriptor descriptor)
Initializes the Converter.
|
public XL2TextConverter()
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 void appendTextFromCell(org.apache.poi.hssf.usermodel.HSSFCell cell, StringBuffer sb)
public void init(ConverterDescriptor descriptor)
Converter
This can be used to retrieve some configuration information from the XMap Descriptor.
Copyright © 2015 Nuxeo SA. All rights reserved.