nesstar.client
Class Init

java.lang.Object
  extended by nesstar.client.Init

public class Init
extends Object

Inits routines the different kind of clients.

Created:
26 April 2002

Field Summary
static String DEMO
          param
static String EXPLORER_ID
           
static String JERRY
          param
static String ON_ACCESS_GRANTED_URL
          param
static String ON_ACCESS_REFUSED_URL
          param
static String TOM
          param
static String UKDADEV
          param
 
Constructor Summary
Init()
           
 
Method Summary
static void addDefaultMappings(RDFDB db)
          Adds a feature to the DefaultMappings attribute of the Init class
static void clientInit(String explorerClass, String searchOpClass, String exploreOpClass, boolean login)
           
static void clientInit(String explorerClass, String searchOpClass, String exploreOpClass, String trendOpClass, String cubeOpClass, boolean login)
           
static void explorerInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String htmlViewerClass, String catalogClass)
           
static void explorerInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String htmlViewerClass, String catalogClass, String searchOp, String exploreOp)
          Method
static void explorerInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String htmlViewerClass, String catalogClass, String searchOp, String exploreOp, String trendOp, String cubeOp)
          Method
static Explorer getExplorer()
          Gets the explorer attribute of the Init class
static RDFObj getExplorerObj()
          Gets the explorerObj attribute of the Init class
static String getExplorerProxy()
          Gets the explorerProxy attribute of the Init class
static File getLocalDB()
           
static void init(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String htmlViewerClass, String catalogClass, String explorerClass, String searchOp, String exploreOp)
          Method
static void lightInit()
           
static void loadLocalDB()
          Method
static void loadNSClass(NetDB db, String cls, boolean useCache)
          Load a Nesstar RDF description from cache
static void loadNSClass(String cls, boolean useCache)
          Method
static void loadNSClasses(NetDB db, boolean useCache)
          Method
static void mainInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, Class viewer)
           
static void objectBrowserInit()
          Method
static void plainInit()
           
static void protocolDBInit(NetDB db)
           
static void protocolDBInit(NetDB db, String catalogClass)
           
static void publisherInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String serverID, String htmlViewerClass, String catalogClass)
          Method
static void serviceInit()
           
static void testInit()
           
static void webDaisInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String htmlViewerClass, String catalogClass, String explorerClass, String searchOp, String exploreOp)
          init the webDaisClient
static void webDaisInit(String httpProxyHost, int httpProxyPort, String socksProxyHost, int socksProxyPort, String htmlViewerClass, String catalogClass, String explorerClass, String searchOp, String exploreOp, String trendOp, String cubeOp)
          init the webDaisClient
static void webInit()
          Method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEMO

public static String DEMO
param


TOM

public static String TOM
param


JERRY

public static String JERRY
param


UKDADEV

public static String UKDADEV
param


EXPLORER_ID

public static String EXPLORER_ID
Bug:
change this to official explorer server *

ON_ACCESS_GRANTED_URL

public static final String ON_ACCESS_GRANTED_URL
param

See Also:
Constant Field Values

ON_ACCESS_REFUSED_URL

public static final String ON_ACCESS_REFUSED_URL
param

See Also:
Constant Field Values
Constructor Detail

Init

public Init()
Method Detail

getLocalDB

public static File getLocalDB()
Returns:
the File obj corresponding to the local db file (created in user.home)

getExplorerObj

public static RDFObj getExplorerObj()
                             throws Exception
Gets the explorerObj attribute of the Init class

Returns:
The explorerObj value
Throws:
Exception

getExplorer

public static Explorer getExplorer()
                            throws Exception
Gets the explorer attribute of the Init class

Returns:
The explorer value
Throws:
Exception

getExplorerProxy

public static String getExplorerProxy()
                               throws Exception
Gets the explorerProxy attribute of the Init class

Returns:
The explorerProxy value
Throws:
Exception

loadNSClasses

public static void loadNSClasses(NetDB db,
                                 boolean useCache)
                          throws Exception
Method

Parameters:
db -
useCache -
Throws:
Exception

loadNSClass

public static void loadNSClass(NetDB db,
                               String cls,
                               boolean useCache)
                        throws Exception
Load a Nesstar RDF description from cache

Parameters:
db -
cls -
useCache -
Throws:
Exception

loadNSClass

public static void loadNSClass(String cls,
                               boolean useCache)
                        throws Exception
Method

Parameters:
cls -
useCache -
Throws:
Exception

loadLocalDB

public static void loadLocalDB()
                        throws Exception
Method

Throws:
Exception

addDefaultMappings

