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