|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 DataTargetpublic void setDataSource(DataSource ds)
setDataSource in interface DataTargetds - The data source.public java.lang.Object getValue()
getValue in interface DataSourcepublic 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 DataSourcejava.lang.CloneNotSupportedException - should never happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||