diff options
Diffstat (limited to 'src/com/itmill/toolkit/terminal/URIHandler.java')
-rw-r--r-- | src/com/itmill/toolkit/terminal/URIHandler.java | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/com/itmill/toolkit/terminal/URIHandler.java b/src/com/itmill/toolkit/terminal/URIHandler.java index 9883606c2a..5b4bf67d58 100644 --- a/src/com/itmill/toolkit/terminal/URIHandler.java +++ b/src/com/itmill/toolkit/terminal/URIHandler.java @@ -45,30 +45,30 @@ import java.net.URL; */ public interface URIHandler { - /** - * Handles a given relative URI. If the URI handling wants to emit a - * downloadable stream it can return download stream object. If no emitting - * stream is necessary, null should be returned instead. - * - * @param context - * the URl. - * @param relativeUri - * the relative uri. - * @return the download stream object. - */ - public DownloadStream handleURI(URL context, String relativeUri); + /** + * Handles a given relative URI. If the URI handling wants to emit a + * downloadable stream it can return download stream object. If no emitting + * stream is necessary, null should be returned instead. + * + * @param context + * the URl. + * @param relativeUri + * the relative uri. + * @return the download stream object. + */ + public DownloadStream handleURI(URL context, String relativeUri); - /** - * URIHandler error event. - */ - public interface ErrorEvent extends Terminal.ErrorEvent { + /** + * URIHandler error event. + */ + public interface ErrorEvent extends Terminal.ErrorEvent { - /** - * Gets the source URIHandler. - * - * @return the URIHandler. - */ - public URIHandler getURIHandler(); + /** + * Gets the source URIHandler. + * + * @return the URIHandler. + */ + public URIHandler getURIHandler(); - } + } } |