public class FileURLConnection extends AbstractURLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
FileURLConnection(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
File |
getContent() |
int |
getContentLength() |
InputStream |
getInputStream() |
long |
getLastModified() |
protected String |
getName() |
Permission |
getPermission() |
getContentType, getHeaderField, toURIaddRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContentEncoding, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic FileURLConnection(URL url) throws IOException
IOExceptionpublic File getContent() throws IOException
getContent in class URLConnectionIOExceptionpublic int getContentLength()
getContentLength in class URLConnectionpublic long getLastModified()
getLastModified in class URLConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic Permission getPermission() throws IOException
getPermission in class URLConnectionIOExceptionpublic void connect()
throws IOException
connect in class URLConnectionIOExceptionprotected String getName()
getName in class AbstractURLConnectionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.