Package org.htmlparser.util

Examples of org.htmlparser.util.LinkProcessor


    public void test20() throws ParserException
    {
        assertEquals(
            "test20 failed",
            "http://a/b/g",
            (new LinkProcessor()).extract("../g", baseURI));
    }
View Full Code Here


    public void test21() throws ParserException
    {
        assertEquals(
            "test21 failed",
            "http://a/",
            (new LinkProcessor()).extract("../..", baseURI));
    }
View Full Code Here

    public void test22() throws ParserException
    {
        assertEquals(
            "test22 failed",
            "http://a/g",
            (new LinkProcessor()).extract("../../g", baseURI));
    }
View Full Code Here

    public void test23() throws ParserException
    {
        assertEquals(
            "test23 failed",
            "http://a/g",
            (new LinkProcessor()).extract("../../../g", baseURI));
    }
View Full Code Here

    public void test24() throws ParserException
    {
        assertEquals(
            "test24 failed",
            "http://a/g",
            (new LinkProcessor()).extract("../../../../g", baseURI));
    }
View Full Code Here

    public void test25() throws ParserException
    {
        assertEquals(
            "test25 failed",
            "http://a/./g",
            (new LinkProcessor()).extract("/./g", baseURI));
    }
View Full Code Here

    public void test26() throws ParserException
    {
        assertEquals(
            "test26 failed",
            "http://a/../g",
            (new LinkProcessor()).extract("/../g", baseURI));
    }
View Full Code Here

    public void test27() throws ParserException
    {
        assertEquals(
            "test27 failed",
            "http://a/b/c/g.",
            (new LinkProcessor()).extract("g.", baseURI));
    }
View Full Code Here

    public void test28() throws ParserException
    {
        assertEquals(
            "test28 failed",
            "http://a/b/c/.g",
            (new LinkProcessor()).extract(".g", baseURI));
    }
View Full Code Here

    public void test29() throws ParserException
    {
        assertEquals(
            "test29 failed",
            "http://a/b/c/g..",
            (new LinkProcessor()).extract("g..", baseURI));
    }
View Full Code Here

TOP

Related Classes of org.htmlparser.util.LinkProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.