org.rhq.plugins.apache.util
Class HttpdConfParser
java.lang.Object
org.rhq.plugins.apache.util.HttpdConfParser
public class HttpdConfParser
- extends Object
Parse a httpd.conf file and provide information about its content
- Author:
- Heiko W. Rupp
HttpdConfParser
public HttpdConfParser()
parse
public boolean parse(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 Set<String> getVhosts()
getWorkerPropertiesFile
public String getWorkerPropertiesFile()
isModJkInstalled
public boolean isModJkInstalled()
getUriWorkerLocation
public String getUriWorkerLocation()
getMainServer
public String getMainServer()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.