Class UrlBasedFileStore
java.lang.Object
org.craftercms.commons.file.stores.impl.UrlBasedFileStore
- All Implemented Interfaces:
RemoteFileStore
Simple
RemoteFileStore
where the paths are basically URLs from where
the files can be accessed.- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile
(RemotePath path) Resolves the givenRemotePath
as aRemoteFile
.
-
Constructor Details
-
UrlBasedFileStore
public UrlBasedFileStore()
-
-
Method Details
-
getFile
Description copied from interface:RemoteFileStore
Resolves the givenRemotePath
as aRemoteFile
.- Specified by:
getFile
in interfaceRemoteFileStore
- Parameters:
path
- the path to the file in the remote store- Returns:
- the remote file
- Throws:
IOException
- if an IO error occurs while trying to resolve the remote file
-