org.apache.commons.csv.writer
Class CSVField
java.lang.Object
org.apache.commons.csv.writer.CSVField
public class CSVField
extends java.lang.Object
overrideFill
private boolean overrideFill
CSVField
public CSVField()
CSVField
public CSVField(String name)
name
- the name of the field
CSVField
public CSVField(String name,
int size)
name
- the name of the fieldsize
- the size of the field
getFill
public int getFill()
getName
public String getName()
getSize
public int getSize()
overrideFill
public boolean overrideFill()
Does this field override fill ?
setFill
public void setFill(int fill)
Sets overrideFill to true.
setName
public void setName(String name)
Set the name of the field
setSize
public void setSize(int size)
Set the size of the field.
The size will be ignored when fixedwidth is set to false in the CSVConfig
size
- the size of the field.