|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.util.SpreadsheetFactory
public class SpreadsheetFactory
The SpreadsheetFactory class gathers the necessary information for creating the spreadsheet file.
| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
| Constructor Summary | |
|---|---|
SpreadsheetFactory(String tableCompName,
String filetype,
com.ibm.hats.common.Application app,
HostScreen screen,
ContextAttributes contextAttributes)
|
|
| Method Summary | |
|---|---|
static void |
doSymSwap(StringBuffer s)
|
String |
getColumnBreak()
|
static String |
reverseText(String text)
|
void |
setColumnBreak(String columnBreak)
|
void |
setExcludedRowCol(String excludedRows,
String excludedCols)
|
void |
setHeaderColumns(String[] headerColumns)
Set the header data |
void |
setIncludeEmptyRows(boolean includeEmptyRows)
|
void |
setIncludeEmptyRows(String includeEmptyRows)
|
void |
setminRowCol(int minRows,
int minCols)
Set the minimum rows and columns. |
void |
setminRowCol(String minRows,
String minCols)
|
void |
setNumberOfTitleRows(int rows)
Set the number of title row |
void |
setPreviousLineHeader(boolean previouslineheader)
|
void |
setPreviousLineHeader(String previouslineheader)
|
void |
setRegion(BlockScreenRegion region)
|
void |
setTableIndex(int index)
|
void |
setTableIndex(String index)
|
ISpreadsheetContent |
spreadsheetCreator()
Return the ISpreadsheetContent object by the factory information. |
ISpreadsheetContent |
spreadsheetCreator(boolean ltrOrientation,
boolean dirText)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLASS_NAME
| Constructor Detail |
|---|
public SpreadsheetFactory(String tableCompName,
String filetype,
com.ibm.hats.common.Application app,
HostScreen screen,
ContextAttributes contextAttributes)
tableCompName - table componment namfiletype - indicate the generated file type. Current provide csv (ascii) and xls (binary) files.app - HATS project objectscreen - the current screen for recognizing and extracting the datacontextAttributes - the conditions for recognizing the table| Method Detail |
|---|
public void setRegion(BlockScreenRegion region)
public ISpreadsheetContent spreadsheetCreator()
ISpreadsheetContent
public ISpreadsheetContent spreadsheetCreator(boolean ltrOrientation,
boolean dirText)
public String getColumnBreak()
public void setColumnBreak(String columnBreak)
columnBreak - The columnBreak to set.public void setIncludeEmptyRows(String includeEmptyRows)
includeEmptyRows - The includeEmptyRows to set.public void setIncludeEmptyRows(boolean includeEmptyRows)
includeEmptyRows - The includeEmptyRows to set.
public void setExcludedRowCol(String excludedRows,
String excludedCols)
excludedRows - The excludedRows to setexcludedCols - The excludedCols to setpublic void setPreviousLineHeader(String previouslineheader)
previouslineheader - The PreviousLineHeader to set.public void setPreviousLineHeader(boolean previouslineheader)
previouslineheader - The PreviousLineHeader to set.public void setTableIndex(String index)
index - The tableIndex to set.public void setTableIndex(int index)
index - The tableIndex to set.
public void setminRowCol(String minRows,
String minCols)
minRows - The minimun rows to set.minCols - The minimun columns to set.
public void setminRowCol(int minRows,
int minCols)
minRows - The minimum rows to set.minCols - The minimum columns to set.public void setHeaderColumns(String[] headerColumns)
headerColumns - the header data.public void setNumberOfTitleRows(int rows)
rows - The number of title row to setpublic static String reverseText(String text)
public static void doSymSwap(StringBuffer s)
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||