jrunx.connectorinstaller
Class WebServerInfo
java.lang.Object
|
+--jrunx.connectorinstaller.WebServerInfo
- public final class WebServerInfo
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServerInfo
public WebServerInfo()
WebServerInfo
public WebServerInfo(java.lang.String webServer,
java.lang.String webServerDir)
throws ConnectorInstallerException
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.