Class SimpleXlsx
- java.lang.Object
-
- com.nuix.superutilities.reporting.SimpleXlsx
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SimpleXlsx extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description SimpleXlsx(java.io.File file)
SimpleXlsx(java.lang.String file)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
com.aspose.cells.Style
createStyle()
com.aspose.cells.Workbook
getAsposeWorkbook()
SimpleWorksheet
getSheet(java.lang.String name)
static void
initializeAspose()
void
save()
void
saveAs(java.lang.String file)
-
-
-
Method Detail
-
initializeAspose
public static void initializeAspose() throws java.lang.Exception
- Throws:
java.lang.Exception
-
saveAs
public void saveAs(java.lang.String file) throws java.lang.Exception
- Throws:
java.lang.Exception
-
save
public void save() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSheet
public SimpleWorksheet getSheet(java.lang.String name)
-
getAsposeWorkbook
public com.aspose.cells.Workbook getAsposeWorkbook()
-
createStyle
public com.aspose.cells.Style createStyle()
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-