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.IConfigEntryBinary
java.lang.Object
   |
   +----com.jconfig.IConfigEntryBinary

  Summary

class  IConfigEntryBinary
     extends java.lang.Object
     implements com.jconfig.ConfigEntry
{
          // Fields 14
     private static final String copyrightString;
     private String creatorAppName;
     private int entryLen;
     private String entryName;
     private FinderInfo fInfo;
     private FileExtension fileExtension;
     private int fixedLen;
     private int flags;
     private static final int kIntSize;
     private static final int kShortSize;
     private MIMEType mimeType;
     private String postAppName;
     private int postCreator;
     private int version;

          // Constructors 1
     IConfigEntryBinary(byte[], int);

          // Methods 9
     private void createFromBuffer(byte[], int);
     public void dumpInfo(PrintStream, String);
     public String getAppName();
     public int getEntryLength();
     public String getEntryName();
     public FileExtension getFileExtension();
     public FinderInfo getFinderInfo();
     public int getFlags();
     public MIMEType getMIMEType();
}

Represents an IC file mapping table entry. Reads the entry from an array of bytes, and returns the various fields of the entry.

These entries are used to map between Mac creator/file types, Windows extensions, and MIME types. See the Internet Config documentation for more information.

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




  Fields

· copyrightString

Summary  |  Top

   private static final String copyrightString


· kShortSize

Summary  |  Top
   private static final int kShortSize


· kIntSize

Summary  |  Top
   private static final int kIntSize


· fInfo

Summary  |  Top
   private FinderInfo fInfo


· mimeType

Summary  |  Top
   private MIMEType mimeType


· fileExtension

Summary  |  Top
   private FileExtension fileExtension


· creatorAppName

Summary  |  Top
   private String creatorAppName


· postAppName

Summary  |  Top
   private String postAppName


· entryName

Summary  |  Top
   private String entryName


· flags

Summary  |  Top
   private int flags


· entryLen

Summary  |  Top
   private int entryLen


· fixedLen

Summary  |  Top
   private int fixedLen


· version

Summary  |  Top
   private int version


· postCreator

Summary  |  Top
   private int postCreator


  Constructors

· IConfigEntryBinary

Summary  |  Top

   IConfigEntryBinary(byte[] buf, 
                      int offset) 

See the Internet Config documentation for the format of an entry.



  Methods

· createFromBuffer

Summary  |  Top
   private void createFromBuffer(byte[] buf, 
                                 int offset) 


· getEntryLength

Summary  |  Top
   public int getEntryLength() 

Return the length of the entry.



· getFinderInfo

Summary  |  Top
   public FinderInfo getFinderInfo() 

Return the FinderInfo of the entry.

Implements:
getFinderInfo in interface ConfigEntry


· getMIMEType

Summary  |  Top
   public MIMEType getMIMEType() 

Return the MIMEType of the entry.

Implements:
getMIMEType in interface ConfigEntry


· getFileExtension

Summary  |  Top
   public FileExtension getFileExtension() 

Return the FileExtension of the entry.

Implements:
getFileExtension in interface ConfigEntry


· getAppName

Summary  |  Top
   public String getAppName() 

Return the application name of the entry.

Implements:
getAppName in interface ConfigEntry


· getEntryName

Summary  |  Top
   public String getEntryName() 

Return the name of the entry.

Implements:
getEntryName in interface ConfigEntry


· getFlags

Summary  |  Top
   public int getFlags() 

Return the flags of the entry.

Implements:
getFlags in interface ConfigEntry


· dumpInfo

Summary  |  Top
   public void dumpInfo(PrintStream ps, 
                        String indent) 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7