|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.filter.URLFilter
The URLFilter forms URLs from Strings ,Files and URLs. If an URL is relative, the missing contents can be obtained by a default url, called the baseURL.
Constructor Summary | |
URLFilter()
DefaultConstructor. |
Method Summary | |
java.lang.Object |
clone()
Creates a clone of the URL filter. |
java.net.URL |
getBaseURL()
Gets the base url used to make relative URLs absolute. |
DataSource |
getDataSource()
Returns the data source for the filter. |
java.lang.Object |
getValue()
Tries to form a url from the object returned from the datasource. |
void |
setBaseURL(java.net.URL baseURL)
Defines the base url used to complete relative urls. |
void |
setDataSource(DataSource ds)
Sets the data source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLFilter()
Method Detail |
public DataSource getDataSource()
getDataSource
in interface DataTarget
public void setDataSource(DataSource ds)
setDataSource
in interface DataTarget
ds
- The data source.public java.lang.Object getValue()
getValue
in interface DataSource
public java.net.URL getBaseURL()
public void setBaseURL(java.net.URL baseURL)
baseURL
- the base URL.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DataSource
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- should never happen.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |