|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The Api is basic class for the using the program interface in the PPSee general templates and BSH script.
The instance of the class is available by variable api.
Sample: api.getAuthor()
// the expression returns a name of the current album author.
| Field Summary | |
static java.lang.String |
DOCTYPE_401_STRICT
Standard doctype HTML 4.01 Strict. |
static java.lang.String |
DOCTYPE_401_TRANS
Standard doctype HTML 4.01 Transitional. |
static java.lang.String |
DOCTYPE_X10_STRICT
Standard doctype XHTML 1.0 Strict. |
static java.lang.String |
DOCTYPE_X10_TRANS
Standard doctype XHTML 1.0 Transitional. |
static java.lang.String |
NO
A sign for an invalid string. |
| Method Summary | |
Note |
formatHedader(java.util.Date date)
Formats the date for index header. |
java.lang.String |
formatMark(java.util.Date date)
Formats the date as Mark. |
Note |
formatPicture(java.util.Date date)
Formats the date for for Picture. |
java.lang.String |
getApplName()
Returns PPSee name |
java.lang.String |
getApplVersion()
PPSee version |
java.lang.Object |
getContext()
Returns a context. |
Note |
getDirDescription()
Returns a Descripton of the current directory |
Note |
getDirTitle()
Returns a title of the current directory |
java.lang.String |
getDoctype(java.lang.String doctype)
Returns a HTML doctype and a XML specification (in case, the specification is required). |
java.lang.String |
getHtmlText(Note aNote)
Deprecated. |
java.lang.String |
getCharset()
Returns a charset. |
java.lang.String |
getLang()
Get the current language. |
java.util.Locale |
getLocale()
Returns the user selected Language Locale. |
Note |
getPoweredBy()
Returns the language text "Powered by PPSee" include a HTML tags. |
Note |
getPoweredByText()
Returns the unformatted language text "Powered by PPSee". |
java.io.File |
getSourceDirectory()
Returns the current directory. |
void |
log(java.lang.Object message,
java.lang.Throwable exception)
Print the Message with an Exception to standard output. |
java.lang.String |
toHtml(java.lang.String text)
Convert the special character to HTML format. |
| Field Detail |
public static final java.lang.String NO
public static final java.lang.String DOCTYPE_401_STRICT
public static final java.lang.String DOCTYPE_401_TRANS
public static final java.lang.String DOCTYPE_X10_STRICT
public static final java.lang.String DOCTYPE_X10_TRANS
| Method Detail |
public java.io.File getSourceDirectory()
public Note getDirTitle()
public Note getDirDescription()
public java.lang.String toHtml(java.lang.String text)
public java.util.Locale getLocale()
public java.lang.String getLang()
public void log(java.lang.Object message,
java.lang.Throwable exception)
public java.lang.Object getContext()
public java.lang.String getCharset()
public Note formatHedader(java.util.Date date)
public Note formatPicture(java.util.Date date)
public java.lang.String formatMark(java.util.Date date)
public java.lang.String getApplVersion()
public java.lang.String getApplName()
public java.lang.String getHtmlText(Note aNote)
public Note getPoweredByText()
public Note getPoweredBy()
public java.lang.String getDoctype(java.lang.String doctype)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||