Package ipsk.net
Class EditableURL
- java.lang.Object
-
- ipsk.net.EditableURL
-
public class EditableURL extends java.lang.Object
An URL container whose contents can be modified.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Constructor Summary
Constructors Constructor Description EditableURL(java.net.URL url)
Creates new editable URL object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQuerys(java.util.Hashtable<java.lang.String,java.lang.String> queries)
Adds some queries (key/value String pairs) to the URL.java.net.URL
getUrl()
Get the URL.static void
main(java.lang.String[] args)
Test method.void
setUrl(java.net.URL url)
Set the URL.
-
-
-
Method Detail
-
addQuerys
public void addQuerys(java.util.Hashtable<java.lang.String,java.lang.String> queries) throws java.io.UnsupportedEncodingException
Adds some queries (key/value String pairs) to the URL.- Parameters:
queries
- query pairs- Throws:
java.io.UnsupportedEncodingException
- if the queries cannot be URL encoded
-
getUrl
public java.net.URL getUrl()
Get the URL.- Returns:
- url URL
-
setUrl
public void setUrl(java.net.URL url)
Set the URL.- Parameters:
url
- the URL to set
-
main
public static void main(java.lang.String[] args)
Test method.- Parameters:
args
-
-
-