I think i pass the reader now.
New code:
<cfset xlsFileTemplate =
createObject("java","org.apache.poi.openxml4j.opc.OPCPackage").open(JavaCast("string",
filepathtemplate)) />
<cfset xmlReader =
createObject("java","org.apache.poi.xssf.eventusermodel.XSSFReader").init(xlsFileTemplate)
/>
<cfset newWorkbook = xmlReader.getWorkbookData() />
<cfset writeableWorkbook =
createObject("java","org.apache.poi.xssf.streaming.SXSSFWorkbook").init(newWorkbook,
1000) />
New error:
Unable to find a constructor for class
org.apache.poi.xssf.streaming.SXSSFWorkbook that accepts parameters of type
( java.util.zip.ZipFile$1, java.lang.String ).
How can I pass the values from the xmlReader to my new SXSSFWorkbook?
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/Java-Memory-issue-tp5717351p5717361.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]