EGSimpleTableCreator Class Reference
List of all members.
|
Public Member Functions |
| | EGSimpleTableCreator (File file) throws IOException |
| String | html () |
Protected Attributes |
| final Logger | log = Logger.getLogger(EGSimpleTableParser.class) |
Static Package Functions |
| | [static initializer] |
Private Member Functions |
| void | appendAttribute (String attribute, Object value) |
| void | appendCell (HSSFCell cell) |
| void | appendCellStyle (HSSFCellStyle cellStyle, short i) |
| void | appendColorForKey (Object object, String key) |
| void | appendDataFormatForKey (Object object, String key) |
| void | appendFont (HSSFFont font, short i) |
| void | appendRow (HSSFRow row) |
| void | appendSheet (HSSFSheet sheet, String name) |
| void | appendValueForKey (Object object, String key) |
| void | appendValueForKeyWithMapping (Object object, String key, NSDictionary mapping) |
| void | appendWorkbook () |
Static Private Member Functions |
| static NSDictionary | dictionaryFromClassConstantDefinition (Class clazz, NSDictionary definition) |
| static NSDictionary | dictionaryFromClassConstants (Class clazz, NSArray constants) |
Private Attributes |
| StringBuffer | _html |
| HSSFWorkbook | _workbook |
Static Private Attributes |
| static NSDictionary | _cellDef |
| static NSDictionary | _fontDef |
| static NSDictionary | _styleDef |
Detailed Description
Dumps a workbook into the "HTML" needed to re-create it by the
EGSimpleTableParser. Uses the property list
Codes.plist to re-create the needed class constant dictionary, so the output uses
ALING_GENERAL instead of
0.
- Author:
- ak
Constructor & Destructor Documentation
Member Function Documentation
| [static initializer] |
( |
|
) |
[static, package] |
| void appendAttribute |
( |
String |
attribute, |
|
|
Object |
value | |
|
) |
| | [private] |
| void appendCell |
( |
HSSFCell |
cell |
) |
[private] |
| void appendCellStyle |
( |
HSSFCellStyle |
cellStyle, |
|
|
short |
i | |
|
) |
| | [private] |
| void appendColorForKey |
( |
Object |
object, |
|
|
String |
key | |
|
) |
| | [private] |
| void appendDataFormatForKey |
( |
Object |
object, |
|
|
String |
key | |
|
) |
| | [private] |
| void appendFont |
( |
HSSFFont |
font, |
|
|
short |
i | |
|
) |
| | [private] |
| void appendRow |
( |
HSSFRow |
row |
) |
[private] |
| void appendSheet |
( |
HSSFSheet |
sheet, |
|
|
String |
name | |
|
) |
| | [private] |
| void appendValueForKey |
( |
Object |
object, |
|
|
String |
key | |
|
) |
| | [private] |
| void appendValueForKeyWithMapping |
( |
Object |
object, |
|
|
String |
key, |
|
|
NSDictionary |
mapping | |
|
) |
| | [private] |
| void appendWorkbook |
( |
|
) |
[private] |
| static NSDictionary dictionaryFromClassConstantDefinition |
( |
Class |
clazz, |
|
|
NSDictionary |
definition | |
|
) |
| | [static, private] |
| static NSDictionary dictionaryFromClassConstants |
( |
Class |
clazz, |
|
|
NSArray |
constants | |
|
) |
| | [static, private] |
Member Data Documentation
StringBuffer _html [private] |
final Logger log = Logger.getLogger(EGSimpleTableParser.class) [protected] |
The documentation for this class was generated from the following file: