public class SimpleFileIO extends BaseAndroidFileIO implements NewFileIO
| 限定符和类型 | 字段和说明 |
|---|---|
protected File |
file |
protected String |
path |
oflags, opSIOCGIFCONF, SIOCGIFFLAGS| 构造器和说明 |
|---|
SimpleFileIO(int oflags,
File file,
String path) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
FileIO |
dup2() |
int |
fstat(Emulator<?> emulator,
StatStructure stat) |
int |
ftruncate(int length) |
protected byte[] |
getMmapData(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, listen, mmap2, pread, recvfrom, sendto, setsockopt, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbind, connect, fcntl, getpeername, getsockname, getsockopt, listen, mmap2, pread, recvfrom, sendto, setsockopt, shutdownpublic void close()
close 在接口中 FileIOclose 在类中 AbstractFileIOpublic int write(byte[] data)
write 在接口中 FileIOwrite 在类中 AbstractFileIOpublic int read(Backend backend, com.sun.jna.Pointer pointer, int _count)
read 在接口中 FileIOread 在类中 AbstractFileIOpublic int fstat(Emulator<?> emulator, StatStructure stat)
fstat 在接口中 AndroidFileIOfstat 在类中 BaseAndroidFileIOprotected byte[] getMmapData(int offset,
int length)
throws IOException
getMmapData 在类中 AbstractFileIOIOExceptionpublic int ioctl(Emulator<?> emulator, long request, long argp)
ioctl 在接口中 FileIOioctl 在类中 AbstractFileIOpublic FileIO dup2()
dup2 在接口中 FileIOdup2 在类中 AbstractFileIOpublic int lseek(int offset,
int whence)
lseek 在接口中 FileIOlseek 在类中 AbstractFileIOpublic int llseek(long offset,
com.sun.jna.Pointer result,
int whence)
llseek 在接口中 FileIOllseek 在类中 AbstractFileIOpublic int ftruncate(int length)
ftruncate 在接口中 FileIOftruncate 在类中 AbstractFileIOpublic String getPath()
getPath 在接口中 FileIOgetPath 在类中 AbstractFileIOCopyright © 2021. All rights reserved.