org.apache.maven.wagon.shared.http

Class HtmlFileListParser


public class HtmlFileListParser
extends java.lang.Object

Html File List Parser.

Method Summary

static List
parseFileList(String baseurl, InputStream is)
Fetches a raw HTML from a provided InputStream, parses it, and returns the file list.

Method Details

parseFileList

public static List parseFileList(String baseurl,
                                 InputStream is)
            throws TransferFailedException
Fetches a raw HTML from a provided InputStream, parses it, and returns the file list.
Parameters:
is - the input stream.
Returns:
the file list.
Throws:
TransferFailedException - if there was a problem fetching the raw html.