|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.HtmlSource
Sample windowless use of the LPEX widget, command htmlSource - generate HTML listing. This utility generates the HTML listing of a file.
Here is the HtmlSource source code (listing created with HtmlSource itself).
To run this sample:
java com.ibm.lpex.samples.HtmlSource inputFile [outputFile]The class implements LpexCommand, so it can also be run from the command line:
set commandClass.htmlSource com.ibm.lpex.samples.HtmlSource
htmlSource inputFile [outputFile]
Constructor Summary | |
---|---|
HtmlSource()
|
Method Summary | |
---|---|
boolean | doCommand(LpexView lpexView,
String parameters)
Entry point when running this utility as an editor command. |
static void | main(String[] args)
Entry point when running this utility from the system prompt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlSource()
Method Detail |
public static void main(String[] args)
public boolean doCommand(LpexView lpexView, String parameters)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |