bad.robot.excel.row
Class DefaultRowBuilder

java.lang.Object
  extended by bad.robot.excel.row.DefaultRowBuilder
All Implemented Interfaces:
RowBuilder

public class DefaultRowBuilder
extends Object
implements RowBuilder


Method Summary
static RowBuilder aRow()
           
 Row build()
           
 RowBuilder withBlank(ColumnIndex index)
           
 RowBuilder withDate(ColumnIndex index, Date date)
           
 RowBuilder withDouble(ColumnIndex index, Double value)
           
 RowBuilder withFormula(ColumnIndex index, String formula)
           
 RowBuilder withInteger(ColumnIndex index, Integer value)
           
 RowBuilder withString(ColumnIndex index, String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

aRow

public static RowBuilder aRow()

withBlank

public RowBuilder withBlank(ColumnIndex index)
Specified by:
withBlank in interface RowBuilder

withString

public RowBuilder withString(ColumnIndex index,
                             String text)
Specified by:
withString in interface RowBuilder

withDouble

public RowBuilder withDouble(ColumnIndex index,
                             Double value)
Specified by:
withDouble in interface RowBuilder

withInteger

public RowBuilder withInteger(ColumnIndex index,
                              Integer value)
Specified by:
withInteger in interface RowBuilder

withDate

public RowBuilder withDate(ColumnIndex index,
                           Date date)
Specified by:
withDate in interface RowBuilder

withFormula

public RowBuilder withFormula(ColumnIndex index,
                              String formula)
Specified by:
withFormula in interface RowBuilder

build

public Row build()
Specified by:
build in interface RowBuilder


Copyright © 2013. All Rights Reserved.