public class RegionMetadataParser extends Object
| Constructor and Description |
|---|
RegionMetadataParser() |
| Modifier and Type | Method and Description |
|---|---|
List<Region> |
parseRegionMetadata(InputStream input)
Parses the specified input stream and returns a list of the regions
declared in it.
|
List<Region> |
parseRegionMetadata(InputStream input,
boolean endpointVerification)
Parses the specified input stream and optionally verifies all the region endpoints.
|
public List<Region> parseRegionMetadata(InputStream input) throws IOException
input - The stream containing the region metadata to parse.IOExceptionpublic List<Region> parseRegionMetadata(InputStream input, boolean endpointVerification) throws IOException
input - The stream containing the region metadata to parse.endpointVerification - Whether to verify each region endpointIOExceptionCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.