Package org.swat.excel.utils
Class NamedSectionSheet.Section
- java.lang.Object
-
- org.swat.excel.utils.NamedSectionSheet.Section
-
- Enclosing class:
- NamedSectionSheet
public class NamedSectionSheet.Section extends Object
The type Section.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classNamedSectionSheet.Section.NamedRowNames row, where cell value can be fetched using Header Names.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumnIfAbsent(String name)Add column if absent.intgetEnd()Gets end.Set<String>getHeaders()Gets headers.StringgetName()Gets name.NamedSectionSheet.Section.NamedRowgetRow(int index)Get the row at specified indexintgetStart()Gets start.Iterator<NamedSectionSheet.Section.NamedRow>iterator()Iterator iterator.StringtoString()
-
-
-
Method Detail
-
addColumnIfAbsent
public void addColumnIfAbsent(String name)
Add column if absent.- Parameters:
name- the name
-
getRow
public NamedSectionSheet.Section.NamedRow getRow(int index)
Get the row at specified index- Parameters:
index- The index- Returns:
- The Row
-
getStart
public int getStart()
Gets start.- Returns:
- the start
-
getEnd
public int getEnd()
Gets end.- Returns:
- the end
-
getName
public String getName()
Gets name.- Returns:
- the name
-
iterator
public Iterator<NamedSectionSheet.Section.NamedRow> iterator()
Iterator iterator.- Returns:
- the iterator
-
-