microsoft-azure-storage/src/com/microsoft/azure/storage/file/ShareListHandler.java
protected static ListResponse<CloudFileShare> getShareList(final InputStream stream,
            final CloudFileClient serviceClient) throws ParserConfigurationException, SAXException, IOException {
        SAXParser saxParser = Utility.getSAXParser();
        ShareListHandler handler = new ShareListHandler(serviceClient);
        saxParser.parse(stream, handler);

        return handler.response;
    }
protected static ListResponse<CloudFileShare> getShareList(final InputStream stream,
            final CloudFileClient serviceClient) throws ParserConfigurationException, SAXException, IOException {
        SAXParser saxParser = Utility.getSAXParser();
        ShareListHandler handler = new ShareListHandler(serviceClient);
        saxParser.parse(stream, handler);

        return handler.response;
    }
Parses a {@link ShareListResponse} form the given XML stream.

@param serviceClient
a reference to the client object associated with this object.
@param stream
the stream from which to parse the share list
@throws SAXException
@throws ParserConfigurationException
@throws IOException