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 .