net.ontopia.net.data
Class DataURLConnection
java.lang.Object
java.net.URLConnection
net.ontopia.net.data.DataURLConnection
public class DataURLConnection
- extends URLConnection
INTERNAL: This class enables Java to dereference data: URLs, as
described in RFC 2397, ftp://sunsite.uio.no/pub/rfc/rfc2397.txt.
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
DataURLConnection
public DataURLConnection(URL url)
getContentLength
public int getContentLength()
- Overrides:
getContentLength
in class URLConnection
getContentType
public String getContentType()
- Overrides:
getContentType
in class URLConnection
getContentEncoding
public String getContentEncoding()
- Overrides:
getContentEncoding
in class URLConnection
getInputStream
public InputStream getInputStream()
throws IOException
- Overrides:
getInputStream
in class URLConnection
- Throws:
IOException
getHeaderField
public String getHeaderField(String name)
- Overrides:
getHeaderField
in class URLConnection
connect
public void connect()
throws IOException
- Specified by:
connect
in class URLConnection
- Throws:
IOException
Copyright © 2000-2012 Ontopia.