Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

com.ibm.lpex.samples
Class HtmlSource

java.lang.Object
  extended bycom.ibm.lpex.samples.HtmlSource

All Implemented Interfaces:
LpexCommand


public class HtmlSource
extends Object
implements LpexCommand

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:

See Also:
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

 

 

HtmlSource

public HtmlSource()

Method Detail

 

 

main

public static void main(String[] args)

Entry point when running this utility from the system prompt.


 

 

doCommand

public boolean doCommand(LpexView lpexView,
                         String parameters)

Entry point when running this utility as an editor command.

Specified by:
doCommand in interface LpexCommand

Parameters:
lpexView - the document view in which the command was issued
parameters - the command parameters


 

Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD