You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.storage.Constants

java.lang.Object
   |
   +----grendel.storage.Constants

This class contains various constants that are used in various places that we don't want to recompute all over the place. Mostly, these are system- dependent things.


class  Constants
     extends java.lang.Object
{
          // Fields 9
     public static final ByteBuf BYTEBUFLINEBREAK;
     public static final File HOMEDIR;
     public static final boolean ISMAC;
     public static final boolean ISUNIX;
     public static final boolean ISWINDOWS;
     public static final String LINEBREAK;
     private static boolean mac;
     private static boolean unix;
     private static boolean windows;

          // Constructors 1
     public Constants();

}



Fields


LINEBREAK

   public static final String LINEBREAK

The string used to separate lines in files on this system.


BYTEBUFLINEBREAK

   public static final ByteBuf BYTEBUFLINEBREAK

The string used to separate lines in files on this system, stored as a ByteBuf.


unix

   private static boolean unix


mac

   private static boolean mac


windows

   private static boolean windows


ISUNIX

   public static final boolean ISUNIX

Whether this is a Unix machine.


ISMAC

   public static final boolean ISMAC

Whether this is a Macintosh machine.


ISWINDOWS

   public static final boolean ISWINDOWS

Whether this is a Windows machine.


HOMEDIR

   public static final File HOMEDIR

File representing the user's home directory.



Constructors


Constants

   public Constants() 

Default constructor



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