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
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
listFiles
@Nullable public java.lang.Object[] listFiles()
- Specified by:
listFilesin interfaceGLMapCustomStorage
-
getName
@Nullable public java.lang.String getName(@NonNull java.lang.Object object)- Specified by:
getNamein interfaceGLMapCustomStorage
-
setName
public boolean setName(@NonNull java.lang.Object object, java.lang.String newName)- Specified by:
setNamein interfaceGLMapCustomStorage
-
openForWriting
public int openForWriting(@NonNull java.lang.Object object)- Specified by:
openForWritingin interfaceGLMapCustomStorage
-
openForReading
public int openForReading(@NonNull java.lang.Object object)- Specified by:
openForReadingin interfaceGLMapCustomStorage
-
deleteFile
public boolean deleteFile(@NonNull java.lang.Object object)- Specified by:
deleteFilein interfaceGLMapCustomStorage
-
createFile
@Nullable public java.lang.Object createFile(@NonNull java.lang.String name)- Specified by:
createFilein interfaceGLMapCustomStorage
-
findFile
@Nullable public java.lang.Object findFile(@NonNull java.lang.String name)- Specified by:
findFilein interfaceGLMapCustomStorage
-
createStorage
@Nullable public java.lang.Object createStorage(@NonNull java.lang.String name)- Specified by:
createStoragein interfaceGLMapCustomStorage
-
-