The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.storage.Constants
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.