public static class MFileZip.Provider extends java.lang.Object implements MFileProvider
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ext |
Constructor and Description |
---|
Provider() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvide(java.lang.String location)
Determine if this Provider can provide an MFile for a given location.
|
MFile |
create(java.lang.String location)
Create an
MFile from a given location, the file may or may not exist |
java.lang.String |
getProtocol()
The leading protocol string (without a trailing ":").
|
protected static final java.lang.String ext
public java.lang.String getProtocol()
MFileProvider
getProtocol
in interface MFileProvider
public boolean canProvide(java.lang.String location)
MFileProvider
canProvide
in interface MFileProvider
@Nonnull public MFile create(java.lang.String location) throws java.io.IOException
MFileProvider
MFile
from a given location, the file may or may not existcreate
in interface MFileProvider
location
- location of a file or .MFile
java.io.IOException