Class DefaultFileSystem
java.lang.Object
org.apache.commons.configuration2.io.FileSystem
org.apache.commons.configuration2.io.DefaultFileSystem
- Direct Known Subclasses:
VFSFileSystem
FileSystem that uses java.io.File or HttpClient.
- Since:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBasePath(String path) getFileName(String path) getInputStream(URL url) getInputStream(URL url, URLConnectionOptions urlConnectionOptions) Not abstract for binary compatibility.getOutputStream(File file) getOutputStream(URL url) locateFromURL(String basePath, String fileName) Methods inherited from class org.apache.commons.configuration2.io.FileSystem
getFileOptionsProvider, getLogger, setFileOptionsProvider, setLogger
-
Constructor Details
-
DefaultFileSystem
public DefaultFileSystem()
-
-
Method Details
-
getBasePath
- Specified by:
getBasePathin classFileSystem
-
getFileName
- Specified by:
getFileNamein classFileSystem
-
getInputStream
- Specified by:
getInputStreamin classFileSystem- Throws:
ConfigurationException
-
getInputStream
public InputStream getInputStream(URL url, URLConnectionOptions urlConnectionOptions) throws ConfigurationException Description copied from class:FileSystemNot abstract for binary compatibility.- Overrides:
getInputStreamin classFileSystem- Parameters:
url- TODOurlConnectionOptions- Ignored.- Returns:
- TODO
- Throws:
ConfigurationException- TODO
-
getOutputStream
- Specified by:
getOutputStreamin classFileSystem- Throws:
ConfigurationException
-
getOutputStream
- Specified by:
getOutputStreamin classFileSystem- Throws:
ConfigurationException
-
getPath
- Specified by:
getPathin classFileSystem
-
getURL
- Specified by:
getURLin classFileSystem- Throws:
MalformedURLException
-
locateFromURL
- Specified by:
locateFromURLin classFileSystem
-