Skip navigation links


com.essbase.eas.utils
Class HTMLDoc

java.lang.Object
  extended by com.essbase.eas.utils.HTMLDoc


public class HTMLDoc
extends java.lang.Object

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Field Summary
static int BOLD
           
static java.lang.String BR
           
static int CENTER
           
static int ITALICS
           
static int LEFT
           
static int RIGHT
           
static java.lang.String SPACE
           
static int UNDERLINE
           

 

Constructor Summary
HTMLDoc()
           
HTMLDoc(java.io.File file)
           
HTMLDoc(java.io.OutputStreamWriter redirect)
           
HTMLDoc(java.lang.String prefix)
           

 

Method Summary
 boolean addImageWithCID(java.lang.String cid)
           
 boolean addObject(java.lang.Object o)
           
static java.lang.String convertCR(java.lang.String text)
           
static java.lang.String convertSpace(java.lang.String text)
           
 void dispose()
           
 boolean end()
           
static java.lang.String getAlignment(int align)
           
static java.lang.String getAlignText(java.lang.String text, int align)
           
 java.lang.String getBody()
           
static java.lang.String getColorCode(java.awt.Color clr)
           
static java.lang.String getColorText(java.lang.String text, java.lang.String color)
           
 java.io.File getFile()
           
static java.lang.String getFontText(java.lang.String text, java.lang.String fontname)
           
static java.lang.String getFontText(java.lang.String text, java.lang.String fontname, java.lang.String size)
           
static java.lang.String getFontText(java.lang.String text, java.lang.String fontname, java.lang.String size, java.lang.String color)
           
static java.lang.String getHeading(int type, java.lang.String heading)
           
static java.lang.String getHeading(int type, java.lang.String heading, int align)
           
static java.lang.String getList(java.lang.Object[] o)
           
static java.lang.String getOrderedList(java.lang.Object[] o)
           
static java.lang.String getStyleText(java.lang.String text, int style)
           
 boolean setTitle(java.lang.String title)
           
 java.io.File toFile(java.lang.String prefix)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

CENTER

public static final int CENTER
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

BOLD

public static final int BOLD
See Also:
Constant Field Values

UNDERLINE

public static final int UNDERLINE
See Also:
Constant Field Values

ITALICS

public static final int ITALICS
See Also:
Constant Field Values

SPACE

public static final java.lang.String SPACE
See Also:
Constant Field Values

BR

public static final java.lang.String BR
See Also:
Constant Field Values

Constructor Detail

HTMLDoc

public HTMLDoc()

HTMLDoc

public HTMLDoc(java.lang.String prefix)
        throws java.io.IOException
Throws:
java.io.IOException

HTMLDoc

public HTMLDoc(java.io.File file)
        throws java.io.IOException
Throws:
java.io.IOException

HTMLDoc

public HTMLDoc(java.io.OutputStreamWriter redirect)

Method Detail

setTitle

public boolean setTitle(java.lang.String title)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBody

public java.lang.String getBody()

toFile

public java.io.File toFile(java.lang.String prefix)

addObject

public boolean addObject(java.lang.Object o)

getHeading

public static java.lang.String getHeading(int type,
                                          java.lang.String heading)

getHeading

public static java.lang.String getHeading(int type,
                                          java.lang.String heading,
                                          int align)

getAlignment

public static java.lang.String getAlignment(int align)

getAlignText

public static java.lang.String getAlignText(java.lang.String text,
                                            int align)

getStyleText

public static java.lang.String getStyleText(java.lang.String text,
                                            int style)

getOrderedList

public static java.lang.String getOrderedList(java.lang.Object[] o)

getList

public static java.lang.String getList(java.lang.Object[] o)

getColorText

public static java.lang.String getColorText(java.lang.String text,
                                            java.lang.String color)

getFontText

public static java.lang.String getFontText(java.lang.String text,
                                           java.lang.String fontname)

getFontText

public static java.lang.String getFontText(java.lang.String text,
                                           java.lang.String fontname,
                                           java.lang.String size)

getFontText

public static java.lang.String getFontText(java.lang.String text,
                                           java.lang.String fontname,
                                           java.lang.String size,
                                           java.lang.String color)

getColorCode

public static java.lang.String getColorCode(java.awt.Color clr)

convertCR

public static java.lang.String convertCR(java.lang.String text)

convertSpace

public static java.lang.String convertSpace(java.lang.String text)

addImageWithCID

public boolean addImageWithCID(java.lang.String cid)

end

public boolean end()

getFile

public java.io.File getFile()

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.