com.amazonaws.regions
Class RegionMetadataParser
java.lang.Object
com.amazonaws.regions.RegionMetadataParser
public class RegionMetadataParser
- extends java.lang.Object
Parses the Eclipse toolkit region metadata file to pull out information about
the available regions, names, IDs, and what service endpoints are available
in each region.
Method Summary |
java.util.List<Region> |
parseRegionMetadata(java.io.InputStream input)
Parses the specified input stream and returns a list of the regions
declared in it. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionMetadataParser
public RegionMetadataParser()
parseRegionMetadata
public java.util.List<Region> parseRegionMetadata(java.io.InputStream input)
throws java.io.IOException
- Parses the specified input stream and returns a list of the regions
declared in it.
- Parameters:
input
- The stream containing the region metadata to parse.
- Returns:
- The list of parsed regions.
- Throws:
java.io.IOException
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.