Package org.apache.commons.configuration
Class DefaultFileSystem
java.lang.Object
org.apache.commons.configuration.FileSystem
org.apache.commons.configuration.DefaultFileSystem
- Direct Known Subclasses:
VFSFileSystem
FileSystem that uses java.io.File or HttpClient
- Since:
- 1.7
- Author:
- Commons Configuration team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBasePath
(String path) getFileName
(String path) getInputStream
(String basePath, String fileName) getInputStream
(URL url) getOutputStream
(File file) getOutputStream
(URL url) locateFromURL
(String basePath, String fileName) Methods inherited from class org.apache.commons.configuration.FileSystem
getDefaultFileSystem, getFileOptionsProvider, getLogger, resetDefaultFileSystem, setDefaultFileSystem, setFileOptionsProvider, setLogger
-
Constructor Details
-
DefaultFileSystem
public DefaultFileSystem()
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in classFileSystem
- Throws:
ConfigurationException
-
getInputStream
- Specified by:
getInputStream
in classFileSystem
- Throws:
ConfigurationException
-
getOutputStream
- Specified by:
getOutputStream
in classFileSystem
- Throws:
ConfigurationException
-
getOutputStream
- Specified by:
getOutputStream
in classFileSystem
- Throws:
ConfigurationException
-
getPath
- Specified by:
getPath
in classFileSystem
-
getBasePath
- Specified by:
getBasePath
in classFileSystem
-
getFileName
- Specified by:
getFileName
in classFileSystem
-
getURL
- Specified by:
getURL
in classFileSystem
- Throws:
MalformedURLException
-
locateFromURL
- Specified by:
locateFromURL
in classFileSystem
-