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 FileSystem
getDefaultFileSystem, getFileOptionsProvider, getLogger, resetDefaultFileSystem, setDefaultFileSystem, setFileOptionsProvider, setLogger
-
Constructor Details
-
DefaultFileSystem
public DefaultFileSystem()
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin classFileSystem- Throws:
ConfigurationException
-
getInputStream
- Specified by:
getInputStreamin classFileSystem- Throws:
ConfigurationException
-
getOutputStream
- Specified by:
getOutputStreamin classFileSystem- Throws:
ConfigurationException
-
getOutputStream
- Specified by:
getOutputStreamin classFileSystem- Throws:
ConfigurationException
-
getPath
-
getBasePath
- Specified by:
getBasePathin classFileSystem
-
getFileName
- Specified by:
getFileNamein classFileSystem
-
getURL
- Specified by:
getURLin classFileSystem- Throws:
MalformedURLException
-
locateFromURL
- Specified by:
locateFromURLin classFileSystem
-