org.rhq.plugins.apache.util
Class HttpdConfParser
java.lang.Object
org.rhq.plugins.apache.util.HttpdConfParser
public class HttpdConfParser
- extends java.lang.Object
Parse a httpd.conf file and provide information about its content
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HttpdConfParser
public HttpdConfParser()
parse
public boolean parse(java.lang.String confPath)
- Parses the httpd.conf file located at confPath
- Parameters:
confPath - The path to the httpd.conf file
- Returns:
- true on success , false otherwise
getVhosts
public java.util.Set<java.lang.String> getVhosts()
getWorkerPropertiesFile
public java.lang.String getWorkerPropertiesFile()
isModJkInstalled
public boolean isModJkInstalled()
getUriWorkerLocation
public java.lang.String getUriWorkerLocation()
getMainServer
public java.lang.String getMainServer()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.