element.
----------------------------------------------------------------------
- Version:
- 2002-03-01
- Author:
- Katharina Lupp
Constructor Summary |
BaseURL_Impl(java.lang.String format,
java.net.URL onlineResource)
constructor initializing the class with the |
Method Summary |
java.lang.String |
getFormat()
returns the MIME type of the resource |
java.net.URL |
getOnlineResource()
returns the address (URL) of the resource |
void |
setFormat(java.lang.String format)
sets the MIME type of the resource |
void |
setOnlineResource(java.net.URL onlineResource)
returns the address (URL) of the resource |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
format
private java.lang.String format
onlineResource
private java.net.URL onlineResource
BaseURL_Impl
public BaseURL_Impl(java.lang.String format,
java.net.URL onlineResource)
- constructor initializing the class with the
getFormat
public java.lang.String getFormat()
- returns the MIME type of the resource
- Specified by:
getFormat
in interface BaseURL
setFormat
public void setFormat(java.lang.String format)
- sets the MIME type of the resource
getOnlineResource
public java.net.URL getOnlineResource()
- returns the address (URL) of the resource
- Specified by:
getOnlineResource
in interface BaseURL
setOnlineResource
public void setOnlineResource(java.net.URL onlineResource)
- returns the address (URL) of the resource
toString
public java.lang.String toString()
- Returns: