code: public static ListResponse<ListFileItem> getFileAndDirectoryList(final InputStream stream,
              final CloudFileDirectory directory) throws ParserConfigurationException, SAXException, IOException {
          SAXParser saxParser = Utility.getSAXParser();
          FileListHandler handler = new FileListHandler(directory);
          saxParser.parse(stream, handler);
  
          return handler.response;
      }
docs: Parse and return the response.
  
  @param stream
  @param directory
  @return
  @throws ParserConfigurationException
  @throws SAXException
  @throws IOException