Package thredds.inventory.s3
Class MFileS3.Provider
- java.lang.Object
-
- thredds.inventory.s3.MFileS3.Provider
-
- All Implemented Interfaces:
MFileProvider
- Enclosing class:
- MFileS3
public static class MFileS3.Provider extends Object implements MFileProvider
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 ":").-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface thredds.inventory.MFileProvider
canProvide
-
-
-
-
Method Detail
-
getProtocol
public String getProtocol()
Description copied from interface:MFileProvider
The leading protocol string (without a trailing ":").- Specified by:
getProtocol
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
-
-