001: /*
002: * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
003: *
004: * http://izpack.org/
005: * http://izpack.codehaus.org/
006: *
007: * Copyright 2005 Marc Eppelmann
008: *
009: * Licensed under the Apache License, Version 2.0 (the "License");
010: * you may not use this file except in compliance with the License.
011: * You may obtain a copy of the License at
012: *
013: * http://www.apache.org/licenses/LICENSE-2.0
014: *
015: * Unless required by applicable law or agreed to in writing, software
016: * distributed under the License is distributed on an "AS IS" BASIS,
017: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
018: * See the License for the specific language governing permissions and
019: * limitations under the License.
020: */
021: package com.izforge.izpack.util;
022:
023: /**
024: * Holds some OS (Version) Constants
025: *
026: * @author marc.eppelmann@reddot.de
027: */
028: public interface OsVersionConstants {
029: //~ Static fields/initializers *********************************************************
030:
031: /**
032: * OSNAME = "os.name"
033: */
034: public final static String OSNAME = "os.name";
035:
036: /**
037: * OSARCH = "os.arch"
038: */
039: public final static String OSARCH = "os.arch";
040:
041: /**
042: * X86 = "x86"
043: */
044: public static final String X86 = "x86";
045:
046: /**
047: * I386 = "i386"
048: */
049: public static final String I386 = "i386";
050:
051: /**
052: * PPC = "ppc"
053: */
054: public static final String PPC = "ppc";
055:
056: /**
057: * SPARC = "sparc"
058: */
059: public static final String SPARC = "sparc";
060:
061: /**
062: * FREEBSD = "FreeBSD"
063: */
064: public final static String FREEBSD = "FreeBSD";
065:
066: /**
067: * LINUX = "Linux"
068: */
069: public final static String LINUX = "Linux";
070:
071: /**
072: * HP_UX = "HP-UX"
073: */
074: public final static String HP_UX = "HP-UX";
075:
076: /**
077: * AIX = "AIX"
078: */
079: public final static String AIX = "AIX";
080:
081: /**
082: * SUNOS = "SunOS"
083: */
084: public final static String SUNOS = "SunOS";
085:
086: /**
087: * SOLARIS = "Solaris"
088: */
089: public static final String SOLARIS = "Solaris";
090:
091: /**
092: * OS_2 = "OS/2"
093: */
094: public final static String OS_2 = "OS/2";
095:
096: /**
097: * MAC = "Mac"
098: */
099: public final static String MAC = "Mac";
100:
101: /**
102: * Mac OS X
103: */
104: public final static String MACOSX = "mac os x";
105:
106: /**
107: * WINDOWS = "Windows"
108: */
109: public final static String WINDOWS = "Windows";
110:
111: /**
112: * REDHAT = "RedHat"
113: */
114: public final static String REDHAT = "RedHat";
115:
116: /**
117: * RED_HAT = "Red Hat"
118: */
119: public final static String RED_HAT = "Red Hat";
120:
121: /**
122: * FEDORA = "Fedora"
123: */
124: public final static String FEDORA = "Fedora";
125:
126: /**
127: * MANDRAKE = "Mandrake"
128: */
129: public final static String MANDRAKE = "Mandrake";
130:
131: /**
132: * MANDRIVA = "Mandriva"
133: */
134: public final static String MANDRIVA = "Mandriva";
135:
136: /**
137: * SUSE = "SuSE"
138: */
139: public final static String SUSE = "SuSE";
140:
141: /**
142: * DEBIAN = "Debian"
143: */
144: public final static String DEBIAN = "Debian";
145:
146: /**
147: * PROC_VERSION = "/proc/version"
148: */
149: public final static String PROC_VERSION = "/proc/version";
150: }
|