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()
MFileProvidergetProtocol in interface MFileProviderpublic boolean canProvide(java.lang.String location)
MFileProvidercanProvide in interface MFileProvider@Nonnull public MFile create(java.lang.String location) throws java.io.IOException
MFileProviderMFile from a given location, the file may or may not existcreate in interface MFileProviderlocation - location of a file or .MFilejava.io.IOException