Modifier and Type | Method | Description |
---|---|---|
default int |
countAliass() |
|
int |
countAliass(String filter) |
|
default int |
countDiskItems() |
|
int |
countDiskItems(String filter) |
|
default int |
countFilePackages() |
|
int |
countFilePackages(String filter) |
|
default int |
countFiles() |
|
int |
countFiles(String filter) |
|
default int |
countFolders() |
|
int |
countFolders(String filter) |
|
default int |
countItems() |
|
int |
countItems(String filter) |
|
Alias |
getAlias(int index) |
|
Alias |
getAlias(Id id) |
|
default Alias[] |
getAliass() |
|
Alias[] |
getAliass(String filter) |
|
Reference |
getCreatorType() |
The OSType identifying the application that created the alias.
|
Reference |
getDefaultApplication() |
The application that will launch if the alias is opened.
|
DiskItem |
getDiskItem(int index) |
|
DiskItem |
getDiskItem(Id id) |
|
default DiskItem[] |
getDiskItems() |
|
DiskItem[] |
getDiskItems(String filter) |
|
File |
getFile(int index) |
|
File |
getFile(Id id) |
|
FilePackage |
getFilePackage(int index) |
|
FilePackage |
getFilePackage(Id id) |
|
default FilePackage[] |
getFilePackages() |
|
FilePackage[] |
getFilePackages(String filter) |
|
default File[] |
getFiles() |
|
File[] |
getFiles(String filter) |
|
Reference |
getFileType() |
The OSType identifying the type of data contained in the alias.
|
Folder |
getFolder(int index) |
|
Folder |
getFolder(Id id) |
|
default Folder[] |
getFolders() |
|
Folder[] |
getFolders(String filter) |
|
Reference |
getItem(int index) |
|
Reference |
getItem(Id id) |
|
default Reference[] |
getItems() |
|
Reference[] |
getItems(String filter) |
|
String |
getKind() |
The kind of alias, 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 application bundle referenced by the alias.
|
String |
getTypeIdentifier() |
The type identifier of the alias.
|
String |
getVersion() |
The version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window).
|
boolean |
isStationery() |
Is the alias a stationery pad?
|
void |
setCreatorType(Reference creatorType) |
The OSType identifying the application that created the alias.
|
void |
setDefaultApplication(Reference defaultApplication) |
The application that will launch if the alias is opened.
|
void |
setFileType(Reference fileType) |
The OSType identifying the type of data contained in the alias.
|
void |
setStationery(boolean stationery) |
Is the alias 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
@Kind("element") @Type("alias") default Alias[] getAliass()
Alias
s@Kind("element") @Type("alias") Alias[] getAliass(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Alias
s@Kind("element") @Type("alias") Alias getAlias(int index)
index
- index into the element list (zero-based)Alias
at the requested index@Kind("element") @Type("alias") Alias getAlias(Id id)
id
- id of the itemAlias
with the requested id@Kind("element") @Type("alias") default int countAliass()
Alias
s@Kind("element") @Type("alias") int countAliass(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("disk item") default DiskItem[] getDiskItems()
DiskItem
s@Kind("element") @Type("disk item") DiskItem[] getDiskItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"DiskItem
s@Kind("element") @Type("disk item") DiskItem getDiskItem(int index)
index
- index into the element list (zero-based)DiskItem
at the requested index@Kind("element") @Type("disk item") DiskItem getDiskItem(Id id)
id
- id of the itemDiskItem
with the requested id@Kind("element") @Type("disk item") default int countDiskItems()
DiskItem
s@Kind("element") @Type("disk item") int countDiskItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("file") File[] getFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"File
s@Kind("element") @Type("file") File getFile(int index)
index
- index into the element list (zero-based)File
at the requested index@Kind("element") @Type("file") File getFile(Id id)
id
- id of the itemFile
with the requested id@Kind("element") @Type("file") int countFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("file package") default FilePackage[] getFilePackages()
FilePackage
s@Kind("element") @Type("file package") FilePackage[] getFilePackages(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"FilePackage
s@Kind("element") @Type("file package") FilePackage getFilePackage(int index)
index
- index into the element list (zero-based)FilePackage
at the requested index@Kind("element") @Type("file package") FilePackage getFilePackage(Id id)
id
- id of the itemFilePackage
with the requested id@Kind("element") @Type("file package") default int countFilePackages()
FilePackage
s@Kind("element") @Type("file package") int countFilePackages(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("folder") default Folder[] getFolders()
Folder
s@Kind("element") @Type("folder") Folder[] getFolders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Folder
s@Kind("element") @Type("folder") Folder getFolder(int index)
index
- index into the element list (zero-based)Folder
at the requested index@Kind("element") @Type("folder") Folder getFolder(Id id)
id
- id of the itemFolder
with the requested id@Kind("element") @Type("folder") default int countFolders()
Folder
s@Kind("element") @Type("folder") int countFolders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("item") default Reference[] getItems()
Reference
s@Kind("element") @Type("item") Reference[] getItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Reference
s@Kind("element") @Type("item") Reference getItem(int index)
index
- index into the element list (zero-based)Reference
at the requested index@Kind("element") @Type("item") Reference getItem(Id id)
id
- id of the itemReference
with the requested id@Kind("element") @Type("item") default int countItems()
Reference
s@Kind("element") @Type("item") int countItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@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