nesstar.util
Class TestHTMLViewer

java.lang.Object
  extended by nesstar.util.TestHTMLViewer
All Implemented Interfaces:
HTMLViewer

public class TestHTMLViewer
extends Object
implements HTMLViewer

A Test HTMLViewer

Created:
28 August 2003
Bug:
it can not handle multiple challenges

Constructor Summary
TestHTMLViewer()
           
 
Method Summary
static void clear()
           
static void clearSequence()
           
static void dbg(String msg)
           
static Vector getSequence()
           
 void notify(String challenge)
           
static void setCancel(boolean b)
           
 void setPage(MIMEObject content)
          Display the MIME type in the viewer.
 void setPage(URL url)
          Display the url in the viewer.
static void setProject(int pn)
           
static void setRole(int rn)
           
static void setUser(String name, String pwd)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHTMLViewer

public TestHTMLViewer()
Method Detail

dbg

public static void dbg(String msg)

setPage

public void setPage(URL url)
             throws Exception
Display the url in the viewer.

Specified by:
setPage in interface HTMLViewer
Parameters:
url - the url to display
Throws:
Exception

setPage

public void setPage(MIMEObject content)
             throws Exception
Display the MIME type in the viewer.

Specified by:
setPage in interface HTMLViewer
Parameters:
content - The new page value
Throws:
Exception

getSequence

public static Vector getSequence()

clearSequence

public static void clearSequence()

notify

public void notify(String challenge)

setUser

public static void setUser(String name,
                           String pwd)

setProject

public static void setProject(int pn)

setRole

public static void setRole(int rn)

setCancel

public static void setCancel(boolean b)

clear

public static void clear()

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved