public class SimpleFileIO extends BaseAndroidFileIO implements NewFileIO
| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected String |
path |
oflags, op, stdioSIOCGIFCONF, SIOCGIFFLAGS, SIOCGIFNAME| Constructor and Description |
|---|
SimpleFileIO(int oflags,
File file,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FileIO |
dup2() |
int |
fstat(Emulator<?> emulator,
StatStructure stat) |
int |
ftruncate(int length) |
protected byte[] |
getMmapData(long addr,
int offset,
int length) |
String |
getPath() |
int |
ioctl(Emulator<?> emulator,
long request,
long argp) |
int |
llseek(long offset,
com.sun.jna.Pointer result,
int whence) |
int |
lseek(int offset,
int whence) |
int |
read(Backend backend,
com.sun.jna.Pointer pointer,
int _count) |
String |
toString() |
int |
write(byte[] data) |
accept, getdents64, setFlags, statfsbind, canRead, connect, fcntl, getpeername, getsockname, getsockopt, isStdIO, listen, mmap2, pread, recvfrom, sendto, setsockopt, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbind, connect, fcntl, getpeername, getsockname, getsockopt, isStdIO, listen, mmap2, pread, recvfrom, sendto, setsockopt, shutdownpublic void close()
close in interface FileIOclose in class AbstractFileIOpublic int write(byte[] data)
write in interface FileIOwrite in class AbstractFileIOpublic int read(Backend backend, com.sun.jna.Pointer pointer, int _count)
read in interface FileIOread in class AbstractFileIOpublic int fstat(Emulator<?> emulator, StatStructure stat)
fstat in interface AndroidFileIOfstat in class BaseAndroidFileIOprotected byte[] getMmapData(long addr,
int offset,
int length)
throws IOException
getMmapData in class AbstractFileIOIOExceptionpublic int ioctl(Emulator<?> emulator, long request, long argp)
ioctl in interface FileIOioctl in class AbstractFileIOpublic FileIO dup2()
dup2 in interface FileIOdup2 in class AbstractFileIOpublic int lseek(int offset,
int whence)
lseek in interface FileIOlseek in class AbstractFileIOpublic int llseek(long offset,
com.sun.jna.Pointer result,
int whence)
llseek in interface FileIOllseek in class AbstractFileIOpublic int ftruncate(int length)
ftruncate in interface FileIOftruncate in class AbstractFileIOpublic String getPath()
getPath in interface FileIOgetPath in class AbstractFileIOCopyright © 2026. All rights reserved.