public class CSVWorkbook extends Object implements org.apache.poi.ss.usermodel.Workbook
Sheet in this object, and any sheet manipulations will fail or return null.| Constructor and Description | 
|---|
CSVWorkbook(File F,
           String separator,
           int idColumnCount)
Create a new Workbook using a specific file and a defined separator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
addPicture(byte[] arg0,
          int arg1)  | 
void | 
addToolPack(org.apache.poi.ss.formula.udf.UDFFinder arg0)  | 
org.apache.poi.ss.usermodel.Sheet | 
cloneSheet(int arg0)  | 
org.apache.poi.ss.usermodel.CellStyle | 
createCellStyle()  | 
org.apache.poi.ss.usermodel.DataFormat | 
createDataFormat()  | 
org.apache.poi.ss.usermodel.Font | 
createFont()  | 
org.apache.poi.ss.usermodel.Name | 
createName()  | 
org.apache.poi.ss.usermodel.Sheet | 
createSheet()  | 
org.apache.poi.ss.usermodel.Sheet | 
createSheet(String arg0)  | 
org.apache.poi.ss.usermodel.Font | 
findFont(short arg0,
        short arg1,
        short arg2,
        String arg3,
        boolean arg4,
        boolean arg5,
        short arg6,
        byte arg7)  | 
int | 
getActiveSheetIndex()  | 
List<? extends org.apache.poi.ss.usermodel.PictureData> | 
getAllPictures()  | 
org.apache.poi.ss.usermodel.CellStyle | 
getCellStyleAt(short arg0)  | 
org.apache.poi.ss.usermodel.CreationHelper | 
getCreationHelper()  | 
int | 
getFirstVisibleTab()  | 
org.apache.poi.ss.usermodel.Font | 
getFontAt(short arg0)  | 
boolean | 
getForceFormulaRecalculation()  | 
org.apache.poi.ss.usermodel.Row.MissingCellPolicy | 
getMissingCellPolicy()  | 
org.apache.poi.ss.usermodel.Name | 
getName(String arg0)  | 
org.apache.poi.ss.usermodel.Name | 
getNameAt(int arg0)  | 
int | 
getNameIndex(String arg0)  | 
short | 
getNumberOfFonts()  | 
int | 
getNumberOfNames()  | 
int | 
getNumberOfSheets()  | 
short | 
getNumCellStyles()  | 
String | 
getPrintArea(int arg0)  | 
org.apache.poi.ss.usermodel.Sheet | 
getSheet(String arg0)  | 
org.apache.poi.ss.usermodel.Sheet | 
getSheetAt(int arg0)  | 
int | 
getSheetIndex(org.apache.poi.ss.usermodel.Sheet arg0)  | 
int | 
getSheetIndex(String arg0)  | 
String | 
getSheetName(int arg0)  | 
boolean | 
isHidden()  | 
boolean | 
isSheetHidden(int arg0)  | 
boolean | 
isSheetVeryHidden(int arg0)  | 
void | 
removeName(int arg0)  | 
void | 
removeName(String arg0)  | 
void | 
removePrintArea(int arg0)  | 
void | 
removeSheetAt(int arg0)  | 
void | 
setActiveSheet(int arg0)  | 
void | 
setFirstVisibleTab(int arg0)  | 
void | 
setForceFormulaRecalculation(boolean arg0)  | 
void | 
setHidden(boolean arg0)  | 
void | 
setMissingCellPolicy(org.apache.poi.ss.usermodel.Row.MissingCellPolicy arg0)  | 
void | 
setPrintArea(int arg0,
            int arg1,
            int arg2,
            int arg3,
            int arg4)  | 
void | 
setPrintArea(int arg0,
            String arg1)  | 
void | 
setRepeatingRowsAndColumns(int arg0,
                          int arg1,
                          int arg2,
                          int arg3,
                          int arg4)  | 
void | 
setSelectedTab(int arg0)  | 
void | 
setSheetHidden(int arg0,
              boolean arg1)  | 
void | 
setSheetHidden(int arg0,
              int arg1)  | 
void | 
setSheetName(int arg0,
            String arg1)  | 
void | 
setSheetOrder(String arg0,
             int arg1)  | 
String | 
toString()  | 
void | 
write(OutputStream arg0)  | 
public CSVWorkbook(File F, String separator, int idColumnCount) throws IOException, WrongFormat
F - - The file to read from.separator - the separator used in the WorkbookidColumnCount - how many ID columns there areIOException - if something goes wrong during IOWrongFormat - if the format of the workbook is not proper CSVpublic int addPicture(byte[] arg0,
                      int arg1)
