jrunx.connectorinstaller
Class WebServerInfo

java.lang.Object
  |
  +--jrunx.connectorinstaller.WebServerInfo

public final class WebServerInfo
extends java.lang.Object


Constructor Summary
WebServerInfo()
           
WebServerInfo(java.lang.String webServer, java.lang.String webServerDir)
           
 
Method Summary
 java.lang.String formatWebServerDir()
          For display purposes, format the directory spec for the web server directory, in the native format for the OS.
 java.lang.String getAllMappings()
           
 java.lang.String getAllMappings(java.lang.String sep)
           
 java.util.Vector getAllMappingsVector()
           
 java.lang.String getApacheBinPath()
           
 java.lang.String getApacheNTServiceName()
           
 java.lang.String getApacheScriptPath()
           
 boolean getApialloc()
           
 java.util.Vector getDefaultMappingsVector()
           
 java.lang.String getIISWebSiteMetabaseKey(java.lang.String siteName)
           
 java.lang.String getIISWebSiteName(java.lang.String metabaseKey)
           
 java.lang.String[] getIISWebSites()
           
 java.io.File getJRunWebServerDir()
           
 java.lang.String getOSName()
           
 java.lang.String getPlatform()
           
 java.lang.String getSelectedWebServer(java.lang.Object displayName)
           
 java.lang.String getSetMappings()
           
 java.util.Vector getSupportedWebServers()
           
 boolean getUseIISFilter()
           
 boolean getUseMappings()
           
 boolean getVerboseLogging()
           
 java.lang.String getWebServer()
          Gets the web server tag which is the prefix to the xxxInstaller.java file.
 java.lang.String getWebServerDir()
          Gets the web server configuration directory, normalized to UNIX path style.
 java.lang.String getWebServerDisplay()
           
 java.lang.String getWebServerDisplay(java.lang.String wsCode)
           
 boolean isSupportedWebServer(java.lang.String wsCode)
           
 boolean isWindows()
          Returns true if the platform is any of the various flavors of Windows NT, Windows 2000 or Windows XP
 void setApacheBinPath(java.lang.String path)
           
 void setApacheNTServiceName(java.lang.String serviceName)
           
 void setApacheScriptPath(java.lang.String path)
           
 void setApialloc(boolean apialloc)
           
 void setJRunWebServerDir(java.io.File dir)
           
 void setMappings(java.lang.String newMapList)
           
 void setMappingsVector(java.util.Vector v)
           
 void setUseIISFilter(boolean enabled)
           
 void setVerboseLogging(boolean verbose)
           
 void setWebServer(java.lang.String ws)
           
 void setWebServerDirectory(java.lang.String wsDir)
          Store the installation directory in UNIX-path format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServerInfo

public WebServerInfo()

WebServerInfo

public WebServerInfo(java.lang.String webServer,
                     java.lang.String webServerDir)
              throws ConnectorInstallerException
Method Detail

isWindows

public boolean isWindows()
Returns true if the platform is any of the various flavors of Windows NT, Windows 2000 or Windows XP

getOSName

public java.lang.String getOSName()

getPlatform

public java.lang.String getPlatform()

getWebServer

public java.lang.String getWebServer()
Gets the web server tag which is the prefix to the xxxInstaller.java file.

getWebServerDir

public java.lang.String getWebServerDir()
Gets the web server configuration directory, normalized to UNIX path style.

formatWebServerDir

public java.lang.String formatWebServerDir()
For display purposes, format the directory spec for the web server directory, in the native format for the OS. For example, on NT display backward slashes and quoted file specs if the path contains a space. For IIS, display the IIS web site name, not a directory spec.

getJRunWebServerDir

public java.io.File getJRunWebServerDir()

getSupportedWebServers

public java.util.Vector getSupportedWebServers()

isSupportedWebServer

public boolean isSupportedWebServer(java.lang.String wsCode)

getWebServerDisplay

public java.lang.String getWebServerDisplay(java.lang.String wsCode)

getWebServerDisplay

public java.lang.String getWebServerDisplay()

getSelectedWebServer

public java.lang.String getSelectedWebServer(java.lang.Object displayName)

setWebServer

public void setWebServer(java.lang.String ws)
                  throws ConnectorInstallerException

setWebServerDirectory

public void setWebServerDirectory(java.lang.String wsDir)
                           throws ConnectorInstallerException
Store the installation directory in UNIX-path format.
Parameters:
installation - directory
Throws:
ConnectorInstallerExpception - if error checking status of directory

setJRunWebServerDir

public void setJRunWebServerDir(java.io.File dir)

setVerboseLogging

public void setVerboseLogging(boolean verbose)

getVerboseLogging

public boolean getVerboseLogging()

setApialloc

public void setApialloc(boolean apialloc)

getApialloc

public boolean getApialloc()

setApacheNTServiceName

public void setApacheNTServiceName(java.lang.String serviceName)
                            throws ConnectorInstallerException

getApacheNTServiceName

public java.lang.String getApacheNTServiceName()

setApacheBinPath

public void setApacheBinPath(java.lang.String path)
                      throws ConnectorInstallerException

getApacheBinPath

public java.lang.String getApacheBinPath()

setApacheScriptPath

public void setApacheScriptPath(java.lang.String path)
                         throws ConnectorInstallerException

getApacheScriptPath

public java.lang.String getApacheScriptPath()

setUseIISFilter

public void setUseIISFilter(boolean enabled)

getUseIISFilter

public boolean getUseIISFilter()

getUseMappings

public boolean getUseMappings()

getSetMappings

public java.lang.String getSetMappings()

getAllMappings

public java.lang.String getAllMappings()

getAllMappings

public java.lang.String getAllMappings(java.lang.String sep)

getAllMappingsVector

public java.util.Vector getAllMappingsVector()

getDefaultMappingsVector

public java.util.Vector getDefaultMappingsVector()

setMappings

public void setMappings(java.lang.String newMapList)
                 throws ConnectorInstallerException

setMappingsVector

public void setMappingsVector(java.util.Vector v)

getIISWebSites

public java.lang.String[] getIISWebSites()
                                  throws ConnectorInstallerException

getIISWebSiteMetabaseKey

public java.lang.String getIISWebSiteMetabaseKey(java.lang.String siteName)
                                          throws ConnectorInstallerException

getIISWebSiteName

public java.lang.String getIISWebSiteName(java.lang.String metabaseKey)
                                   throws ConnectorInstallerException


Copyright � 2002 Macromedia Corporation. All Rights Reserved.