Modifier and Type | Method | Description |
---|---|---|
Reference |
getCreatorType() |
The OSType identifying the application that created the file.
|
Reference |
getDefaultApplication() |
The application that will launch if the file is opened.
|
Reference |
getFileType() |
The OSType identifying the type of data contained in the file.
|
String |
getKind() |
The kind of file, as shown in Finder.
|
String |
getProductVersion() |
The version of the product (visible at the top of the "Get Info" window).
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
String |
getShortVersion() |
The short version of the file.
|
String |
getTypeIdentifier() |
The type identifier of the file.
|
String |
getVersion() |
The version of the file (visible at the bottom of the "Get Info" window).
|
boolean |
isStationery() |
Is the file a stationery pad?
|
void |
setCreatorType(Reference creatorType) |
The OSType identifying the application that created the file.
|
void |
setDefaultApplication(Reference defaultApplication) |
The application that will launch if the file is opened.
|
void |
setFileType(Reference fileType) |
The OSType identifying the type of data contained in the file.
|
void |
setStationery(boolean stationery) |
Is the file a stationery pad?
|
getContainer, getCreationDate, getDisplayedName, getId, getModificationDate, getName, getNameExtension, getPath, getPhysicalSize, getPosixPath, getSize, getUrl, getVolume, isBusyStatus, isPackageFolder, isVisible, setModificationDate, setName, setVisible
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Code("fcrt") @Kind("property") @Name("creator type") @Type("any") Reference getCreatorType()
@Code("fcrt") @Kind("property") @Name("creator type") @Type("any") void setCreatorType(Reference creatorType)
creatorType
- new property value@Code("asda") @Kind("property") @Name("default application") @Type("any") Reference getDefaultApplication()
@Code("asda") @Kind("property") @Name("default application") @Type("any") void setDefaultApplication(Reference defaultApplication)
defaultApplication
- new property value@Code("asty") @Kind("property") @Name("file type") @Type("any") Reference getFileType()
@Code("asty") @Kind("property") @Name("file type") @Type("any") void setFileType(Reference fileType)
fileType
- new property value@Code("kind") @Kind("property") @Name("kind") @Type("text") String getKind()
@Code("ver2") @Kind("property") @Name("product version") @Type("text") String getProductVersion()
@Code("assv") @Kind("property") @Name("short version") @Type("text") String getShortVersion()
@Code("pspd") @Kind("property") @Name("stationery") @Type("boolean") boolean isStationery()
@Code("pspd") @Kind("property") @Name("stationery") @Type("boolean") void setStationery(boolean stationery)
stationery
- new property value@Code("utid") @Kind("property") @Name("type identifier") @Type("text") String getTypeIdentifier()
@Code("vers") @Kind("property") @Name("version") @Type("text") String getVersion()
Map<String,Object> getProperties()
getProperties
in interface DiskItem