Documentation of 'org.encog.bot.browse.Address' Java class
Address
org.encog.bot.browse

Class Address



  • public class Address
    extends java.lang.Object
    A URL address. Holds both the URL object, as well as original text.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Address(java.net.URL u)
      Construct the address from a URL.
      Address(java.net.URL base, java.lang.String theOriginal)
      Construct a URL using a perhaps relative URL and a base URL.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getOriginal() 
      java.net.URL getUrl() 
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Address

        public Address(java.net.URL u)
        Construct the address from a URL.
        Parameters:
        u - The URL to use.
      • Address

        public Address(java.net.URL base,
                       java.lang.String theOriginal)
        Construct a URL using a perhaps relative URL and a base URL.
        Parameters:
        base - The base URL.
        theOriginal - A full URL or a URL relative to the base.
    • Method Detail

      • getOriginal

        public final java.lang.String getOriginal()
        Returns:
        The original text from this URL.
      • getUrl

        public final java.net.URL getUrl()
        Returns:
        THe URL.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.