|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.net.URLConnection net.ontopia.net.data.DataURLConnection
public class DataURLConnection
INTERNAL: This class enables Java to dereference data: URLs, as described in RFC 2397, ftp://sunsite.uio.no/pub/rfc/rfc2397.txt.
Field Summary |
---|
Fields inherited from class java.net.URLConnection |
---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
Constructor Summary | |
---|---|
DataURLConnection(java.net.URL url)
|
Method Summary | |
---|---|
void |
connect()
|
java.lang.String |
getContentEncoding()
|
int |
getContentLength()
|
java.lang.String |
getContentType()
|
java.lang.String |
getHeaderField(java.lang.String name)
|
java.io.InputStream |
getInputStream()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataURLConnection(java.net.URL url)
Method Detail |
---|
public int getContentLength()
getContentLength
in class java.net.URLConnection
public java.lang.String getContentType()
getContentType
in class java.net.URLConnection
public java.lang.String getContentEncoding()
getContentEncoding
in class java.net.URLConnection
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
public java.lang.String getHeaderField(java.lang.String name)
getHeaderField
in class java.net.URLConnection
public void connect() throws java.io.IOException
connect
in class java.net.URLConnection
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |