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.

Variable Index

 o copyrightString
 o kNoLongerAlias
Used to indicate that this alias no longer exists.
 o kToDirectory
Used to indicate that this is an alias to a directory.
 o kToFile
Used to indicate that this is an alias to a file.
 o kToOther
Used to indicate that this is an alias to an unknown target.
 o kToVolume
Used to indicate that this is an alias to a disk drive.

Method Index

 o getAliasType()
Indicates to what type of object this is an alias.
 o setFinderInfo(int[])
Sets the FinderInfo of this file.

Variables

 o copyrightString
  public final static String copyrightString
 o kToVolume
  public final static int kToVolume
Used to indicate that this is an alias to a disk drive.
 o kToDirectory
  public final static int kToDirectory
Used to indicate that this is an alias to a directory.
 o kToFile
  public final static int kToFile
Used to indicate that this is an alias to a file.
 o kToOther
  public final static int kToOther
Used to indicate that this is an alias to an unknown target.
 o kNoLongerAlias
  public final static int kNoLongerAlias
Used to indicate that this alias no longer exists.

Methods

 o getAliasType
  public abstract int getAliasType()
Indicates to what type of object this is an alias. Returns one of the preceding constants.
 o 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