Interface COM.tolstoy.jconfig.DiskAlias
All Packages Class Hierarchy This Package Previous Next Index
Interface COM.tolstoy.jconfig.DiskAlias
- public interface DiskAlias
- extends Object
- extends DiskFile
Represents an alias or shortcut to another file.
-
copyrightString
-
-
kNoLongerAlias
- Used to indicate that this alias no longer exists.
-
kToDirectory
- Used to indicate that this is an alias to a directory.
-
kToFile
- Used to indicate that this is an alias to a file.
-
kToOther
- Used to indicate that this is an alias to an unknown target.
-
kToVolume
- Used to indicate that this is an alias to a disk drive.
-
getAliasType()
- Indicates to what type of object this is an alias.
-
setFinderInfo(int[])
- Sets the FinderInfo of this file.
copyrightString
public final static String copyrightString
kToVolume
public final static int kToVolume
- Used to indicate that this is an alias to a disk drive.
kToDirectory
public final static int kToDirectory
- Used to indicate that this is an alias to a directory.
kToFile
public final static int kToFile
- Used to indicate that this is an alias to a file.
kToOther
public final static int kToOther
- Used to indicate that this is an alias to an unknown target.
kNoLongerAlias
public final static int kNoLongerAlias
- Used to indicate that this alias no longer exists.
getAliasType
public abstract int getAliasType()
- Indicates to what type of object this is an alias. Returns one of the preceding constants.
setFinderInfo
public abstract int setFinderInfo(int newInfo[])
- Sets the FinderInfo of this file. This is Mac-specific; the FinderInfo is the creator and file
type of this object. You can only set the creator of an alias, the type is not changed. Returns
zero if no error occured; non-zero otherwise.
All Packages Class Hierarchy This Package Previous Next Index