Class HtmlFileListParser


  • public class HtmlFileListParser
    extends java.lang.Object
    Html File List Parser.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> parseFileList​(java.lang.String baseurl, java.io.InputStream stream)
      Fetches a raw HTML from a provided InputStream, parses it, and returns the file list.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HtmlFileListParser

        public HtmlFileListParser()
    • Method Detail

      • parseFileList

        public static java.util.List<java.lang.String> parseFileList​(java.lang.String baseurl,
                                                                     java.io.InputStream stream)
                                                              throws org.apache.maven.wagon.TransferFailedException
        Fetches a raw HTML from a provided InputStream, parses it, and returns the file list.
        Parameters:
        stream - the input stream.
        Returns:
        the file list.
        Throws:
        org.apache.maven.wagon.TransferFailedException - if there was a problem fetching the raw html.