APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.media.sound

pack-priv final Class Printer

extends Object
Class Inheritance

Printer allows you to set up global debugging status and print messages accordingly.
Authors
David Rivas, Kara Kytle

Field Summary

Modifier and TypeField and Description
pack-priv static final boolean
private static final boolean
private static final boolean
private static long

Constructor Summary

AccessConstructor and Description
private
Printer()

Suppresses default constructor, ensuring non-instantiability.

Method Summary

Modifier and TypeMethod and Description
public static void
err(String str)

This method is used in the special cases which "should never happen...".

private static boolean
isBuildInternal()

Returns true if the build of the current jdk is "internal".

private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

errback to summary
pack-priv static final boolean err
SHOW_THREADIDback to summary
private static final boolean SHOW_THREADID
SHOW_TIMESTAMPback to summary
private static final boolean SHOW_TIMESTAMP
startTimeback to summary
private static long startTime

Constructor Detail

Printerback to summary
private Printer()

Suppresses default constructor, ensuring non-instantiability.

Method Detail

errback to summary
public static void err(String str)

This method is used in the special cases which "should never happen...". And in fact if should be implemented as an assertion, but for compatibility reason it just print an error only in case of "internal" build. In time its usage should be replaced by some kind of assertion or dropped completely.

isBuildInternalback to summary
private static boolean isBuildInternal()

Returns true if the build of the current jdk is "internal".

printlnback to summary
private static void println(String s)