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 class
SpawnFileAction.Close
private static class
SpawnFileAction.Dup
private static class
SpawnFileAction.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 boolean
act(POSIX posix, jnr.ffi.Pointer nativeFileActions)
static SpawnFileAction
close(int fd)
static SpawnFileAction
dup(int fd, int newfd)
static SpawnFileAction
open(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)
-
-