Class ConfigurationStaxReader
- java.lang.Object
-
- org.fedoraproject.xmvn.config.io.stax.ConfigurationStaxReader
-
public class ConfigurationStaxReader extends java.lang.ObjectClass ConfigurationStaxReader.- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ConfigurationStaxReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configurationread(java.io.InputStream stream)Method read.Configurationread(java.io.InputStream stream, boolean strict)Method read.Configurationread(java.io.Reader reader)Method read.Configurationread(java.io.Reader reader, boolean strict)Method read.Configurationread(java.lang.String filePath)Method read.Configurationread(java.lang.String filePath, boolean strict)Method read.
-
-
-
Method Detail
-
read
public Configuration read(java.io.Reader reader, boolean strict) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method read.- Parameters:
reader- a reader object.strict- a strict object.- Returns:
- Configuration
- Throws:
java.io.IOException- IOException if any.javax.xml.stream.XMLStreamException- XMLStreamException if any.
-
read
public Configuration read(java.io.Reader reader) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method read.- Parameters:
reader- a reader object.- Returns:
- Configuration
- Throws:
java.io.IOException- IOException if any.javax.xml.stream.XMLStreamException- XMLStreamException if any.
-
read
public Configuration read(java.io.InputStream stream, boolean strict) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method read.- Parameters:
stream- a stream object.strict- a strict object.- Returns:
- Configuration
- Throws:
java.io.IOException- IOException if any.javax.xml.stream.XMLStreamException- XMLStreamException if any.
-
read
public Configuration read(java.io.InputStream stream) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method read.- Parameters:
stream- a stream object.- Returns:
- Configuration
- Throws:
java.io.IOException- IOException if any.javax.xml.stream.XMLStreamException- XMLStreamException if any.
-
read
public Configuration read(java.lang.String filePath, boolean strict) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method read.- Parameters:
filePath- a filePath object.strict- a strict object.- Returns:
- Configuration
- Throws:
java.io.IOException- IOException if any.javax.xml.stream.XMLStreamException- XMLStreamException if any.
-
read
public Configuration read(java.lang.String filePath) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method read.- Parameters:
filePath- a filePath object.- Returns:
- Configuration
- Throws:
java.io.IOException- IOException if any.javax.xml.stream.XMLStreamException- XMLStreamException if any.
-
-