Package thredds.inventory.zarr
Class MFileZip.Provider
- java.lang.Object
-
- thredds.inventory.zarr.MFileZip.Provider
-
- All Implemented Interfaces:
MFileProvider
- Enclosing class:
- MFileZip
public static class MFileZip.Provider extends Object implements MFileProvider
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 ":").
-
-
-
Field Detail
-
ext
protected static final String ext
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProtocol
public String getProtocol()
Description copied from interface:MFileProvider
The leading protocol string (without a trailing ":").- Specified by:
getProtocol
in interfaceMFileProvider
-
canProvide
public boolean canProvide(String location)
Description copied from interface:MFileProvider
Determine if this Provider can provide an MFile for a given location.- Specified by:
canProvide
in interfaceMFileProvider
-
create
@Nonnull public MFile create(String location) throws IOException
Description copied from interface:MFileProvider
Create anMFile
from a given location, the file may or may not exist- Specified by:
create
in interfaceMFileProvider
- Parameters:
location
- location of a file or .- Returns:
MFile
- Throws:
IOException
-
-