net.noderunner.amazon.s3
Class LocationResponse
java.lang.Object
net.noderunner.amazon.s3.Response
net.noderunner.amazon.s3.LocationResponse
public class LocationResponse
- extends Response
A Response object returned from AWSAuthConnection.getBucketLocation().
Parses the response XML and exposes the location constraint
via the getLocation()
method.
getLocation
public String getLocation()
- Report the location-constraint for a bucket.
A value of null indicates an error;
the empty string indicates no constraint;
and any other value is an actual location constraint value.
toString
public String toString()
- Description copied from class:
Response
- Returns a string representation.
- Overrides:
toString
in class Response
Copyright © 2011. All Rights Reserved.