Package io.nevernull.mobileui
Interface FileSystemService
-
public interface FileSystemService
File system abstraction for Android and iOS.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getApplicationPrivateDirectory()
Returns the platform-specific application-private directoryjava.io.File
getCacheDirectory()
Returns the platform-specific folder that should be used as cache directory.java.io.File
getDatabaseDirectory()
Returns the platform-specific folder that should be used as database directory.
-
-
-
Method Detail
-
getApplicationPrivateDirectory
java.io.File getApplicationPrivateDirectory()
Returns the platform-specific application-private directory- Returns:
- the application-private directory
-
getCacheDirectory
java.io.File getCacheDirectory()
Returns the platform-specific folder that should be used as cache directory.- Returns:
- the platform-specific folder that should be used as cache directory
-
getDatabaseDirectory
java.io.File getDatabaseDirectory()
Returns the platform-specific folder that should be used as database directory.- Returns:
- the platform-specific folder that should be used as database directory
-
-