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
-
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:
getBasePath
in classFileSystem
-
getFileName
- Specified by:
getFileName
in classFileSystem
-
getInputStream
- Specified by:
getInputStream
in classFileSystem
- Throws:
ConfigurationException
-
getInputStream
public InputStream getInputStream(URL url, URLConnectionOptions urlConnectionOptions) throws ConfigurationException Description copied from class:FileSystem
Not abstract for binary compatibility.- Overrides:
getInputStream
in classFileSystem
- Parameters:
url
- TODOurlConnectionOptions
- Ignored.- Returns:
- TODO
- Throws:
ConfigurationException
- TODO
-
getOutputStream
- Specified by:
getOutputStream
in classFileSystem
- Throws:
ConfigurationException
-
getOutputStream
- Specified by:
getOutputStream
in classFileSystem
- Throws:
ConfigurationException
-
getPath
- Specified by:
getPath
in classFileSystem
-
getURL
- Specified by:
getURL
in classFileSystem
- Throws:
MalformedURLException
-
locateFromURL
- Specified by:
locateFromURL
in classFileSystem
-