Package thredds.inventory
Interface MFileProvider
-
public interface MFileProviderA Service Provider ofMFile.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancanProvide(String location)Determine if this Provider can provide an MFile for a given location.MFilecreate(String location)Create anMFilefrom a given location if it exists and is readable, otherwise return null.StringgetProtocol()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
@Nullable MFile create(String location) throws IOException
Create anMFilefrom a given location if it exists and is readable, otherwise return null.- Parameters:
location- location of a file or .- Returns:
MFile- Throws:
IOException
-
-