addPicture in interface org.apache.poi.ss.usermodel.Workbookpublic void addToolPack(org.apache.poi.ss.formula.udf.UDFFinder arg0)
addToolPack in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet cloneSheet(int arg0)
cloneSheet in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.CellStyle createCellStyle()
createCellStyle in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.DataFormat createDataFormat()
createDataFormat in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font createFont()
createFont in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Name createName()
createName in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet createSheet()
createSheet in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet createSheet(String arg0)
createSheet in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font findFont(short arg0,
                                                 short arg1,
                                                 short arg2,
                                                 String arg3,
                                                 boolean arg4,
                                                 boolean arg5,
                                                 short arg6,
                                                 byte arg7)
findFont in interface org.apache.poi.ss.usermodel.Workbookpublic int getActiveSheetIndex()
getActiveSheetIndex in interface org.apache.poi.ss.usermodel.Workbookpublic List<? extends org.apache.poi.ss.usermodel.PictureData> getAllPictures()
getAllPictures in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.CreationHelper getCreationHelper()
getCreationHelper in interface org.apache.poi.ss.usermodel.Workbookpublic int getFirstVisibleTab()
getFirstVisibleTab in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font getFontAt(short arg0)
getFontAt in interface org.apache.poi.ss.usermodel.Workbookpublic boolean getForceFormulaRecalculation()
getForceFormulaRecalculation in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Row.MissingCellPolicy getMissingCellPolicy()
getMissingCellPolicy in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Name getName(String arg0)
getName in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Name getNameAt(int arg0)
getNameAt in interface org.apache.poi.ss.usermodel.Workbookpublic int getNameIndex(String arg0)
getNameIndex in interface org.apache.poi.ss.usermodel.Workbookpublic short getNumberOfFonts()
getNumberOfFonts in interface org.apache.poi.ss.usermodel.Workbookpublic int getNumberOfNames()
getNumberOfNames in interface org.apache.poi.ss.usermodel.Workbookpublic int getNumberOfSheets()
getNumberOfSheets in interface org.apache.poi.ss.usermodel.Workbookpublic String getPrintArea(int arg0)
getPrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet getSheet(String arg0)
getSheet in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet getSheetAt(int arg0)
getSheetAt in interface org.apache.poi.ss.usermodel.Workbookpublic int getSheetIndex(String arg0)
getSheetIndex in interface org.apache.poi.ss.usermodel.Workbookpublic int getSheetIndex(org.apache.poi.ss.usermodel.Sheet arg0)
getSheetIndex in interface org.apache.poi.ss.usermodel.Workbookpublic String getSheetName(int arg0)
getSheetName in interface org.apache.poi.ss.usermodel.Workbookpublic boolean isHidden()
isHidden in interface org.apache.poi.ss.usermodel.Workbookpublic boolean isSheetHidden(int arg0)
isSheetHidden in interface org.apache.poi.ss.usermodel.Workbookpublic boolean isSheetVeryHidden(int arg0)
isSheetVeryHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void removeName(int arg0)
removeName in interface org.apache.poi.ss.usermodel.Workbookpublic void removeName(String arg0)
removeName in interface org.apache.poi.ss.usermodel.Workbookpublic void removePrintArea(int arg0)
removePrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic void removeSheetAt(int arg0)
removeSheetAt in interface org.apache.poi.ss.usermodel.Workbookpublic void setActiveSheet(int arg0)
setActiveSheet in interface org.apache.poi.ss.usermodel.Workbookpublic void setFirstVisibleTab(int arg0)
setFirstVisibleTab in interface org.apache.poi.ss.usermodel.Workbookpublic void setForceFormulaRecalculation(boolean arg0)
setForceFormulaRecalculation in interface org.apache.poi.ss.usermodel.Workbookpublic void setHidden(boolean arg0)
setHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void setMissingCellPolicy(org.apache.poi.ss.usermodel.Row.MissingCellPolicy arg0)
setMissingCellPolicy in interface org.apache.poi.ss.usermodel.Workbookpublic void setPrintArea(int arg0,
                         String arg1)
setPrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic void setPrintArea(int arg0,
                         int arg1,
                         int arg2,
                         int arg3,
                         int arg4)
setPrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic void setRepeatingRowsAndColumns(int arg0,
                                       int arg1,
                                       int arg2,
                                       int arg3,
                                       int arg4)
setRepeatingRowsAndColumns in interface org.apache.poi.ss.usermodel.Workbookpublic void setSelectedTab(int arg0)
setSelectedTab in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetHidden(int arg0,
                           boolean arg1)
setSheetHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetHidden(int arg0,
                           int arg1)
setSheetHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetName(int arg0,
                         String arg1)
setSheetName in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetOrder(String arg0, int arg1)
setSheetOrder in interface org.apache.poi.ss.usermodel.Workbookpublic void write(OutputStream arg0) throws IOException
write in interface org.apache.poi.ss.usermodel.WorkbookIOExceptionpublic org.apache.poi.ss.usermodel.CellStyle getCellStyleAt(short arg0)
getCellStyleAt in interface org.apache.poi.ss.usermodel.Workbookpublic short getNumCellStyles()
getNumCellStyles in interface org.apache.poi.ss.usermodel.WorkbookCopyright © 2018. All rights reserved.