private String getPath(InputStream in) {
    // TODO Auto-generated method stub
    try {

      SAXParserFactory factory = SAXParserFactory.newInstance();
      SAXParser parser = factory.newSAXParser();
      XMLReader xmlreader = parser.getXMLReader();
      ContentReader theEpubHandler = new ContentReader();
      xmlreader.setContentHandler(theEpubHandler);
      xmlreader.parse(new InputSource(in));
      return theEpubHandler.getFullPath();
    } catch (Exception ee) {
      return null;
    }
  }
  private NCX setBookOrder(InputStream nis) {
    // TODO Auto-generated method stub
    try {

      SAXParserFactory factory = SAXParserFactory.newInstance();
      SAXParser parser = factory.newSAXParser();
      XMLReader xmlreader = parser.getXMLReader();
      ContentReader theEpubHandler = new ContentReader();
      xmlreader.setContentHandler(theEpubHandler);
      xmlreader.parse(new InputSource(nis));
      return theEpubHandler.getNCX();
    } catch (Exception ee) {

    }
    return null;
  }