Constructor and Description |
---|
CSVRow(CSVSheet sheet)
Basic constructor with the enclosing sheet.
|
Modifier and Type | Method and Description |
---|---|
void |
addCell(boolean numeric,
String value)
Add a Cell with a specified value.
|
Iterator<org.apache.poi.ss.usermodel.Cell> |
cellIterator() |
org.apache.poi.ss.usermodel.Cell |
createCell(int arg0) |
org.apache.poi.ss.usermodel.Cell |
createCell(int arg0,
int arg1) |
org.apache.poi.ss.usermodel.Cell |
getCell(int arg0) |
org.apache.poi.ss.usermodel.Cell |
getCell(int arg0,
org.apache.poi.ss.usermodel.Row.MissingCellPolicy arg1) |
int |
getColumnNumber(org.apache.poi.ss.usermodel.Cell cell)
Get the Column number of a specific cell.
|
short |
getFirstCellNum() |
short |
getHeight() |
float |
getHeightInPoints() |
short |
getLastCellNum() |
int |
getPhysicalNumberOfCells() |
int |
getRowNum() |
org.apache.poi.ss.usermodel.CellStyle |
getRowStyle() |
org.apache.poi.ss.usermodel.Sheet |
getSheet() |
boolean |
getZeroHeight() |
boolean |
isFormatted() |
Iterator<org.apache.poi.ss.usermodel.Cell> |
iterator() |
void |
removeCell(org.apache.poi.ss.usermodel.Cell arg0) |
void |
setHeight(short arg0) |
void |
setHeightInPoints(float arg0) |
void |
setRowNum(int arg0) |
void |
setRowStyle(org.apache.poi.ss.usermodel.CellStyle arg0) |
void |
setZeroHeight(boolean arg0) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public CSVRow(CSVSheet sheet)
sheet
- the Sheet containing this rowpublic void addCell(boolean numeric, String value)
numeric
- whether the added cell is numericvalue
- the value of the cellpublic int getColumnNumber(org.apache.poi.ss.usermodel.Cell cell)
cell
- the cell to get the column forpublic Iterator<org.apache.poi.ss.usermodel.Cell> iterator()
public Iterator<org.apache.poi.ss.usermodel.Cell> cellIterator()
cellIterator
in interface org.apache.poi.ss.usermodel.Row
public org.apache.poi.ss.usermodel.Cell createCell(int arg0)
createCell
in interface org.apache.poi.ss.usermodel.Row
public org.apache.poi.ss.usermodel.Cell createCell(int arg0, int arg1)
createCell
in interface org.apache.poi.ss.usermodel.Row
public org.apache.poi.ss.usermodel.Cell getCell(int arg0)
getCell
in interface org.apache.poi.ss.usermodel.Row
public org.apache.poi.ss.usermodel.Cell getCell(int arg0, org.apache.poi.ss.usermodel.Row.MissingCellPolicy arg1)
getCell
in interface org.apache.poi.ss.usermodel.Row
public short getFirstCellNum()
getFirstCellNum
in interface org.apache.poi.ss.usermodel.Row
public short getHeight()
getHeight
in interface org.apache.poi.ss.usermodel.Row
public float getHeightInPoints()
getHeightInPoints
in interface org.apache.poi.ss.usermodel.Row
public short getLastCellNum()
getLastCellNum
in interface org.apache.poi.ss.usermodel.Row
public int getPhysicalNumberOfCells()
getPhysicalNumberOfCells
in interface org.apache.poi.ss.usermodel.Row
public int getRowNum()
getRowNum
in interface org.apache.poi.ss.usermodel.Row
public org.apache.poi.ss.usermodel.CellStyle getRowStyle()
getRowStyle
in interface org.apache.poi.ss.usermodel.Row
public org.apache.poi.ss.usermodel.Sheet getSheet()
getSheet
in interface org.apache.poi.ss.usermodel.Row
public boolean getZeroHeight()
getZeroHeight
in interface org.apache.poi.ss.usermodel.Row
public boolean isFormatted()
isFormatted
in interface org.apache.poi.ss.usermodel.Row
public void removeCell(org.apache.poi.ss.usermodel.Cell arg0)
removeCell
in interface org.apache.poi.ss.usermodel.Row
public void setHeight(short arg0)
setHeight
in interface org.apache.poi.ss.usermodel.Row
public void setHeightInPoints(float arg0)
setHeightInPoints
in interface org.apache.poi.ss.usermodel.Row
public void setRowNum(int arg0)
setRowNum
in interface org.apache.poi.ss.usermodel.Row
public void setRowStyle(org.apache.poi.ss.usermodel.CellStyle arg0)
setRowStyle
in interface org.apache.poi.ss.usermodel.Row
public void setZeroHeight(boolean arg0)
setZeroHeight
in interface org.apache.poi.ss.usermodel.Row
Copyright © 2018. All rights reserved.