org.rococoa.cocoa.carboncore
Class FSPermissionInfo

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<FSPermissionInfo,FSPermissionInfo.ByValue,FSPermissionInfo.ByReference>
          extended by org.rococoa.cocoa.carboncore.FSPermissionInfo
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<FSPermissionInfo,FSPermissionInfo.ByValue,FSPermissionInfo.ByReference>>
Direct Known Subclasses:
FSPermissionInfo.ByReference, FSPermissionInfo.ByValue

public class FSPermissionInfo
extends Structure<FSPermissionInfo,FSPermissionInfo.ByValue,FSPermissionInfo.ByReference>

FSPermissionInfo

Discussion:
This structure is used when kFSCatInfoPermissions is passed to
the HFSPlus API. On return from GetCatalogInfo and
GetCatalogInfoBulk, the userID, groupID, and mode fields are
returned. When passed to SetCatalogInfo, only the mode field is
set. See chmod(2) for details about the mode field. This is
supported on Mac OS X only. NOTE: An FSFileSecurityRef retrieved
via FSGetCatalogInfo is a copy and must be released using
CFRelease() when no longer needed.
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Files.h:1043
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class FSPermissionInfo.ByReference
           
static class FSPermissionInfo.ByValue
           
 
Field Summary
 CarbonCoreLibrary.__FSFileSecurity fileSec
           
 int groupID
           
 short mode
           
 byte reserved1
           
 byte userAccess
           
 int userID
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
FSPermissionInfo()
           
FSPermissionInfo(int userID, int groupID, byte reserved1, byte userAccess, short mode, CarbonCoreLibrary.__FSFileSecurity fileSec)
           
 
Method Summary
static FSPermissionInfo[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

userID

public int userID

groupID

public int groupID

reserved1

public byte reserved1

userAccess

public byte userAccess

mode

public short mode

fileSec

public CarbonCoreLibrary.__FSFileSecurity fileSec
Constructor Detail

FSPermissionInfo

public FSPermissionInfo()

FSPermissionInfo

public FSPermissionInfo(int userID,
                        int groupID,
                        byte reserved1,
                        byte userAccess,
                        short mode,
                        CarbonCoreLibrary.__FSFileSecurity fileSec)
Method Detail

newArray

public static FSPermissionInfo[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.