| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjtux.UFile
public class UFile
| Nested Class Summary | |
|---|---|
static class | 
UFile.fd_set
Java version of fd_set.  | 
static class | 
UFile.s_iovec
Java version of C struct iovec.  | 
static class | 
UFile.s_pollfd
Java version of C struct pollfd.  | 
static class | 
UFile.s_stat
Java version of C struct stat.  | 
static class | 
UFile.s_statvfs
Java version of C struct statvfs.  | 
static class | 
UFile.s_utimbuf
Java version of C struct utimbuf.  | 
| Constructor Summary | |
|---|---|
UFile()
 | 
|
| Method Summary | |
|---|---|
static void | 
access(java.lang.String path,
       int what)
Calls access.  | 
static void | 
chmod(java.lang.String path,
      int mode)
Calls chmod.  | 
static void | 
chown(java.lang.String path,
      long uid,
      long gid)
Calls chown.  | 
static void | 
close(int fd)
Calls close.  | 
static int | 
creat(java.lang.String path,
      int perms)
Does the equivalent of creat, by calling open.  | 
static int | 
dup(int fd)
Calls dup.  | 
static int | 
dup2(int fd,
     int fd2)
Calls dup2.  | 
static void | 
fchmod(int fd,
       int mode)
Calls fchmod.  | 
static void | 
fchown(int fd,
       long uid,
       long gid)
Calls fchown.  | 
static int | 
fcntl(int fd,
      int op,
      int arg)
Calls fcntl.  | 
static void | 
FD_CLR(int fd,
       UFile.fd_set set)
Calls FD_CLR.  | 
static boolean | 
FD_ISSET(int fd,
         UFile.fd_set set)
Calls FD_ISSET.  | 
static void | 
FD_SET(int fd,
       UFile.fd_set set)
Calls FD_SET.  | 
static void | 
FD_ZERO(UFile.fd_set set)
Calls FD_ZERO.  | 
static void | 
fdatasync(int fd)
Calls fdatasync.  | 
static void | 
fstat(int fd,
      UFile.s_stat buf)
Calls fstat.  | 
static void | 
fstatvfs(int fd,
         UFile.s_statvfs buf)
Calls fstatvfs.  | 
static void | 
fsync(int fd)
Calls fsync.  | 
static void | 
ftruncate(int fd,
          long length)
Calls ftruncate.  | 
static void | 
lchown(java.lang.String path,
       long uid,
       long gid)
Calls lchown.  | 
static void | 
link(java.lang.String oldpath,
     java.lang.String newpath)
Calls link.  | 
static void | 
lockf(int fd,
      int op,
      long len)
Calls lockf.  | 
static long | 
lseek(int fd,
      long pos,
      int whence)
Calls lseek.  | 
static void | 
lstat(java.lang.String path,
      UFile.s_stat buf)
Calls lstat.  | 
static void | 
mkfifo(java.lang.String path,
       int perms)
Calls mkfifo.  | 
static void | 
mknod(java.lang.String path,
      int mode,
      int dev)
Calls mknod.  | 
static int | 
mkstemp(java.lang.StringBuffer template)
Calls mkstemp.  | 
static int | 
open(java.lang.String path,
     int flags)
Calls open.  | 
static int | 
open(java.lang.String path,
     int flags,
     int perms)
Calls open.  | 
static void | 
pipe(int[] pfd)
Calls pipe.  | 
static int | 
poll(UFile.s_pollfd[] fdinfo,
     int nfds,
     int timeout)
Calls poll.  | 
static int | 
pread(int fd,
      byte[] buf,
      int nbytes,
      long offset)
Calls pread.  | 
static int | 
pselect(int nfds,
        UFile.fd_set readset,
        UFile.fd_set writeset,
        UFile.fd_set errorset,
        UProcess.s_timespec timeout,
        UProcess.sigset_t sigmask)
Calls pselect.  | 
static int | 
pwrite(int fd,
       byte[] buf,
       int nbytes,
       long position)
Calls pwrite.  | 
static int | 
read(int fd,
     byte[] buf,
     int nbytes)
Calls read.  | 
static int | 
readlink(java.lang.String path,
         byte[] buf,
         int bufsize)
Calls readlink.  | 
static int | 
readv(int fd,
      UFile.s_iovec[] iov,
      int iovcnt)
Calls readv.  | 
static void | 
rename(java.lang.String oldpath,
       java.lang.String newpath)
Calls rename.  | 
static boolean | 
S_ISBLK(int mode)
Calls S_ISBLK.  | 
static boolean | 
S_ISCHR(int mode)
Calls S_ISCHR.  | 
static boolean | 
S_ISDIR(int mode)
Calls S_ISDIR.  | 
static boolean | 
S_ISFIFO(int mode)
Calls S_ISFIFO.  | 
static boolean | 
S_ISLNK(int mode)
Calls S_ISLNK.  | 
static boolean | 
S_ISREG(int mode)
Calls S_ISREG.  | 
static boolean | 
S_ISSOCK(int mode)
Calls S_ISSOCK.  | 
static int | 
select(int nfds,
       UFile.fd_set readset,
       UFile.fd_set writeset,
       UFile.fd_set errorset,
       UProcess.s_timeval timeout)
