|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.lens.AbstractTableLens
inetsoft.report.lens.AttributeTableLens
inetsoft.report.lens.TextTableLens
public class TextTableLens
The TextTableLens is an interface to present delimited text stream as a table. It extends the AttributeTableLens so the attributes of the table can be controlled by the users.
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.lens.AttributeTableLens |
|---|
alignmap, attritable, backgroundmap, cache, check, colborderCmap, colbordermap, fontmap, foregroundmap, insetsmap, linkmap, presentermap, rowborderCmap, rowbordermap, table, wrapmap |
| Fields inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
descriptor, isLeftAlign |
| Fields inherited from interface inetsoft.report.TableLens |
|---|
BREAK_BORDER, NULL |
| Fields inherited from interface inetsoft.uql.XTable |
|---|
EOT |
| Constructor Summary | |
|---|---|
TextTableLens(InputStream data)
Create a table lens from a tab delimited text stream. |
|
TextTableLens(InputStream data,
String delim)
Create a table lens from a delimited text stream. |
|
TextTableLens(InputStream data,
String delim,
int[] cols)
Create a table lens from a delimited text stream. |
|
TextTableLens(InputStream data,
String delim,
int[] cols,
Format[] fmts)
Create a table lens from a delimited text stream. |
|
TextTableLens(Reader reader,
String delim,
int[] cols,
Format[] fmts)
Create a table lens from a delimited text stream. |
|
| Method Summary | |
|---|---|
void |
setHeaderColCount(int hcol)
Set the number of header columns. |
void |
setHeaderRowCount(int hrow)
Set the number of header rows. |
void |
setTrailerColCount(int tcol)
Set the number of tail columns. |
void |
setTrailerRowCount(int trow)
Set the number of tail rows. |
| Methods inherited from class inetsoft.report.lens.AbstractTableLens |
|---|
addChangeListener, containsDrill, containsFormat, findColumnByIdentifier, fireChangeEvent, getBoolean, getByte, getDefaultFormat, getDouble, getFloat, getInt, getLong, getShort, getXDrillInfo, isNull, isPrimitive, removeChangeListener, setColumnIdentifier, setLeftAlign, setLocal |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.report.TableLens |
|---|
addChangeListener, containsDrill, containsFormat, getDefaultFormat, getXDrillInfo, removeChangeListener |
| Methods inherited from interface inetsoft.uql.XTable |
|---|
getBoolean, getByte, getDouble, getFloat, getInt, getLong, getShort, isNull, isPrimitive, setColumnIdentifier |
| Constructor Detail |
|---|
public TextTableLens(InputStream data)
throws IOException
data - stream.
IOException
public TextTableLens(InputStream data,
String delim)
throws IOException
data - stream.delim - delimiter
IOException
public TextTableLens(InputStream data,
String delim,
int[] cols)
throws IOException
data - stream.delim - delimitercols - columns to extract from the data
IOException
public TextTableLens(InputStream data,
String delim,
int[] cols,
Format[] fmts)
throws IOException
data - stream.delim - delimitercols - columns to extract from the datafmts - Format objects to convert string to object.
IOException
public TextTableLens(Reader reader,
String delim,
int[] cols,
Format[] fmts)
throws IOException
reader - data stream.delim - delimitercols - columns to extract from the datafmts - Format objects to convert string to object.
IOException| Method Detail |
|---|
public void setHeaderRowCount(int hrow)
setHeaderRowCount in class AttributeTableLenshrow - header rows.public void setHeaderColCount(int hcol)
setHeaderColCount in class AttributeTableLenshcol - header columns.public void setTrailerRowCount(int trow)
setTrailerRowCount in class AttributeTableLenstrow - tail rows.public void setTrailerColCount(int tcol)
setTrailerColCount in class AttributeTableLenstcol - tail columns.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||