Package globus.glmap
Class GLMapDocumentTreeStorage
java.lang.Object
globus.glmap.GLMapDocumentTreeStorage
- All Implemented Interfaces:
GLMapCustomStorage
public class GLMapDocumentTreeStorage extends java.lang.Object implements GLMapCustomStorage
-
Constructor Summary
Constructors Constructor Description GLMapDocumentTreeStorage(android.content.Context context, androidx.documentfile.provider.DocumentFile file) -
Method Summary
Modifier and Type Method Description java.lang.ObjectcreateFile(java.lang.String name)java.lang.ObjectcreateStorage(java.lang.String name)booleandeleteFile(java.lang.Object object)java.lang.ObjectfindFile(java.lang.String name)java.lang.StringgetName(java.lang.Object object)java.lang.Object[]listFiles()intopenForReading(java.lang.Object object)intopenForWriting(java.lang.Object object)booleansetName(java.lang.Object object, java.lang.String newName)
-
Constructor Details
-
GLMapDocumentTreeStorage
public GLMapDocumentTreeStorage(@Nonnull android.content.Context context, @Nonnull androidx.documentfile.provider.DocumentFile file)
-
-
Method Details
-
listFiles
@Nullable public java.lang.Object[] listFiles()- Specified by:
listFilesin interfaceGLMapCustomStorage
-
getName
@Nullable public java.lang.String getName(java.lang.Object object)- Specified by:
getNamein interfaceGLMapCustomStorage
-
setName
public boolean setName(java.lang.Object object, java.lang.String newName)- Specified by:
setNamein interfaceGLMapCustomStorage
-
openForWriting
public int openForWriting(java.lang.Object object)- Specified by:
openForWritingin interfaceGLMapCustomStorage
-
openForReading
public int openForReading(java.lang.Object object)- Specified by:
openForReadingin interfaceGLMapCustomStorage
-
deleteFile
public boolean deleteFile(java.lang.Object object)- Specified by:
deleteFilein interfaceGLMapCustomStorage
-
createFile
@Nullable public java.lang.Object createFile(java.lang.String name)- Specified by:
createFilein interfaceGLMapCustomStorage
-
findFile
@Nullable public java.lang.Object findFile(java.lang.String name)- Specified by:
findFilein interfaceGLMapCustomStorage
-
createStorage
@Nullable public java.lang.Object createStorage(java.lang.String name)- Specified by:
createStoragein interfaceGLMapCustomStorage
-