org.enhydra.snapper.parsers.fileparsers.parsers.excel2007parser
Class Excel2007ToText
java.lang.Object
org.enhydra.snapper.parsers.fileparsers.parsers.excel2007parser.Excel2007ToText
- All Implemented Interfaces:
- Excel2007Converter
public class Excel2007ToText
- extends java.lang.Object
- implements Excel2007Converter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xslFile
public java.io.InputStream xslFile
xmlFile
public java.io.InputStream xmlFile
Excel2007ToText
public Excel2007ToText()
init
public void init(java.io.File originalFile,
int characterLimit,
java.lang.String conversionPath)
throws FileParserException
- Specified by:
init
in interface Excel2007Converter
- Throws:
FileParserException
parse
public java.lang.String parse(int limit)
throws FileParserException
- Specified by:
parse
in interface Excel2007Converter
- Throws:
FileParserException
close
public void close()
- Specified by:
close
in interface Excel2007Converter
getConvertedContent
public java.lang.String getConvertedContent()
- Specified by:
getConvertedContent
in interface Excel2007Converter
getExtension
public java.lang.String getExtension()
- Specified by:
getExtension
in interface Excel2007Converter
getPureText
public java.lang.String getPureText()
- Specified by:
getPureText
in interface Excel2007Converter
setZipFile
public void setZipFile(java.io.InputStream stream,
java.util.zip.ZipFile file)
setZipFile
public void setZipFile(java.util.zip.ZipInputStream stream,
java.util.zip.ZipFile file)
- Specified by:
setZipFile
in interface Excel2007Converter
setEntry
public void setEntry(java.util.zip.ZipEntry zEntry)
getTransformer
public javax.xml.transform.Transformer getTransformer()
- Specified by:
getTransformer
in interface Excel2007Converter
setTransformer
public void setTransformer(javax.xml.transform.Transformer transformer)
- Specified by:
setTransformer
in interface Excel2007Converter
getCustomProperties
public java.util.ArrayList<java.lang.String> getCustomProperties()
- Specified by:
getCustomProperties
in interface Excel2007Converter
setTextTransformer
public void setTextTransformer(javax.xml.transform.Transformer transformer)
- Specified by:
setTextTransformer
in interface Excel2007Converter