public static interface MacFileUtils.FileManager extends Library
Modifier and Type | Interface and Description |
---|---|
static class |
MacFileUtils.FileManager.FSRef |
Library.Handler
Modifier and Type | Field and Description |
---|---|
static MacFileUtils.FileManager |
INSTANCE |
static int |
kFSFileOperationDefaultOptions |
static int |
kFSFileOperationsDoNotMoveAcrossVolumes |
static int |
kFSFileOperationsOverwrite |
static int |
kFSFileOperationsSkipPreflight |
static int |
kFSFileOperationsSkipSourcePermissionErrors |
static int |
kFSPathDefaultOptions |
static int |
kFSPathMakeRefDoNotFollowLeafSymlink |
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
Modifier and Type | Method and Description |
---|---|
int |
FSMoveObjectToTrashSync(MacFileUtils.FileManager.FSRef source,
MacFileUtils.FileManager.FSRef target,
int options) |
int |
FSPathMakeRef(String source,
int options,
ByteByReference isDirectory) |
int |
FSPathMakeRefWithOptions(String source,
int options,
MacFileUtils.FileManager.FSRef fsref,
ByteByReference isDirectory) |
int |
FSPathMoveObjectToTrashSync(String source,
PointerByReference target,
int options) |
int |
FSRefMakePath(MacFileUtils.FileManager.FSRef fsref,
byte[] path,
int maxPathSize) |
static final MacFileUtils.FileManager INSTANCE
static final int kFSFileOperationDefaultOptions
static final int kFSFileOperationsOverwrite
static final int kFSFileOperationsSkipSourcePermissionErrors
static final int kFSFileOperationsDoNotMoveAcrossVolumes
static final int kFSFileOperationsSkipPreflight
static final int kFSPathDefaultOptions
static final int kFSPathMakeRefDoNotFollowLeafSymlink
int FSRefMakePath(MacFileUtils.FileManager.FSRef fsref, byte[] path, int maxPathSize)
int FSPathMakeRef(String source, int options, ByteByReference isDirectory)
int FSPathMakeRefWithOptions(String source, int options, MacFileUtils.FileManager.FSRef fsref, ByteByReference isDirectory)
int FSPathMoveObjectToTrashSync(String source, PointerByReference target, int options)
int FSMoveObjectToTrashSync(MacFileUtils.FileManager.FSRef source, MacFileUtils.FileManager.FSRef target, int options)