microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRangeHandler.java
protected static ArrayList<FileRange> getFileRanges(InputStream streamRef) throws ParserConfigurationException,
            SAXException, IOException {
        SAXParser saxParser = Utility.getSAXParser();
        FileRangeHandler handler = new FileRangeHandler();
        saxParser.parse(streamRef, handler);

        return handler.fileRanges;
    }
protected static ArrayList<FileRange> getFileRanges(InputStream streamRef) throws ParserConfigurationException,
            SAXException, IOException {
        SAXParser saxParser = Utility.getSAXParser();
        FileRangeHandler handler = new FileRangeHandler();
        saxParser.parse(streamRef, handler);

        return handler.fileRanges;
    }
Returns an ArrayList of File Ranges for the given stream.

@return an ArrayList of File Ranges for the given stream.
@throws SAXException
@throws ParserConfigurationException
@throws IOException