From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../spss/server/invoke/ExternalURIResolver.html | 264 +++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html new file mode 100644 index 000000000..865da7487 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html @@ -0,0 +1,264 @@ + + + + + + +MOA SP/SS Server Internal API: Class ExternalURIResolver + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.spss.server.invoke +
+Class ExternalURIResolver

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver
+
+
+
+
public class ExternalURIResolver
extends Object
+ +

+Resolve external URIs and provide them as a stream. +

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
ExternalURIResolver() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetContentType() + +
+          Return the content type of the data detected at the URI from the previous + call of resolve().
+ InputStreamresolve(String uriStr) + +
+          Return a stream to data at the given URI. + +
+protected  voidsetContentType(String contentType) + +
+          Set the content type of the data at the URI.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+ExternalURIResolver

+
+public ExternalURIResolver()
+
+
+ + + + + + + + +
+Method Detail
+ +

+resolve

+
+public InputStream resolve(String uriStr)
+                    throws MOAApplicationException
+
+
Return a stream to data at the given URI. + + This method will try to open an URLConnection to the given + URI. Access to the file system is disallowed.
+
Parameters:
uriStr - The URI to resolve.
Returns:
InputStream The data contained at the URI.
Throws:
MOAApplicationException - An error occurred resolving the URI (e.g., + the URI is syntactically incorrect or the stream could not be opened).
+
+
+
+ +

+setContentType

+
+protected void setContentType(String contentType)
+
+
Set the content type of the data at the URI.
+
Parameters:
contentType - The content type to set.
+
+
+
+ +

+getContentType

+
+public String getContentType()
+
+
Return the content type of the data detected at the URI from the previous + call of resolve().
+
Returns:
String The content type.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3