| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | SUPPORTS_OPENAT
Capabilities |
| private static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| private static native int | |
| pack-priv static boolean | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| pack-priv static <X extends Throwable> void | |
| private static native void | |
| pack-priv static native void | |
| pack-priv static NativeBuffer | |
| pack-priv static native int | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static boolean | |
| private static native boolean | |
| pack-priv static void | |
| pack-priv static native void | |
| pack-priv static native long | |
| pack-priv static int | fgetxattr(int filedes, byte[] name, long valueAddress, int valueLen)
ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size); |
| private static native int | |
| pack-priv static native int | flistxattr(int filedes, long listAddress, int size)
size_t flistxattr(int filedes, const char *list, size_t size) |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | fsetxattr(int filedes, byte[] name, long valueAddress, int valueLen)
fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags); |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | fstatat(int dfd, UnixPath path, int flag, UnixFileAttributes attrs)
fstatat(int filedes,const char* path, struct stat* buf, int flag) |
| private static native int | |
| pack-priv static int | |
| pack-priv static void | |
| private static native void | |
| pack-priv static native byte[] | |
| pack-priv static native byte[] | |
| pack-priv static int | |
| private static native int | |
| pack-priv static native int | |
| pack-priv static int | |
| private static native int | |
| pack-priv static native byte[] | |
| private static native int | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static int | |
| private static native int | |
| pack-priv static int | openat(int dfd, byte[] path, int flags, int mode)
int openat(int dfd, const char* path, int oflag, mode_t mode) |
| private static native int | |
| pack-priv static boolean | |
| pack-priv static long | |
| private static native long | |
| pack-priv static int | |
| private static native int | |
| pack-priv static byte[] | |
| pack-priv static native byte[] | |
| pack-priv static byte[] | |
| private static native byte[] | |
| pack-priv static byte[] | |
| private static native byte[] | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | renameat(int fromfd, byte[] from, int tofd, byte[] to)
renameat(int fromfd, const char* old, int tofd, const char* new) |
| private static native void | |
| pack-priv static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native int | |
| pack-priv static int | |
| pack-priv static void | |
| private static native void | |
| pack-priv static native byte[] | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static void | |
| private static native void | |
| pack-priv static int | |
| private static native int | |
| pack-priv static boolean |
| capabilities | back to summary |
|---|---|
| private static final int capabilities | |
| SUPPORTS_BIRTHTIME | back to summary |
|---|---|
| private static final int SUPPORTS_BIRTHTIME | |
| SUPPORTS_OPENAT | back to summary |
|---|---|
| private static final int SUPPORTS_OPENAT Capabilities | |
| SUPPORTS_XATTR | back to summary |
|---|---|
| private static final int SUPPORTS_XATTR | |
| UnixNativeDispatcher | back to summary |
|---|---|
| protected UnixNativeDispatcher() | |
| access | back to summary |
|---|---|
| pack-priv static int access(UnixPath path, int amode) access(const char* path, int amode); | |
| access0 | back to summary |
|---|---|
| private static native int access0(long pathAddress, int amode) | |
| birthtimeSupported | back to summary |
|---|---|
| pack-priv static boolean birthtimeSupported() Supports file birth (creation) time attribute | |
| chmod | back to summary |
|---|---|
| pack-priv static void chmod(UnixPath path, int mode) throws UnixException chmod(const char* path, mode_t mode) | |
| chmod0 | back to summary |
|---|---|
| private static native void chmod0(long pathAddress, int mode) throws UnixException | |
| chown | back to summary |
|---|---|
| pack-priv static void chown(UnixPath path, int uid, int gid) throws UnixException chown(const char* path, uid_t owner, gid_t group) | |
| chown0 | back to summary |
|---|---|
| private static native void chown0(long pathAddress, int uid, int gid) throws UnixException | |
| close | back to summary |
|---|---|
| pack-priv static void close(int fd) throws UnixException close(int filedes). If fd is -1 this is a no-op. | |
| close | back to summary |
|---|---|
| pack-priv static <X extends Throwable> void close(int fd, Function<UnixException, X> mapper) throws Function-:X close(fd). If close fails then the given exception supplier function is invoked to produce an exception to throw. If the function returns null then no exception is thrown. If close fails and the exception supplier function is null, then no exception is thrown. | |
| close0 | back to summary |
|---|---|
| private static native void close0(int fd) throws UnixException | |
| closedir | back to summary |
|---|---|
| pack-priv static native void closedir(long dir) throws UnixException closedir(DIR* dirp) | |
| copyToNativeBuffer | back to summary |
|---|---|
| pack-priv static NativeBuffer copyToNativeBuffer(UnixPath path) | |
| dup | back to summary |
|---|---|
| pack-priv static native int dup(int filedes) throws UnixException int dup(int filedes) | |
| fchmod | back to summary |
|---|---|
| pack-priv static void fchmod(int fd, int mode) throws UnixException fchmod(int fildes, mode_t mode) | |
| fchmod0 | back to summary |
|---|---|
| private static native void fchmod0(int fd, int mode) throws UnixException | |
| fchmodat | back to summary |
|---|---|
| pack-priv static void fchmodat(int fd, UnixPath path, int mode, int flag) throws UnixException fchmodat(int fd, const char *path, mode_t mode, int flag) | |
| fchmodat0 | back to summary |
|---|---|
| private static native void fchmodat0(int fd, long pathAddress, int mode, int flag) throws UnixException | |
| fchmodatNoFollowSupported | back to summary |
|---|---|
| pack-priv static boolean fchmodatNoFollowSupported() Supports fchmodat with AT_SYMLINK_NOFOLLOW flag | |
| fchmodatNoFollowSupported0 | back to summary |
|---|---|
| private static native boolean fchmodatNoFollowSupported0() | |
| fchown | back to summary |
|---|---|
| pack-priv static void fchown(int fd, int uid, int gid) throws UnixException fchown(int filedes, uid_t owner, gid_t group) | |
| fchown0 | back to summary |
|---|---|
| pack-priv static native void fchown0(int fd, int uid, int gid) throws UnixException | |
| fdopendir | back to summary |
|---|---|
| pack-priv static native long fdopendir(int dfd) throws UnixException DIR* fdopendir(int filedes) | |
| fgetxattr | back to summary |
|---|---|
| pack-priv static int fgetxattr(int filedes, byte[] name, long valueAddress, int valueLen) throws UnixException ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size); | |
| fgetxattr0 | back to summary |
|---|---|
| private static native int fgetxattr0(int filedes, long nameAddress, long valueAddress, int valueLen) throws UnixException | |
| flistxattr | back to summary |
|---|---|
| pack-priv static native int flistxattr(int filedes, long listAddress, int size) throws UnixException size_t flistxattr(int filedes, const char *list, size_t size) | |
| fremovexattr | back to summary |
|---|---|
| pack-priv static void fremovexattr(int filedes, byte[] name) throws UnixException fremovexattr(int filedes, const char *name); | |
| fremovexattr0 | back to summary |
|---|---|
| private static native void fremovexattr0(int filedes, long nameAddress) throws UnixException | |
| fsetxattr | back to summary |
|---|---|
| pack-priv static void fsetxattr(int filedes, byte[] name, long valueAddress, int valueLen) throws UnixException fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags); | |
| fsetxattr0 | back to summary |
|---|---|
| private static native void fsetxattr0(int filedes, long nameAddress, long valueAddress, int valueLen) throws UnixException | |
| fstat | back to summary |
|---|---|
| pack-priv static void fstat(int fd, UnixFileAttributes attrs) throws UnixException fstat(int filedes, struct stat* buf) | |
| fstat0 | back to summary |
|---|---|
| private static native void fstat0(int fd, UnixFileAttributes attrs) throws UnixException | |
| fstatat | back to summary |
|---|---|
| pack-priv static void fstatat(int dfd, UnixPath path, int flag, UnixFileAttributes attrs) throws UnixException fstatat(int filedes,const char* path, struct stat* buf, int flag) | |
| fstatat0 | back to summary |
|---|---|
| private static native int fstatat0(int dfd, long pathAddress, int flag, UnixFileAttributes attrs) | |
| fstatat2 | back to summary |
|---|---|
| pack-priv static int fstatat2(int dfd, UnixPath path, int flag, UnixFileAttributes attrs) | |
| futimens | back to summary |
|---|---|
| pack-priv static void futimens(int fd, long times0, long times1) throws UnixException futimens(int fildes, const struct timespec times[2]) | |
| futimens0 | back to summary |
|---|---|
| private static native void futimens0(int fd, long times0, long times1) throws UnixException | |
| getcwd | back to summary |
|---|---|
| pack-priv static native byte[] getcwd() char *getcwd(char *buf, size_t size); | |
| getgrgid | back to summary |
|---|---|
| pack-priv static native byte[] getgrgid(int gid) throws UnixException struct group *getgrgid(gid_t gid);
| |
| getgrnam | back to summary |
|---|---|
| pack-priv static int getgrnam(String name) throws UnixException struct group *getgrnam(const char *name);
| |
| getgrnam0 | back to summary |
|---|---|
| private static native int getgrnam0(long nameAddress) throws UnixException | |
| getlinelen | back to summary |
|---|---|
| pack-priv static native int getlinelen(long stream) throws UnixException ssize_t getline(char **lineptr, size_t *n, FILE *stream); | |
| getpwnam | back to summary |
|---|---|
| pack-priv static int getpwnam(String name) throws UnixException struct passwd *getpwnam(const char *name);
| |
| getpwnam0 | back to summary |
|---|---|
| private static native int getpwnam0(long nameAddress) throws UnixException | |
| getpwuid | back to summary |
|---|---|
| pack-priv static native byte[] getpwuid(int uid) throws UnixException struct passwd *getpwuid(uid_t uid);
| |
| init | back to summary |
|---|---|
| private static native int init() | |
| lchown | back to summary |
|---|---|
| pack-priv static void lchown(UnixPath path, int uid, int gid) throws UnixException lchown(const char* path, uid_t owner, gid_t group) | |
| lchown0 | back to summary |
|---|---|
| private static native void lchown0(long pathAddress, int uid, int gid) throws UnixException | |
| link | back to summary |
|---|---|
| pack-priv static void link(UnixPath existing, UnixPath newfile) throws UnixException link(const char* existing, const char* new) | |
| link0 | back to summary |
|---|---|
| private static native void link0(long existingAddress, long newAddress) throws UnixException | |
| lstat | back to summary |
|---|---|
| pack-priv static void lstat(UnixPath path, UnixFileAttributes attrs) throws UnixException lstat(const char* path, struct stat* buf) | |
| lstat0 | back to summary |
|---|---|
| private static native void lstat0(long pathAddress, UnixFileAttributes attrs) throws UnixException | |
| mkdir | back to summary |
|---|---|
| pack-priv static void mkdir(UnixPath path, int mode) throws UnixException mkdir(const char* path, mode_t mode) | |
| mkdir0 | back to summary |
|---|---|
| private static native void mkdir0(long pathAddress, int mode) throws UnixException | |
| mknod | back to summary |
|---|---|
| pack-priv static void mknod(UnixPath path, int mode, long dev) throws UnixException mknod(const char* path, mode_t mode, dev_t dev) | |
| mknod0 | back to summary |
|---|---|
| private static native void mknod0(long pathAddress, int mode, long dev) throws UnixException | |
| open | back to summary |
|---|---|
| pack-priv static int open(UnixPath path, int flags, int mode) throws UnixException int open(const char* path, int oflag, mode_t mode) | |
| open0 | back to summary |
|---|---|
| private static native int open0(long pathAddress, int flags, int mode) throws UnixException | |
| openat | back to summary |
|---|---|
| pack-priv static int openat(int dfd, byte[] path, int flags, int mode) throws UnixException int openat(int dfd, const char* path, int oflag, mode_t mode) | |
| openat0 | back to summary |
|---|---|
| private static native int openat0(int dfd, long pathAddress, int flags, int mode) throws UnixException | |
| openatSupported | back to summary |
|---|---|
| pack-priv static boolean openatSupported() Supports openat and other *at calls. | |
| opendir | back to summary |
|---|---|
| pack-priv static long opendir(UnixPath path) throws UnixException DIR *opendir(const char* dirname) | |
| opendir0 | back to summary |
|---|---|
| private static native long opendir0(long pathAddress) throws UnixException | |
| read | back to summary |
|---|---|
| pack-priv static int read(int fildes, long buf, int nbyte) throws UnixException size_t read(int fildes, void* buf, size_t nbyte) | |
| read0 | back to summary |
|---|---|
| private static native int read0(int fildes, long buf, int nbyte) throws UnixException | |
| readdir | back to summary |
|---|---|
| pack-priv static byte[] readdir(long dir) throws UnixException struct dirent* readdir(DIR *dirp)
| |
| readdir0 | back to summary |
|---|---|
| pack-priv static native byte[] readdir0(long dir) throws UnixException | |
| readlink | back to summary |
|---|---|
| pack-priv static byte[] readlink(UnixPath path) throws UnixException readlink(const char* path, char* buf, size_t bufsize)
| |
| readlink0 | back to summary |
|---|---|
| private static native byte[] readlink0(long pathAddress) throws UnixException | |
| realpath | back to summary |
|---|---|
| pack-priv static byte[] realpath(UnixPath path) throws UnixException realpath(const char* path, char* resolved_name)
| |
| realpath0 | back to summary |
|---|---|
| private static native byte[] realpath0(long pathAddress) throws UnixException | |
| rename | back to summary |
|---|---|
| pack-priv static void rename(UnixPath from, UnixPath to) throws UnixException rename(const char* old, const char* new) | |
| rename0 | back to summary |
|---|---|
| private static native void rename0(long fromAddress, long toAddress) throws UnixException | |
| renameat | back to summary |
|---|---|
| pack-priv static void renameat(int fromfd, byte[] from, int tofd, byte[] to) throws UnixException renameat(int fromfd, const char* old, int tofd, const char* new) | |
| renameat0 | back to summary |
|---|---|
| private static native void renameat0(int fromfd, long fromAddress, int tofd, long toAddress) throws UnixException | |
| rewind | back to summary |
|---|---|
| pack-priv static native void rewind(long stream) throws UnixException void rewind(FILE* stream); | |
| rmdir | back to summary |
|---|---|
| pack-priv static void rmdir(UnixPath path) throws UnixException rmdir(const char* path) | |
| rmdir0 | back to summary |
|---|---|
| private static native void rmdir0(long pathAddress) throws UnixException | |
| stat | back to summary |
|---|---|
| pack-priv static void stat(UnixPath path, UnixFileAttributes attrs) throws UnixException stat(const char* path, struct stat* buf) | |
| stat0 | back to summary |
|---|---|
| private static native int stat0(long pathAddress, UnixFileAttributes attrs) | |
| stat2 | back to summary |
|---|---|
| pack-priv static int stat2(UnixPath path, UnixFileAttributes attrs) | |
| statvfs | back to summary |
|---|---|
| pack-priv static void statvfs(UnixPath path, UnixFileStoreAttributes attrs) throws UnixException statvfs(const char* path, struct statvfs *buf) | |
| statvfs0 | back to summary |
|---|---|
| private static native void statvfs0(long pathAddress, UnixFileStoreAttributes attrs) throws UnixException | |
| strerror | back to summary |
|---|---|
| pack-priv static native byte[] strerror(int errnum) char* strerror(int errnum) | |
| symlink | back to summary |
|---|---|
| pack-priv static void symlink(byte[] name1, UnixPath name2) throws UnixException symlink(const char* name1, const char* name2) | |
| symlink0 | back to summary |
|---|---|
| private static native void symlink0(long name1, long name2) throws UnixException | |
| unlink | back to summary |
|---|---|
| pack-priv static void unlink(UnixPath path) throws UnixException unlink(const char* path) | |
| unlink0 | back to summary |
|---|---|
| private static native void unlink0(long pathAddress) throws UnixException | |
| unlinkat | back to summary |
|---|---|
| pack-priv static void unlinkat(int dfd, byte[] path, int flag) throws UnixException unlinkat(int dfd, const char* path, int flag) | |
| unlinkat0 | back to summary |
|---|---|
| private static native void unlinkat0(int dfd, long pathAddress, int flag) throws UnixException | |
| utimensat | back to summary |
|---|---|
| pack-priv static void utimensat(int fd, UnixPath path, long times0, long times1, int flags) throws UnixException utimensat(int fd, const char* path, const struct timeval times[2], int flags) | |
| utimensat0 | back to summary |
|---|---|
| private static native void utimensat0(int fd, long pathAddress, long times0, long times1, int flags) throws UnixException | |
| write | back to summary |
|---|---|
| pack-priv static int write(int fildes, long buf, int nbyte) throws UnixException size_t writeint fildes, void* buf, size_t nbyte) | |
| write0 | back to summary |
|---|---|
| private static native int write0(int fildes, long buf, int nbyte) throws UnixException | |
| xattrSupported | back to summary |
|---|---|
| pack-priv static boolean xattrSupported() Supports extended attributes | |