|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectolg.csv.bean.getter.AbstractGetter
olg.csv.bean.getter.impl.DefaultGetter
public final class DefaultGetter
Default getter based on extract cell from a row.
| Field Summary | |
|---|---|
private int |
rang
the cell num. |
| Constructor Summary | |
|---|---|
DefaultGetter(String rang)
Constructor with cell rank in argument. |
|
| Method Summary | |
|---|---|
protected String |
doGet(Row line)
Extracts the target cell value from the given row. |
int |
getRang()
Returns the rank of the target cell. |
void |
setRang(int rang)
Sets the rank of the target cell. |
| Methods inherited from class olg.csv.bean.getter.AbstractGetter |
|---|
get, getConcate, getConstant, getDefault, getDefaultValue, getFilter, setDefaultValue, setFilter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int rang
| Constructor Detail |
|---|
public DefaultGetter(String rang)
rang - a non negative integer or a string in Sheet cell number format
(as C, AB ,... )| Method Detail |
|---|
public int getRang()
public void setRang(int rang)
rang - the cell num. Must not be greater or equals 0.protected String doGet(Row line)
doGet in class AbstractGetterline - the row from which get the string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||