public class MetadataStaxReader extends Object
Constructor and Description |
---|
MetadataStaxReader() |
Modifier and Type | Method and Description |
---|---|
PackageMetadata |
read(InputStream stream)
Method read.
|
PackageMetadata |
read(InputStream stream,
boolean strict)
Method read.
|
PackageMetadata |
read(Reader reader)
Method read.
|
PackageMetadata |
read(Reader reader,
boolean strict)
Method read.
|
PackageMetadata |
read(String filePath)
Method read.
|
PackageMetadata |
read(String filePath,
boolean strict)
Method read.
|
public PackageMetadata read(Reader reader, boolean strict) throws IOException, XMLStreamException
reader
- strict
- IOException
XMLStreamException
public PackageMetadata read(Reader reader) throws IOException, XMLStreamException
reader
- IOException
XMLStreamException
public PackageMetadata read(InputStream stream, boolean strict) throws IOException, XMLStreamException
stream
- strict
- IOException
XMLStreamException
public PackageMetadata read(InputStream stream) throws IOException, XMLStreamException
stream
- IOException
XMLStreamException
public PackageMetadata read(String filePath, boolean strict) throws IOException, XMLStreamException
filePath
- strict
- IOException
XMLStreamException
public PackageMetadata read(String filePath) throws IOException, XMLStreamException
filePath
- IOException
XMLStreamException
Copyright © 2012-2017 Red Hat, Inc.. All Rights Reserved.