public class RegionMetadataParser extends Object
Constructor and Description |
---|
RegionMetadataParser()
Deprecated.
since this object is stateless
|
Modifier and Type | Method and Description |
---|---|
static RegionMetadata |
parse(InputStream input)
Parses the specified input stream and returns a
RegionMetadata
object. |
List<Region> |
parseRegionMetadata(InputStream input)
Deprecated.
in favor of
RegionMetadataParser.parse(InputStream) |
List<Region> |
parseRegionMetadata(InputStream input,
boolean endpointVerification)
Deprecated.
in favor of
RegionMetadataParser.parse(InputStream) |
@Deprecated public RegionMetadataParser()
public static RegionMetadata parse(InputStream input) throws IOException
RegionMetadata
object.input
- the input stream to parseIOException
- on error@Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException
RegionMetadataParser.parse(InputStream)
input
- The stream containing the region metadata to parse.IOException
@Deprecated public List<Region> parseRegionMetadata(InputStream input, boolean endpointVerification) throws IOException
RegionMetadataParser.parse(InputStream)
input
- The stream containing the region metadata to parse.endpointVerification
- Whether to verify each region endpointIOException
Copyright © 2024. All rights reserved.