public class DataURLConnection
extends java.net.URLConnection
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
protected void |
parseURL() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, 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, toStringpublic void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionpublic java.lang.String getContentType()
getContentType in class java.net.URLConnectionpublic int getContentLength()
getContentLength in class java.net.URLConnectionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionprotected void parseURL()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionCopyright © 2014. All Rights Reserved.