Calls select.  | 
static void | 
stat(java.lang.String path,
     UFile.s_stat buf)
Calls stat.  | 
static void | 
statvfs(java.lang.String path,
        UFile.s_statvfs buf)
Calls statvfs.  | 
static void | 
symlink(java.lang.String oldpath,
        java.lang.String newpath)
Calls symlink.  | 
static void | 
sync()
Calls sync.  | 
static void | 
truncate(java.lang.String path,
         long length)
Calls truncate.  | 
static void | 
unlink(java.lang.String path)
Calls unlink.  | 
static void | 
utime(java.lang.String path,
      UFile.s_utimbuf timbuf)
Calls utime.  | 
static int | 
write(int fd,
      byte[] buf,
      int nbytes)
Calls write.  | 
static int | 
writev(int fd,
       UFile.s_iovec[] iov,
       int iovcnt)
Calls writev.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public UFile()
| Method Detail | 
|---|
public static void access(java.lang.String path,
                          int what)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void chmod(java.lang.String path,
                         int mode)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void chown(java.lang.String path,
                         long uid,
                         long gid)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void close(int fd)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int creat(java.lang.String path,
                        int perms)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int dup(int fd)
               throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int dup2(int fd,
                       int fd2)
                throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void fchmod(int fd,
                          int mode)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void fchown(int fd,
                          long uid,
                          long gid)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int fcntl(int fd,
                        int op,
                        int arg)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorExceptionpublic static void FD_ZERO(UFile.fd_set set)
Click here for Posix/SUS C API.
public static void FD_SET(int fd,
                          UFile.fd_set set)
Click here for Posix/SUS C API.
public static void FD_CLR(int fd,
                          UFile.fd_set set)
Click here for Posix/SUS C API.
public static boolean FD_ISSET(int fd,
                               UFile.fd_set set)
Click here for Posix/SUS C API.
public static void fdatasync(int fd)
                      throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void fstat(int fd,
                         UFile.s_stat buf)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void fstatvfs(int fd,
                            UFile.s_statvfs buf)
                     throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void fsync(int fd)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void ftruncate(int fd,
                             long length)
                      throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void lchown(java.lang.String path,
                          long uid,
                          long gid)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void link(java.lang.String oldpath,
                        java.lang.String newpath)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void lockf(int fd,
                         int op,
                         long len)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static long lseek(int fd,
                         long pos,
                         int whence)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void lstat(java.lang.String path,
                         UFile.s_stat buf)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mkfifo(java.lang.String path,
                          int perms)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mknod(java.lang.String path,
                         int mode,
                         int dev)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int mkstemp(java.lang.StringBuffer template)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int open(java.lang.String path,
                       int flags,
                       int perms)
                throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int open(java.lang.String path,
                       int flags)
                throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void pipe(int[] pfd)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int poll(UFile.s_pollfd[] fdinfo,
                       int nfds,
                       int timeout)
Click here for Posix/SUS C API.
public static int pread(int fd,
                        byte[] buf,
                        int nbytes,
                        long offset)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int pselect(int nfds,
                          UFile.fd_set readset,
                          UFile.fd_set writeset,
                          UFile.fd_set errorset,
                          UProcess.s_timespec timeout,
                          UProcess.sigset_t sigmask)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int pwrite(int fd,
                         byte[] buf,
                         int nbytes,
                         long position)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int read(int fd,
                       byte[] buf,
                       int nbytes)
                throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int readlink(java.lang.String path,
                           byte[] buf,
                           int bufsize)
                    throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int readv(int fd,
                        UFile.s_iovec[] iov,
                        int iovcnt)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void rename(java.lang.String oldpath,
                          java.lang.String newpath)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorExceptionpublic static boolean S_ISBLK(int mode)
public static boolean S_ISCHR(int mode)
public static boolean S_ISDIR(int mode)
public static boolean S_ISFIFO(int mode)
public static boolean S_ISLNK(int mode)
public static boolean S_ISREG(int mode)
public static boolean S_ISSOCK(int mode)
public static int select(int nfds,
                         UFile.fd_set readset,
                         UFile.fd_set writeset,
                         UFile.fd_set errorset,
                         UProcess.s_timeval timeout)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void stat(java.lang.String path,
                        UFile.s_stat buf)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void statvfs(java.lang.String path,
                           UFile.s_statvfs buf)
                    throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void symlink(java.lang.String oldpath,
                           java.lang.String newpath)
                    throws UErrorException
Click here for Posix/SUS C API.
UErrorExceptionpublic static void sync()
Click here for Posix/SUS C API.
public static void truncate(java.lang.String path,
                            long length)
                     throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void unlink(java.lang.String path)
                   throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void utime(java.lang.String path,
                         UFile.s_utimbuf timbuf)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int write(int fd,
                        byte[] buf,
                        int nbytes)
                 throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int writev(int fd,
                         UFile.s_iovec[] iov,
                         int iovcnt)
                  throws UErrorException
Click here for Posix/SUS C API.
UErrorException
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||