Method Summary |
|
public static String | asciiFilenameToUnicode(String str) Perform the reverse conversion of unicodeToAscii(). |
public synchronized void | delete(String name) Remove a file from storage if it exists. |
public synchronized boolean | exists(String name) Returns true if storage file name
exists. |
public long | getBytesAvailableForFiles(int storageId) Retrieves the approximate space available to grow or
create new storage files. |
public static String | getConfigRoot(int storageId) Returns the root to build configuration filenames including an needed
file separators, abstracting difference of the file systems
of development and device platforms. |
public static String | getStorageRoot(int storageId) Returns the root to build storage filenames including an needed
file separators, abstracting difference of the file systems
of development and device platforms. |
public synchronized void | rename(String oldName, String newName) Replaces the current name of storage, oldName
with newName . |
public static String | unicodeToAsciiFilename(String str) Convert a file name into a form that can be safely stored on
an ANSI-compatible file system. |