Package jnr.posix
Class SpawnFileAction
- java.lang.Object
-
- jnr.posix.SpawnFileAction
-
- Direct Known Subclasses:
SpawnFileAction.Close,SpawnFileAction.Dup,SpawnFileAction.Open
public abstract class SpawnFileAction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classSpawnFileAction.Closeprivate static classSpawnFileAction.Dupprivate static classSpawnFileAction.Open
-
Constructor Summary
Constructors Constructor Description SpawnFileAction()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract booleanact(POSIX posix, jnr.ffi.Pointer nativeFileActions)static SpawnFileActionclose(int fd)static SpawnFileActiondup(int fd, int newfd)static SpawnFileActionopen(java.lang.String path, int fd, int flags, int mode)
-
-
-
Method Detail
-
act
abstract boolean act(POSIX posix, jnr.ffi.Pointer nativeFileActions)
-
dup
public static SpawnFileAction dup(int fd, int newfd)
-
open
public static SpawnFileAction open(java.lang.String path, int fd, int flags, int mode)
-
close
public static SpawnFileAction close(int fd)
-
-