- java.lang.Object
-
- swim.csv.structure.CsvStructure
-
public final class CsvStructure extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CsvStructureHeader
array(CsvCol<? extends Item> col)
static CsvStructureHeader
array(CsvCol<? extends Item> col, int colCount)
static CsvStructureHeader
header()
static CsvStructureHeader
header(CsvStructureCol... cols)
static CsvStructureCol
nullCol()
static CsvStructureCol
nullCol(String key)
static CsvStructureCol
nullCol(Value key)
static CsvStructureCol
numberCol()
static CsvStructureCol
numberCol(String key)
static CsvStructureCol
numberCol(Value key)
static CsvStructureCol
parsedCol(String key, Parser<? extends Item> itemParser)
static CsvStructureCol
parsedCol(Parser<? extends Item> itemParser)
static CsvStructureCol
parsedCol(Value key, Parser<? extends Item> itemParser)
static CsvStructureCol
stringCol()
static CsvStructureCol
stringCol(String key)
static CsvStructureCol
stringCol(Value key)
-
-
-
Method Detail
-
header
public static CsvStructureHeader header(CsvStructureCol... cols)
-
header
public static CsvStructureHeader header()
-
array
public static CsvStructureHeader array(CsvCol<? extends Item> col, int colCount)
-
array
public static CsvStructureHeader array(CsvCol<? extends Item> col)
-
stringCol
public static CsvStructureCol stringCol(Value key)
-
stringCol
public static CsvStructureCol stringCol(String key)
-
stringCol
public static CsvStructureCol stringCol()
-
numberCol
public static CsvStructureCol numberCol(Value key)
-
numberCol
public static CsvStructureCol numberCol(String key)
-
numberCol
public static CsvStructureCol numberCol()
-
nullCol
public static CsvStructureCol nullCol(Value key)
-
nullCol
public static CsvStructureCol nullCol(String key)
-
nullCol
public static CsvStructureCol nullCol()
-
parsedCol
public static CsvStructureCol parsedCol(Value key, Parser<? extends Item> itemParser)
-
parsedCol
public static CsvStructureCol parsedCol(String key, Parser<? extends Item> itemParser)
-
parsedCol
public static CsvStructureCol parsedCol(Parser<? extends Item> itemParser)
-
-