Package org.jboss.vfs.protocol
Class FileURLConnection
java.lang.Object
java.net.URLConnection
org.jboss.vfs.protocol.AbstractURLConnection
org.jboss.vfs.protocol.FileURLConnection
Implementation URLConnection that will delegate to the VFS RootFileSystem.
- Version:
- $Revision$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final VirtualFile
private final VirtualFile
private final RootFileSystem
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.vfs.protocol.AbstractURLConnection
getContentType, getHeaderField, toURI
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContentEncoding, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, 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, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Field Details
-
rootFileSystem
-
mountPoint
-
file
-
-
Constructor Details
-
FileURLConnection
- Throws:
IOException
-
-
Method Details
-
getContent
- Overrides:
getContent
in classURLConnection
- Throws:
IOException
-
getContentLength
public int getContentLength()- Overrides:
getContentLength
in classURLConnection
-
getLastModified
public long getLastModified()- Overrides:
getLastModified
in classURLConnection
-
getInputStream
- Overrides:
getInputStream
in classURLConnection
- Throws:
IOException
-
getPermission
- Overrides:
getPermission
in classURLConnection
- Throws:
IOException
-
connect
- Specified by:
connect
in classURLConnection
- Throws:
IOException
-
getName
- Specified by:
getName
in classAbstractURLConnection
-