public ListBucketHandler parseListBucketObjectsResponse ( InputStream inputStream , final boolean shouldSDKDecodeResponse ) throws IOException { ListBucketHandler handler = new ListBucketHandler ( shouldSDKDecodeResponse ) ; parseXmlInputStream ( handler , sanitizeXmlDocument ( handler , inputStream ) ) ; return handler ; }
Parses a ListBucket response XML document from an input stream .