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, toURI
addRequestProperty, 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, toString
public FileURLConnection(URL url) throws IOException
IOException
public File getContent() throws IOException
getContent
in class URLConnection
IOException
public int getContentLength()
getContentLength
in class URLConnection
public long getLastModified()
getLastModified
in class URLConnection
public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
public Permission getPermission() throws IOException
getPermission
in class URLConnection
IOException
public void connect() throws IOException
connect
in class URLConnection
IOException
protected String getName()
getName
in class AbstractURLConnection
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.