public static void addDefaultMappings(RDFDB db)
                               throws Exception
Adds a feature to the DefaultMappings attribute of the Init class

Parameters:
db - The feature to be added to the DefaultMappings attribute
Throws:
Exception

protocolDBInit

public static void protocolDBInit(NetDB db)
                           throws Exception
Throws:
Exception

protocolDBInit

public static void protocolDBInit(NetDB db,
                                  String catalogClass)
                           throws Exception
Throws:
Exception

mainInit

public static void mainInit(String httpProxyHost,
                            int httpProxyPort,
                            String socksProxyHost,
                            int socksProxyPort,
                            Class viewer)
                     throws Exception
Throws:
Exception

clientInit

public static void clientInit(String explorerClass,
                              String searchOpClass,
                              String exploreOpClass,
                              boolean login)
                       throws Exception
Throws:
Exception

clientInit

public static void clientInit(String explorerClass,
                              String searchOpClass,
                              String exploreOpClass,
                              String trendOpClass,
                              String cubeOpClass,
                              boolean login)
                       throws Exception
Throws:
Exception

init

public static void init(String httpProxyHost,
                        int httpProxyPort,
                        String socksProxyHost,
                        int socksProxyPort,
                        String htmlViewerClass,
                        String catalogClass,
                        String explorerClass,
                        String searchOp,
                        String exploreOp)
                 throws Exception
Method

Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
htmlViewerClass -
catalogClass -
explorerClass -
searchOp -
exploreOp -
Throws:
Exception

webDaisInit

public static void webDaisInit(String httpProxyHost,
                               int httpProxyPort,
                               String socksProxyHost,
                               int socksProxyPort,
                               String htmlViewerClass,
                               String catalogClass,
                               String explorerClass,
                               String searchOp,
                               String exploreOp)
                        throws Exception
init the webDaisClient

Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
htmlViewerClass -
catalogClass -
explorerClass -
searchOp -
exploreOp -
Throws:
Exception

webDaisInit

public static void webDaisInit(String httpProxyHost,
                               int httpProxyPort,
                               String socksProxyHost,
                               int socksProxyPort,
                               String htmlViewerClass,
                               String catalogClass,
                               String explorerClass,
                               String searchOp,
                               String exploreOp,
                               String trendOp,
                               String cubeOp)
                        throws Exception
init the webDaisClient

Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
htmlViewerClass -
catalogClass -
explorerClass -
searchOp -
exploreOp -
trendOp -
cubeOp -
Throws:
Exception

publisherInit

public static void publisherInit(String httpProxyHost,
                                 int httpProxyPort,
                                 String socksProxyHost,
                                 int socksProxyPort,
                                 String serverID,
                                 String htmlViewerClass,
                                 String catalogClass)
                          throws Exception
Method

Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
serverID -
htmlViewerClass -
catalogClass -
Throws:
Exception

explorerInit

public static void explorerInit(String httpProxyHost,
                                int httpProxyPort,
                                String socksProxyHost,
                                int socksProxyPort,
                                String htmlViewerClass,
                                String catalogClass,
                                String searchOp,
                                String exploreOp)
                         throws Exception
Method

Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
htmlViewerClass -
catalogClass -
searchOp -
exploreOp -
Throws:
Exception

explorerInit

public static void explorerInit(String httpProxyHost,
                                int httpProxyPort,
                                String socksProxyHost,
                                int socksProxyPort,
                                String htmlViewerClass,
                                String catalogClass,
                                String searchOp,
                                String exploreOp,
                                String trendOp,
                                String cubeOp)
                         throws Exception
Method

Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
htmlViewerClass -
catalogClass -
searchOp -
exploreOp -
trendOp -
cubeOp -
Throws:
Exception

explorerInit

public static void explorerInit(String httpProxyHost,
                                int httpProxyPort,
                                String socksProxyHost,
                                int socksProxyPort,
                                String htmlViewerClass,
                                String catalogClass)
                         throws Exception
Parameters:
httpProxyHost -
httpProxyPort -
socksProxyHost -
socksProxyPort -
htmlViewerClass -
catalogClass -
Throws:
Exception
Bug:
to be removed *

webInit

public static void webInit()
                    throws Exception
Method

Throws:
Exception

lightInit

public static void lightInit()
                      throws Exception
Throws:
Exception

objectBrowserInit

public static void objectBrowserInit()
                              throws Exception
Method

Throws:
Exception

testInit

public static void testInit()
                     throws Exception
Throws:
Exception

serviceInit

public static void serviceInit()
                        throws Exception
Throws:
Exception

plainInit

public static void plainInit()
                      throws Exception
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved