Package org.robovm.apple.foundation
Class NSFileAttributes
- java.lang.Object
-
- org.robovm.apple.foundation.NSDictionaryWrapper
-
- org.robovm.apple.foundation.NSFileAttributes
-
public class NSFileAttributes extends NSDictionaryWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSFileAttributes.AsListMarshaler
static class
NSFileAttributes.Marshaler
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSDictionaryWrapper
data
-
-
Constructor Summary
Constructors Constructor Description NSFileAttributes()
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSDictionaryWrapper
getDictionary, toString
-
-
-
-
Method Detail
-
has
public boolean has(NSFileAttribute key)
-
get
public NSObject get(NSFileAttribute key)
-
set
public NSFileAttributes set(NSFileAttribute key, NSObject value)
-
getType
public NSFileType getType()
-
setType
public NSFileAttributes setType(NSFileType type)
-
getSize
public long getSize()
-
setSize
public NSFileAttributes setSize(long size)
-
getModificationDate
public NSDate getModificationDate()
-
setModificationDate
public NSFileAttributes setModificationDate(NSDate modificationDate)
-
getReferenceCount
public long getReferenceCount()
-
setReferenceCount
public NSFileAttributes setReferenceCount(long referenceCount)
-
getDeviceIdentifier
public long getDeviceIdentifier()
-
setDeviceIdentifier
public NSFileAttributes setDeviceIdentifier(long deviceIdentifier)
-
getOwnerAccountName
public java.lang.String getOwnerAccountName()
-
setOwnerAccountName
public NSFileAttributes setOwnerAccountName(java.lang.String ownerAccountName)
-
getGroupOwnerAccountName
public java.lang.String getGroupOwnerAccountName()
-
setGroupOwnerAccountName
public NSFileAttributes setGroupOwnerAccountName(java.lang.String groupOwnerAccountName)
-
getPosixPermissions
public short getPosixPermissions()
-
setPosixPermissions
public NSFileAttributes setPosixPermissions(short posixPermissions)
-
getSystemFileNumber
public long getSystemFileNumber()
-
setSystemFileNumber
public NSFileAttributes setSystemFileNumber(long systemFileNumber)
-
isExtensionHidden
public boolean isExtensionHidden()
-
setExtensionHidden
public NSFileAttributes setExtensionHidden(boolean extensionHidden)
-
getHFSCreatorCode
public long getHFSCreatorCode()
-
setHFSCreatorCode
public NSFileAttributes setHFSCreatorCode(long hFSCreatorCode)
-
getHFSTypeCode
public long getHFSTypeCode()
-
setHFSTypeCode
public NSFileAttributes setHFSTypeCode(long hFSTypeCode)
-
isImmutable
public boolean isImmutable()
-
setImmutable
public NSFileAttributes setImmutable(boolean immutable)
-
appendsOnly
public boolean appendsOnly()
-
setAppendsOnly
public NSFileAttributes setAppendsOnly(boolean appendsOnly)
-
getCreationDate
public NSDate getCreationDate()
-
setCreationDate
public NSFileAttributes setCreationDate(NSDate creationDate)
-
getOwnerAccountID
public long getOwnerAccountID()
-
setOwnerAccountID
public NSFileAttributes setOwnerAccountID(long ownerAccountID)
-
getGroupOwnerAccountID
public long getGroupOwnerAccountID()
-
setGroupOwnerAccountID
public NSFileAttributes setGroupOwnerAccountID(long groupOwnerAccountID)
-
isBusy
public boolean isBusy()
-
setBusy
public NSFileAttributes setBusy(boolean busy)
-
getProtection
public NSFileProtection getProtection()
- Since:
- Available in iOS 4.0 and later.
-
setProtection
public NSFileAttributes setProtection(NSFileProtection protection)
- Since:
- Available in iOS 4.0 and later.
-
-