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
parse(InputStream) |
List<Region> |
parseRegionMetadata(InputStream input,
boolean endpointVerification)
Deprecated.
in favor of
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
parse(InputStream)
input
- The stream containing the region metadata to parse.IOException
@Deprecated public List<Region> parseRegionMetadata(InputStream input, boolean endpointVerification) throws IOException
parse(InputStream)
input
- The stream containing the region metadata to parse.endpointVerification
- Whether to verify each region endpointIOException