All Packages  This Package  Class Hierarchy  Class Search  Index

Interface COM.tolstoy.jconfig.DiskAlias

  Summary

public interface  DiskAlias
     extends COM.tolstoy.jconfig.DiskFile
{
          // Fields 6
     public static final String copyrightString;
     public static final int kNoLongerAlias;
     public static final int kToDirectory;
     public static final int kToFile;
     public static final int kToOther;
     public static final int kToVolume;

          // Methods 2
     public abstract int getAliasType();
     public abstract int setFinderInfo(int[]);
}

Represents an alias or shortcut to another file.

Author:
Copyright (c) 1997,1998 Samizdat Productions. All Rights Reserved.




  Fields

· copyrightString

Summary  |  Top

   public static final String copyrightString


· kToVolume

Summary  |  Top
   public static final int kToVolume

Used to indicate that this is an alias to a disk drive.


· kToDirectory

Summary  |  Top
   public static final int kToDirectory

Used to indicate that this is an alias to a directory.


· kToFile

Summary  |  Top
   public static final int kToFile

Used to indicate that this is an alias to a file.


· kToOther

Summary  |  Top
   public static final int kToOther

Used to indicate that this is an alias to an unknown target.


· kNoLongerAlias

Summary  |  Top
   public static final int kNoLongerAlias

Used to indicate that this alias no longer exists.


  Methods

· getAliasType

Summary  |  Top

   public abstract int getAliasType() 

Indicates to what type of object this is an alias. Returns one of the preceding constants.



· setFinderInfo

Summary  |  Top
   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  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7