org.x4juli.global.helper
Class PlatformInfo

java.lang.Object
  extended byorg.x4juli.global.helper.PlatformInfo

public final class PlatformInfo
extends java.lang.Object

This class provides information about the runtime platform.

Logging API as a whole was originally done for Apache log4j. Juli is a port of main parts of that to complete the Java Logging APIs. All credits for initial idea, design, implementation, documentation belong to the log4j crew. This file was originally published by Ceki Gülcü. Please use exclusively the appropriate mailing lists for questions, remarks and contribution.

Since:
0.5
Author:
Boris Unckel

Field Summary
private static int inVisualAge
           
private static int onAS400
           
private static int UNINITIALIZED
           
 
Constructor Summary
private PlatformInfo()
          No instanciation wanted.
 
Method Summary
static boolean isInVisualAge()
           
static boolean isJDK14OrLater()
          Juli just runs with java.util.logging, established in JDK 1.4
static boolean isOnAS400()
          Are we running on AS400?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNINITIALIZED

private static final int UNINITIALIZED
See Also:
Constant Field Values

inVisualAge

private static int inVisualAge

onAS400

private static int onAS400
Constructor Detail

PlatformInfo

private PlatformInfo()
No instanciation wanted.

Method Detail

isInVisualAge

public static boolean isInVisualAge()

isOnAS400

public static boolean isOnAS400()
Are we running on AS400?


isJDK14OrLater

public static boolean isJDK14OrLater()
Juli just runs with java.util.logging, established in JDK 1.4

Returns:
always true


${license_html}