|
LPEX 4.2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.lpex.samples.HtmlSource
public class HtmlSource
Sample windowless use of the LPEX widget / command html - generate HTML listing. This utility generates the HTML listing of a file. See also the saveAsHtml editor command.
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.html com.ibm.lpex.samples.HtmlSource
html inputFile [outputFile]
All the samples| 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)
args - the input, and optionally output, file names
public boolean doCommand(LpexView lpexView,
String parameters)
doCommand in interface LpexCommandlpexView - the document view in which the command was issuedparameters - the input, and optionally output, file names
|
LPEX 4.2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||