Package thredds.inventory
Interface MFileProvider
-
- All Known Implementing Classes:
MFileS3.Provider
,MFileZip.Provider
public interface MFileProvider
A Service Provider ofMFile
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
canProvide(String location)
Determine if this Provider can provide an MFile for a given location.MFile
create(String location)
Create anMFile
from a given location, the file may or may not existString
getProtocol()
The leading protocol string (without a trailing ":").
-
-
-
Method Detail
-
getProtocol
String getProtocol()
The leading protocol string (without a trailing ":").
-
canProvide
default boolean canProvide(String location)
Determine if this Provider can provide an MFile for a given location.
-
create
@Nonnull MFile create(String location) throws IOException
Create anMFile
from a given location, the file may or may not exist- Parameters:
location
- location of a file or .- Returns:
MFile
- Throws:
IOException
-
-