Package com.day.cq.wcm.foundation
Class Table
java.lang.Object
com.day.cq.wcm.foundation.Table
Implements a very basic table parser.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classclassclassstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static Tablestatic Tablestatic Tablestatic TablegetCell(int row, int col, boolean create) getColumn(int nr) double[][]double[][]getDoubleData(int rowStart, int numRows, int colStart, int numCols) int[][]int[][]getIntData(int rowStart, int numRows, int colStart, int numCols) intintgetRow(int nr) getRows()setAttribute(String name, String value) setCaption(String text) voidsetSize(int numRows, int numCols) void
-
Constructor Details
-
Table
public Table()
-
-
Method Details
-
getColTags
-
getAttributes
-
setAttribute
-
getCaption
-
setCaption
-
getCell
-
getIntData
public int[][] getIntData(int rowStart, int numRows, int colStart, int numCols) -
getIntData
public int[][] getIntData() -
getDoubleData
public double[][] getDoubleData(int rowStart, int numRows, int colStart, int numCols) -
getDoubleData
public double[][] getDoubleData() -
setSize
public void setSize(int numRows, int numCols) -
getRows
-
getColumns
-
getRow
-
getColumn
-
getNumCols
public int getNumCols() -
getNumRows
public int getNumRows() -
clear
public void clear() -
fromXML
-
fromXML
- Throws:
IOException
-
fromCSV
-
fromCSV
-
toHtml
- Throws:
IOException
-