Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.jconfig.mac.DiskAliasMRJ

    java.lang.Object
       |
       +----com.jconfig.mac.DiskFileMRJ
               |
               +----com.jconfig.mac.DiskAliasMRJ

Summary

    class  DiskAliasMRJ
         extends com.jconfig.mac.DiskFileMRJ
         implements com.jconfig.DiskAlias
    {
              // Fields 3
         private static final String copyrightString;
         private static final int kAliasFileTestBits;
         private static final int kPlainFileTestBits;

              // Constructors 1
         DiskAliasMRJ(int, int, byte[]) throws FileNotFoundException, DiskFileException;

              // Methods 4
         public void dumpInfo(PrintStream, String);
         public int getAliasType();
         public int iterate(DiskFilter, int, int);
         public int setFinderInfo(FinderInfo);
    }

Represents a Mac alias (similar to a Windows shortcut)

Author:
  Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.

Fields

### · copyrightString | Summary | Top

       private static final String copyrightString

### · kAliasFileTestBits | Summary | Top

       private static final int kAliasFileTestBits

### · kPlainFileTestBits | Summary | Top

       private static final int kPlainFileTestBits

Constructors

### · DiskAliasMRJ | Summary | Top

       DiskAliasMRJ(int vRef,
                    int parID,
                    byte[] pName)  throws FileNotFoundException, DiskFileException

> Create using the FSSpec of the alias.

> Parameter | Description
> vRef | the vRefNum of the alias
> parID | the parID of the alias
> pName | the name of the alias, as a Pascal string

Methods

### · getAliasType | Summary | Top

       public int getAliasType()

> Returns one of the constants defined in DiskAlias.java: ALIAS_VOL, etc. Returns ALIAS_NOLONGER if this object no longer exists, or if an error occurs. The alias will be resolved without user interaction, and the alias will not be modified.

> Implements:
>   getAliasType in interface DiskAlias

### · setFinderInfo | Summary | Top

       public int setFinderInfo(FinderInfo newFI)

> Overrides:
>   setFinderInfo in class DiskFileMRJ
> Implements:
>   setFinderInfo in interface DiskAlias

### · iterate | Summary | Top

       public int iterate(DiskFilter filter,
                          int flags,
                          int maxToIterate)

> Always returns -1.

> Overrides:
>   iterate in class DiskFileMRJ

### · dumpInfo | Summary | Top

       public void dumpInfo(PrintStream ps,
                            String indent)

> Overrides:
>   dumpInfo in class DiskFileMRJ

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7