public interface MFileProvider
MFile.| Modifier and Type | Method and Description |
|---|---|
default boolean |
canProvide(String location)
Determine if this Provider can provide an MFile for a given location.
|
MFile |
create(String location)
Create an
MFile from a given location if it exists and is readable, otherwise return
null. |
String |
getProtocol()
The leading protocol string (without a trailing ":").
|
String getProtocol()
default boolean canProvide(String location)
@Nullable MFile create(String location) throws IOException
MFile from a given location if it exists and is readable, otherwise return
null.location - location of a file or .MFileIOException