|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CreationHelper
An object that handles instantiating concrete classes of the various instances one needs for HSSF and XSSF. Works around a major shortcoming in Java, where we can't have static methods on interfaces or abstract classes. This allows you to get the appropriate class for a given interface, without you having to worry about if you're dealing with HSSF or XSSF, despite Java being quite rubbish.
Method Summary | |
---|---|
HSSFClientAnchor |
createClientAnchor()
|
HSSFDataFormat |
createDataFormat()
Creates a new DataFormat instance |
HSSFFormulaEvaluator |
createFormulaEvaluator()
Creates FormulaEvaluator - an object that evaluates formula cells. |
HSSFHyperlink |
createHyperlink(int type)
Creates a new Hyperlink, of the given type |
HSSFRichTextString |
createRichTextString(java.lang.String text)
Creates a new RichTextString instance |
Method Detail |
---|
HSSFRichTextString createRichTextString(java.lang.String text)
text
- The text to initialise the RichTextString withHSSFDataFormat createDataFormat()
HSSFHyperlink createHyperlink(int type)
HSSFFormulaEvaluator createFormulaEvaluator()
HSSFClientAnchor createClientAnchor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |