Class MetadataStaxReader
java.lang.Object
org.fedoraproject.xmvn.metadata.io.stax.MetadataStaxReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(InputStream stream) Method read.read(InputStream stream, boolean strict) Method read.Method read.Method read.Method read.Method read.
-
Constructor Details
-
MetadataStaxReader
public MetadataStaxReader()
-
-
Method Details
-
read
Method read.- Parameters:
reader- a reader object.strict- a strict object.- Returns:
- PackageMetadata
- Throws:
IOException- IOException if any.XMLStreamException- XMLStreamException if any.
-
read
Method read.- Parameters:
reader- a reader object.- Returns:
- PackageMetadata
- Throws:
IOException- IOException if any.XMLStreamException- XMLStreamException if any.
-
read
public PackageMetadata read(InputStream stream, boolean strict) throws IOException, XMLStreamException Method read.- Parameters:
stream- a stream object.strict- a strict object.- Returns:
- PackageMetadata
- Throws:
IOException- IOException if any.XMLStreamException- XMLStreamException if any.
-
read
Method read.- Parameters:
stream- a stream object.- Returns:
- PackageMetadata
- Throws:
IOException- IOException if any.XMLStreamException- XMLStreamException if any.
-
read
Method read.- Parameters:
filePath- a filePath object.strict- a strict object.- Returns:
- PackageMetadata
- Throws:
IOException- IOException if any.XMLStreamException- XMLStreamException if any.
-
read
Method read.- Parameters:
filePath- a filePath object.- Returns:
- PackageMetadata
- Throws:
IOException- IOException if any.XMLStreamException- XMLStreamException if any.
-