com.intel.cosbench.config
Class XmlConfig

java.lang.Object
  extended by com.intel.cosbench.config.XmlConfig

public class XmlConfig
extends java.lang.Object

The wrapper class to handle xml based configuration.

Author:
ywang19

Constructor Summary
XmlConfig(java.io.InputStream content)
           
XmlConfig(java.lang.String path)
           
 
Method Summary
 java.io.InputStream getContent()
           
 java.lang.String getPath()
           
 boolean hasContent()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlConfig

public XmlConfig(java.lang.String path)

XmlConfig

public XmlConfig(java.io.InputStream content)
Method Detail

hasContent

public boolean hasContent()

getPath

public java.lang.String getPath()

getContent

public java.io.InputStream getContent()