public class VFSFileSystem extends DefaultFileSystem
Constructor and Description |
---|
VFSFileSystem() |
Modifier and Type | Method and Description |
---|---|
String |
getBasePath(String path) |
String |
getFileName(String path) |
InputStream |
getInputStream(String basePath,
String fileName) |
InputStream |
getInputStream(URL url) |
OutputStream |
getOutputStream(URL url) |
String |
getPath(File file,
URL url,
String basePath,
String fileName) |
URL |
getURL(String basePath,
String file) |
URL |
locateFromURL(String basePath,
String fileName) |
getOutputStream
getDefaultFileSystem, getFileOptionsProvider, getLogger, resetDefaultFileSystem, setDefaultFileSystem, setFileOptionsProvider, setLogger
public InputStream getInputStream(String basePath, String fileName) throws ConfigurationException
getInputStream
in class DefaultFileSystem
ConfigurationException
public InputStream getInputStream(URL url) throws ConfigurationException
getInputStream
in class DefaultFileSystem
ConfigurationException
public OutputStream getOutputStream(URL url) throws ConfigurationException
getOutputStream
in class DefaultFileSystem
ConfigurationException
public String getPath(File file, URL url, String basePath, String fileName)
getPath
in class DefaultFileSystem
public String getBasePath(String path)
getBasePath
in class DefaultFileSystem
public String getFileName(String path)
getFileName
in class DefaultFileSystem
public URL getURL(String basePath, String file) throws MalformedURLException
getURL
in class DefaultFileSystem
MalformedURLException
public URL locateFromURL(String basePath, String fileName)
locateFromURL
in class DefaultFileSystem
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.