diff options
Diffstat (limited to 'libjava/classpath/javax/activation/URLDataSource.java')
-rw-r--r-- | libjava/classpath/javax/activation/URLDataSource.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libjava/classpath/javax/activation/URLDataSource.java b/libjava/classpath/javax/activation/URLDataSource.java index 8b77567..66472ad 100644 --- a/libjava/classpath/javax/activation/URLDataSource.java +++ b/libjava/classpath/javax/activation/URLDataSource.java @@ -55,7 +55,7 @@ public class URLDataSource private final URL url; private URLConnection connection; - + /** * Constructor. * This will not open the connection to the URL. @@ -64,7 +64,7 @@ public class URLDataSource { this.url = url; } - + /** * Returns the Content-Type header for the URL. * In the case of failure or lack of such a header, @@ -93,7 +93,7 @@ public class URLDataSource } return contentType; } - + /** * Returns the result of <code>getFile</code> of the underlying URL. */ @@ -101,7 +101,7 @@ public class URLDataSource { return url.getFile(); } - + public InputStream getInputStream() throws IOException { @@ -125,7 +125,7 @@ public class URLDataSource } return null; } - + /** * Returns the underlying URL. */ @@ -133,6 +133,5 @@ public class URLDataSource { return url; } - -} +} |