fr.esrf.TangoDs
Class UtilPrint
java.lang.Object
fr.esrf.TangoDs.UtilPrint
public class UtilPrint
- extends java.lang.Object
This class is a TANGO core class used to manage the different level of
printing in a TANGO device server. Within a device server, there is one
object of this class for each printing level (actually four)
- Version:
- $Revision: 1.4 $
- Author:
- $Author: pascal_verdier $
//
// Copyright (C) : 2004,2005,2006,2007,2008,2009
// European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
// FRANCE
//
// This file is part of Tango.
//
// Tango is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tango is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with Tango. If not, see .
//
|
Constructor Summary |
UtilPrint(org.apache.log4j.Level level)
Constructs a newly allocated UtilPrint object with a predefined
print level |
|
Method Summary |
void |
println()
Finish the line. |
void |
println(boolean i)
Print a boolean. |
void |
println(char i)
Print a char. |
void |
println(char[] i)
Print an aray of characters. |
void |
println(double i)
Print a double. |
void |
println(float i)
Print a float. |
void |
println(long i)
Print a long. |
void |
println(java.lang.Object i)
Print an Object. |
void |
println(java.lang.String i)
Print a String. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UtilPrint
public UtilPrint(org.apache.log4j.Level level)
- Constructs a newly allocated UtilPrint object with a predefined
print level
- Parameters:
level - The print level
println
public void println(long i)
- Print a long.
This method prints a long data only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The long to be printed
println
public void println(char[] i)
- Print an aray of characters.
This method prints an array of characters only if the process trace level
is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The array to be printed
println
public void println(java.lang.String i)
- Print a String.
This method prints a String only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The String to be printed
println
public void println(boolean i)
- Print a boolean.
This method prints a boolean data only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The boolean to be printed
println
public void println(char i)
- Print a char.
This method prints a char data only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The char to be printed
println
public void println(double i)
- Print a double.
This method prints a double data only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The double to be printed
println
public void println(float i)
- Print a float.
This method prints a float data only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The float to be printed
println
public void println(java.lang.Object i)
- Print an Object.
This method prints an Object only if the process trace level is greater
or equal to the object print level. Otherwise, it does nothing
- Parameters:
i - The Object to be printed
println
public void println()
- Finish the line.