microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueListHandler.java
public static ListResponse<CloudQueue> getQueues(final InputStream stream, final CloudQueueClient serviceClient)
            throws SAXException, IOException, ParserConfigurationException {
        SAXParser saxParser = Utility.getSAXParser();
        QueueListHandler handler = new QueueListHandler(serviceClient);
        saxParser.parse(stream, handler);

        return handler.response;
    }
public static ListResponse<CloudQueue> getQueues(final InputStream stream, final CloudQueueClient serviceClient)
            throws SAXException, IOException, ParserConfigurationException {
        SAXParser saxParser = Utility.getSAXParser();
        QueueListHandler handler = new QueueListHandler(serviceClient);
        saxParser.parse(stream, handler);

        return handler.response;
    }
Parses the input stream containing the response body of the list queues request result and populates the class
data.

@param stream
The <code>InputStream</code> object to deserialize from.
@param serviceClient
A {@link CloudQueueClient} object associated with the storage
service.

@throws IOException
@throws SAXException
@throws ParserConfigurationException