org.jboss.vfs.protocol
Class FileURLConnection
java.lang.Object
java.net.URLConnection
org.jboss.vfs.protocol.AbstractURLConnection
org.jboss.vfs.protocol.FileURLConnection
public class FileURLConnection
- extends AbstractURLConnection
Implementation URLConnection that will delegate to the VFS RootFileSystem.
- Version:
- $Revision$
- Author:
- John Bailey
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContentEncoding, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
FileURLConnection
public FileURLConnection(URL url)
throws IOException
- Throws:
IOException
getContent
public File getContent()
throws IOException
- Overrides:
getContent
in class URLConnection
- Throws:
IOException
getContentLength
public int getContentLength()
- Overrides:
getContentLength
in class URLConnection
getLastModified
public long getLastModified()
- Overrides:
getLastModified
in class URLConnection
getInputStream
public InputStream getInputStream()
throws IOException
- Overrides:
getInputStream
in class URLConnection
- Throws:
IOException
getPermission
public Permission getPermission()
throws IOException
- Overrides:
getPermission
in class URLConnection
- Throws:
IOException
connect
public void connect()
throws IOException
- Specified by:
connect
in class URLConnection
- Throws:
IOException
getName
protected String getName()
- Specified by:
getName
in class AbstractURLConnection
Copyright © 2012 JBoss, A division of Red Hat, Inc. All Rights Reserved.