| Modifier and Type | Method and Description | 
|---|---|
| void | PropertyIO. setValue(String propertyName,
        String value)Sets the name,value as String in the IO. | 
| void | PropertyIO. validate()Validates the PropertyIO. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CompositePropertyIO | CompositePropertyIOFactory. create(File[] files,
      boolean readonly,
      boolean cached,
      boolean mustExists)Constructs a CompositePropertyIO from a series of filenames. | 
| static CompositePropertyIO | CompositePropertyIOFactory. create(File rootDirectory,
      boolean readonly,
      boolean cached)Searches for all the properties files in directory or sub directory of rootDirectory, and returns a  CompositePropertyIO with a list of FilePropertyIO. | 
| static CompositePropertyIO | CompositePropertyIOFactory. create(File rootDirectory,
      String[] propertyFilenames,
      boolean readonly,
      boolean cached)Searches for the propertyFilenames in directory or sub directory of rootDirectory, and returns a  CompositePropertyIO with a list of FilePropertyIO. | 
| static CompositePropertyIO | CompositePropertyIOFactory. create(String[] fileNames,
      boolean readonly,
      boolean cached,
      boolean mustExists)Constructs a CompositePropertyIO from a series of filenames. | 
| static FilePropertyIO | FilePropertyIOFactory. createFilePropertyIO(File rootDirectory,
                    String propertyFilename,
                    boolean readonly,
                    boolean cached)Searches for the propertyFilename in directory or sub directory of rootDirectory, and returns a FilePropertyIO. | 
| protected Properties | ResourceFilePropertyIO. getProperties(String resourceName)Deprecated.  Loads a resource using  Thread.currentThread().getContextClassLoader().getResourceAsStream(name). | 
| protected abstract Properties | AbstractURLPropertyIO. getPropertiesFromUrl()Abstract method to retrieve the Properties from an URL and mayby another parameters which is provided in the instance constructor. | 
| protected abstract Properties | AbstractXMLInputStreamPropertyIO. loadXml(Document document)Loads the properties from the XML file. | 
| protected Properties | XMLParsedFilePropertyIO. loadXml(File file)Loads the XML file properties usung the XMLPropertiesParser | 
| protected abstract Properties | AbstractXMLFilePropertyIO. loadXml(File file)Loads the properties from the XML file. | 
| protected void | XMLParsedFilePropertyIO. saveXml(Properties properties,
       File file)Updates the XML file properties and saves the file. | 
| protected abstract void | AbstractXMLFilePropertyIO. saveXml(Properties properties,
       File file)Saving the properties to the XML file, if that is possible. | 
| void | WebContextParamsPropertyIO. setValue(String propertyName,
        String value) | 
| void | ServletContextPropertyIO. setValue(String propertyName,
        String value) | 
| void | ResourceStreamPropertyIO. setValue(String propertyName,
        String value) | 
| void | ResourceFilePropertyIO. setValue(String propertyName,
        String value)Deprecated.  | 
| void | ResourceBundlePropertyIO. setValue(String propertyName,
        String value) | 
| void | MemoryPropertyIO. setValue(String propertyName,
        String value) | 
| void | ManifestPropertyIO. setValue(String propertyName,
        String value) | 
| void | InputStreamPropertyIO. setValue(String propertyName,
        String value) | 
| void | FilePropertyIO. setValue(String propertyName,
        String value) | 
| void | CompositePropertyIO. setValue(String propertyName,
        String value) | 
| void | AbstractXMLInputStreamPropertyIO. setValue(String propertyName,
        String value) | 
| void | AbstractXMLFilePropertyIO. setValue(String propertyName,
        String value) | 
| void | AbstractURLPropertyIO. setValue(String propertyName,
        String value)The setValue method which allways gives an exception, since they can not be set through this PropertyIO. | 
| void | AbstractJDBCPropertyIO. setValue(String propertyName,
        String value) | 
| void | WebContextParamsPropertyIO. validate() | 
| void | ServletContextPropertyIO. validate() | 
| void | ResourceStreamPropertyIO. validate()Fails validation if 
 
                ResourceName is null or empty.
                Not able to getProperties(), it returns  null. | 
| void | ResourceFilePropertyIO. validate()Deprecated.  | 
| void | ResourceBundlePropertyIO. validate()Fails validatation if:
 
                Bundle name is null.
                Bundle name is empty.
                Unable to load properties.
  | 
| void | MemoryPropertyIO. validate() | 
| void | ManifestPropertyIO. validate() | 
| void | InputStreamPropertyIO. validate() | 
| void | CompositePropertyIO. validate() | 
| void | AbstractXMLInputStreamPropertyIO. validate() | 
| void | AbstractXMLFilePropertyIO. validate() | 
| void | AbstractURLPropertyIO. validate()Validates the PropertyIO, veirfies that the URL is not  nulland the Properties could be retrived. | 
| void | AbstractJDBCPropertyIO. validate() | 
| void | AbstractFilePropertyIO. validate() | 
| protected void | AbstractPropertyIO. validateWritable(String propertyName)Convenience method that verifies that the PropertyIO is writeable otherwise a PropertyIOException is thrown with a standardized message. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpResponseHeadersPropertyIO. setValue(String propertyName,
        String value) | 
| void | HttpRequestPropertyIO. setValue(String propertyName,
        String value) | 
| void | HttpRequestParamsPropertyIO. setValue(String propertyName,
        String value)This IO is readonly. | 
| void | HttpRequestHeadersPropertyIO. setValue(String propertyName,
        String value) | 
| void | HttpCookiesPropertyIO. setValue(String propertyName,
        String value) | 
| void | HttpResponseHeadersPropertyIO. validate() | 
| void | HttpCookiesPropertyIO. validate() | 
| void | AbstractHttpPropertyIO. validate()Validates the IO. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Properties | JBossSystemPropertiesPropertyIO. loadXml(File file) | 
| protected void | JBossSystemPropertiesPropertyIO. saveXml(Properties properties,
       File file) | 
| Modifier and Type | Method and Description | 
|---|---|
| Document | DefaultXmlFileValidator. getDocument(File file)Loads a XML file as an DOM Document and validates it against the defined schema. | 
| void | DefaultXmlFileValidator. validateFile(File file)Validates a XML file using the SchemaURL. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Document | XMLUtils. loadXmlFromFile(File xmlFile)Will load the XML from a file. | 
| static Document | XMLUtils. loadXmlFromFile(File xmlFile,
               URL schemaUrl)Will load and validate angainst a schema the XML from a file. | 
| static Document | XMLUtils. loadXmlFromInputStream(InputStream inputStream)Loads the Document (DOM) from an InputStream. | 
| static void | XMLUtils. validateXmlFile(File xmlFile,
               File schemaFile)Validates a XML file against schema located at schemaFile. Inspirational code: http://stackoverflow.com/questions/15732/whats-the-best-way-to-validate-an-xml-file-against-an-xsd-file http://www.edankert.com/validate.html#Validate_using_external_Schema_s_ Note: Storing the schemas locally will greatly speed up the validating processing time. | 
| static void | XMLUtils. validateXmlFile(File xmlFile,
               URL schemaUrl)Validates a XML file against schema located at schemaUrl. Inspirational code: http://stackoverflow.com/questions/15732/whats-the-best-way-to-validate-an-xml-file-against-an-xsd-file http://www.edankert.com/validate.html#Validate_using_external_Schema_s_ Note: Storing the schemas locally will greatly speed up the validating processing time. |