/** * Parses the specified input stream and returns a list of the regions * declared in it. By default, verification on the region endpoints is * disabled. * * @param input * The stream containing the region metadata to parse. * * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException { return internalParse(input, false); }
/** * Parses the specified input stream and optionally verifies that all of * the endpoints end in ".amazonaws.com". This method is deprecated, since * not all valid AWS endpoints end in ".amazonaws.com" any more. * * @param input * The stream containing the region metadata to parse. * @param endpointVerification * Whether to verify each region endpoint * * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(final InputStream input, final boolean endpointVerification) throws IOException { return internalParse(input, endpointVerification); }
/** * Parses the specified input stream and returns a {@code RegionMetadata} * object. * * @param input the input stream to parse * @return the parsed region metadata * @throws IOException on error */ public static RegionMetadata parse(final InputStream input) throws IOException { return new RegionMetadata(internalParse(input, false)); }
/** * Parses the specified input stream and returns a list of the regions * declared in it. By default, verification on the region endpoints is * disabled. * * @param input The stream containing the region metadata to parse. * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException { return internalParse(input, false); }
/** * Parses the specified input stream and optionally verifies that all of the * endpoints end in ".amazonaws.com". This method is deprecated, since not * all valid AWS endpoints end in ".amazonaws.com" any more. * * @param input The stream containing the region metadata to parse. * @param endpointVerification Whether to verify each region endpoint * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(final InputStream input, final boolean endpointVerification) throws IOException { return internalParse(input, endpointVerification); }
/** * Parses the specified input stream and returns a list of the regions * declared in it. By default, verification on the region endpoints is * disabled. * * @param input * The stream containing the region metadata to parse. * * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException { return internalParse(input, false); }
/** * Parses the specified input stream and optionally verifies that all of * the endpoints end in ".amazonaws.com". This method is deprecated, since * not all valid AWS endpoints end in ".amazonaws.com" any more. * * @param input * The stream containing the region metadata to parse. * @param endpointVerification * Whether to verify each region endpoint * * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(final InputStream input, final boolean endpointVerification) throws IOException { return internalParse(input, endpointVerification); }
/** * Parses the specified input stream and returns a {@code RegionMetadata} * object. * * @param input the input stream to parse * @return the parsed region metadata * @throws IOException on error */ public static RegionMetadata parse(final InputStream input) throws IOException { return new RegionMetadata(internalParse(input, false)); }
/** * Parses the specified input stream and returns a {@code RegionMetadata} * object. * * @param input the input stream to parse * @return the parsed region metadata * @throws IOException on error */ public static RegionMetadata parse(final InputStream input) throws IOException { return new RegionMetadata(internalParse(input, false)); }
/** * Parses the specified input stream and returns a list of the regions * declared in it. By default, verification on the region endpoints is * disabled. * * @param input The stream containing the region metadata to parse. * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException { return internalParse(input, false); }
/** * Parses the specified input stream and returns a list of the regions * declared in it. By default, verification on the region endpoints is * disabled. * * @param input The stream containing the region metadata to parse. * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException { return internalParse(input, false); }
/** * Parses the specified input stream and optionally verifies that all of the * endpoints end in ".amazonaws.com". This method is deprecated, since not * all valid AWS endpoints end in ".amazonaws.com" any more. * * @param input The stream containing the region metadata to parse. * @param endpointVerification Whether to verify each region endpoint * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(final InputStream input, final boolean endpointVerification) throws IOException { return internalParse(input, endpointVerification); }
/** * Parses the specified input stream and optionally verifies that all of the * endpoints end in ".amazonaws.com". This method is deprecated, since not * all valid AWS endpoints end in ".amazonaws.com" any more. * * @param input The stream containing the region metadata to parse. * @param endpointVerification Whether to verify each region endpoint * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(final InputStream input, final boolean endpointVerification) throws IOException { return internalParse(input, endpointVerification); }
/** * Parses the specified input stream and returns a list of the regions * declared in it. By default, verification on the region endpoints is * disabled. * * @param input * The stream containing the region metadata to parse. * * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(InputStream input) throws IOException { return internalParse(input, false); }
/** * Parses the specified input stream and optionally verifies that all of * the endpoints end in ".amazonaws.com". This method is deprecated, since * not all valid AWS endpoints end in ".amazonaws.com" any more. * * @param input * The stream containing the region metadata to parse. * @param endpointVerification * Whether to verify each region endpoint * * @return The list of parsed regions. * @deprecated in favor of {@link #parse(InputStream)} */ @Deprecated public List<Region> parseRegionMetadata(final InputStream input, final boolean endpointVerification) throws IOException { return internalParse(input, endpointVerification); }
/** * Parses the specified input stream and returns a {@code RegionMetadata} * object. * * @param input the input stream to parse * @return the parsed region metadata * @throws IOException on error */ public static RegionMetadata parse(final InputStream input) throws IOException { return new RegionMetadata(internalParse(input, false)); }
/** * Parses the specified input stream and returns a {@code RegionMetadata} * object. * * @param input the input stream to parse * @return the parsed region metadata * @throws IOException on error */ public static RegionMetadata parse(final InputStream input) throws IOException { return new RegionMetadata(internalParse(input, false)); }
/** * Parses the specified input stream and returns a {@code RegionMetadata} * object. * * @param input the input stream to parse * @return the parsed region metadata * @throws IOException on error */ public static RegionMetadata parse(final InputStream input) throws IOException { return new RegionMetadata(internalParse(input, false)); }