Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.regions
Class RegionMetadataParser

java.lang.Object
  extended by com.amazonaws.regions.RegionMetadataParser

public class RegionMetadataParser
extends 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.


Constructor Summary
RegionMetadataParser()
           
 
Method Summary
 List<Region> parseRegionMetadata(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
 

Constructor Detail

RegionMetadataParser

public RegionMetadataParser()
Method Detail

parseRegionMetadata

public List<Region> parseRegionMetadata(InputStream input)
                                 throws 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:
IOException


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.