public static FileTransferHttpInfoDocument parseFileTransferHttpDocument(byte[] xml,RcsSettings rcsSettings) throws PayloadException {
  try {
    FileTransferXmlParser ftHttpParser=new FileTransferXmlParser(xml,rcsSettings);
    ftHttpParser.parse();
    return ftHttpParser.getFileTransferInfo();
  }
 catch (  ParserConfigurationException|ParseFailureException|SAXException e) {
    throw new PayloadException("Can't parse FT HTTP document!",e);
  }
}

public static FileTransferHttpInfoDocument parseFileTransferHttpDocument ( byte [ ] xml , RcsSettings rcsSettings ) throws PayloadException { try { FileTransferXmlParser ftHttpParser = new FileTransferXmlParser ( xml , rcsSettings ) ; ftHttpParser . parse ( ) ; return ftHttpParser . getFileTransferInfo ( ) ; } catch ( ParserConfigurationException | ParseFailureException | SAXException e ) { throw new PayloadException ( "Can't parse FT HTTP document!" , e ) ; } }
parse a file transfer over http document
