Interface XAttr
- All Superinterfaces:
Library
JNA wrapper for <sys/xattr.h>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Library
Library.Handler -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.getxattr(String path, String name, Pointer value, LibCAPI.size_t size, int position, int options) longDeprecated.listxattr(String path, Pointer namebuff, LibCAPI.size_t size, int options) intremovexattr(String path, String name, int options) intDeprecated.intsetxattr(String path, String name, Pointer value, LibCAPI.size_t size, int position, int options)
-
Field Details
-
INSTANCE
-
XATTR_NOFOLLOW
static final int XATTR_NOFOLLOW- See Also:
-
XATTR_CREATE
static final int XATTR_CREATE- See Also:
-
XATTR_REPLACE
static final int XATTR_REPLACE- See Also:
-
XATTR_NOSECURITY
static final int XATTR_NOSECURITY- See Also:
-
XATTR_NODEFAULT
static final int XATTR_NODEFAULT- See Also:
-
XATTR_SHOWCOMPRESSION
static final int XATTR_SHOWCOMPRESSION- See Also:
-
XATTR_MAXNAMELEN
static final int XATTR_MAXNAMELEN- See Also:
-
XATTR_FINDERINFO_NAME
- See Also:
-
XATTR_RESOURCEFORK_NAME
- See Also:
-
-
Method Details
-
getxattr
LibCAPI.ssize_t getxattr(String path, String name, Pointer value, LibCAPI.size_t size, int position, int options) -
getxattr
@Deprecated long getxattr(String path, String name, Pointer value, long size, int position, int options) Deprecated. -
setxattr
int setxattr(String path, String name, Pointer value, LibCAPI.size_t size, int position, int options) -
setxattr
@Deprecated int setxattr(String path, String name, Pointer value, long size, int position, int options) Deprecated. -
removexattr
-
listxattr
-
listxattr
Deprecated.
-
getxattr(String, String, Pointer, size_t, int, int)