org.encog.bot.browse
Class Address
- java.lang.Object
-
- org.encog.bot.browse.Address
-
public class Address extends java.lang.ObjectA 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.StringgetOriginal()java.net.URLgetUrl()java.lang.StringtoString()
-
-
-
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG