Package jnr.posix

Class SpawnFileAction.Open

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int fd  
      (package private) int flags  
      (package private) int mode  
      (package private) java.nio.ByteBuffer nativePath  
      (package private) java.lang.String path  
    • Constructor Summary

      Constructors 
      Constructor Description
      Open​(java.lang.String path, int fd, int flags, int mode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean act​(POSIX posix, jnr.ffi.Pointer nativeFileActions)  
      private java.nio.ByteBuffer defensiveCopy​(java.lang.String path)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • path

        final java.lang.String path
      • fd

        final int fd
      • flags

        final int flags
      • mode

        final int mode
      • nativePath

        final java.nio.ByteBuffer nativePath
    • Constructor Detail

      • Open

        public Open​(java.lang.String path,
                    int fd,
                    int flags,
                    int mode)
    • Method Detail

      • defensiveCopy

        private java.nio.ByteBuffer defensiveCopy​(java.lang.String path)
      • act

        final boolean act​(POSIX posix,
                          jnr.ffi.Pointer nativeFileActions)
        Specified by:
        act in class SpawnFileAction
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object