public class Xcelite extends Object
| Modifier and Type | Method and Description |
|---|---|
XceliteSheet |
createSheet()
Creates new sheet.
|
XceliteSheet |
createSheet(String name)
Creates new sheet with specified name.
|
byte[] |
getBytes()
Gets the excel file as byte array.
|
XceliteSheet |
getSheet(int sheetIndex)
Gets the sheet at the specified index.
|
XceliteSheet |
getSheet(String sheetName)
Gets the sheet with the specified index.
|
void |
write()
Saves data to the same file given in construction.
|
void |
write(File file)
Saves data to a new file.
|
public Xcelite()
public Xcelite(File file)
public XceliteSheet createSheet()
public XceliteSheet createSheet(String name)
name - the sheet name *public XceliteSheet getSheet(int sheetIndex)
sheetIndex - the sheet indexpublic XceliteSheet getSheet(String sheetName)
sheetIndex - the sheet namepublic void write()
public void write(File file)
file - the file to save the data intopublic byte[] getBytes()
Copyright © 2014. All rights reserved.