|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.android.CommonPathUtil
public abstract class CommonPathUtil
This class provides utility methods to get common paths on the Android filessytem.
| Constructor Summary | |
|---|---|
CommonPathUtil()
|
|
| Method Summary | |
|---|---|
static String |
getAssetsDirectoryPath()
Gets the relative path to the assets directory within the jar |
static String |
getExternalStorageDirectoryPath()
Gets the path to the external storage directory |
static String |
getFilesDirectoryPath(String packageName)
Returns the absolute path to the directory on the Android filesystem where files are stored for the current application. |
static String |
getMountedExternalStorageDirectoryPath()
Gets the path to the external storage directory only if mounted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonPathUtil()
| Method Detail |
|---|
public static String getMountedExternalStorageDirectoryPath()
null if not mounted.public static String getExternalStorageDirectoryPath()
public static String getFilesDirectoryPath(String packageName)
packageName - name of the application package
public static String getAssetsDirectoryPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||