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 VirtualFileprivate final VirtualFileprivate final RootFileSystemFields 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, toURIMethods 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:
getContentin classURLConnection- Throws:
IOException
-
getContentLength
public int getContentLength()- Overrides:
getContentLengthin classURLConnection
-
getLastModified
public long getLastModified()- Overrides:
getLastModifiedin classURLConnection
-
getInputStream
- Overrides:
getInputStreamin classURLConnection- Throws:
IOException
-
getPermission
- Overrides:
getPermissionin classURLConnection- Throws:
IOException
-
connect
- Specified by:
connectin classURLConnection- Throws:
IOException
-
getName
- Specified by:
getNamein classAbstractURLConnection
-