public class LinuxFileSystem extends BaseFileSystem<AndroidFileIO> implements FileSystem<AndroidFileIO>, IOConstants
emulator, rootDirDEFAULT_ROOT_FS, DEFAULT_WORK_DIRO_APPEND, O_CLOEXEC, O_CREAT, O_DIRECTORY, O_EXCL, O_NOFOLLOW, O_NONBLOCK, O_RDONLY, O_RDWR, O_WRONLY| Constructor and Description |
|---|
LinuxFileSystem(Emulator<AndroidFileIO> emulator,
File rootDir) |
| Modifier and Type | Method and Description |
|---|---|
AndroidFileIO |
createDirectoryFileIO(File file,
int oflags,
String path) |
AndroidFileIO |
createSimpleFileIO(File file,
int oflags,
String path) |
protected AndroidFileIO |
createStdin(int oflags) |
protected AndroidFileIO |
createStdout(int oflags,
File stdio,
String pathname) |
LogCatHandler |
getLogCatHandler() |
protected boolean |
hasAppend(int oflags) |
protected boolean |
hasCreat(int oflags) |
protected boolean |
hasDirectory(int oflags) |
protected boolean |
hasExcl(int oflags) |
protected void |
initialize(File rootDir) |
FileResult<AndroidFileIO> |
open(String pathname,
int oflags) |
createWorkDir, getRootDir, mkdir, rename, rmdir, unlinkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateWorkDir, getRootDir, mkdir, rename, rmdir, unlinkpublic LinuxFileSystem(Emulator<AndroidFileIO> emulator, File rootDir)
public FileResult<AndroidFileIO> open(String pathname, int oflags)
open in interface FileSystem<AndroidFileIO>open in class BaseFileSystem<AndroidFileIO>public LogCatHandler getLogCatHandler()
protected void initialize(File rootDir) throws IOException
initialize in class BaseFileSystem<AndroidFileIO>IOExceptionpublic AndroidFileIO createSimpleFileIO(File file, int oflags, String path)
createSimpleFileIO in interface FileSystem<AndroidFileIO>public AndroidFileIO createDirectoryFileIO(File file, int oflags, String path)
createDirectoryFileIO in interface FileSystem<AndroidFileIO>protected AndroidFileIO createStdin(int oflags)
createStdin in class BaseFileSystem<AndroidFileIO>protected AndroidFileIO createStdout(int oflags, File stdio, String pathname)
createStdout in class BaseFileSystem<AndroidFileIO>protected boolean hasCreat(int oflags)
hasCreat in class BaseFileSystem<AndroidFileIO>protected boolean hasDirectory(int oflags)
hasDirectory in class BaseFileSystem<AndroidFileIO>protected boolean hasAppend(int oflags)
hasAppend in class BaseFileSystem<AndroidFileIO>protected boolean hasExcl(int oflags)
hasExcl in class BaseFileSystem<AndroidFileIO>Copyright © 2026. All rights reserved.