org.apache.commons.vfs.provider
Class DefaultURLConnection
java.lang.Object
java.net.URLConnection
org.apache.commons.vfs.provider.DefaultURLConnection
- public final class DefaultURLConnection
- extends URLConnection
A default URL connection that will work for most file systems.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
- Author:
- Brian Olsen
Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getContent, getContent, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString |
DefaultURLConnection
public DefaultURLConnection(URL url,
FileContent content)
connect
public void connect()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
getLastModified
public long getLastModified()
getContentLength
public int getContentLength()
getContentType
public String getContentType()
getContentEncoding
public String getContentEncoding()
Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.