rrdService.service
Class LogFile

java.lang.Object
  |
  +--java.io.File
        |
        +--rrdService.service.LogFile
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class LogFile
extends java.io.File

The LogFile allows to display a trace of execution in a log file

Version:
1.0 date : 15/07/2001
Author:
Damien Pellier
See Also:
LogFile, , Serialized Form

Fields inherited from class java.io.File
counter, fs, path, pathSeparator, pathSeparatorChar, prefixLength, separator, separatorChar, serialVersionUID, tmpdir, tmpFileLock
 
Constructor Summary
LogFile()
          Constructor of class LogFile
 
Method Summary
private static java.lang.String getTime()
          getLogFile return the name of the logFile
static void print(java.lang.String msg)
          print write a String in log file
static void printError(java.lang.String error)
          printError write a error in log file
 
Methods inherited from class java.io.File
, canRead, canWrite, checkAndCreate, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, generateFile, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, getPrefixLength, getTempDir, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, readObject, renameTo, setLastModified, setReadOnly, toString, toURL, writeObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

LogFile

public LogFile()
        throws java.lang.Exception
Constructor of class LogFile
Method Detail

getTime

private static java.lang.String getTime()
getLogFile return the name of the logFile

print

public static void print(java.lang.String msg)
print write a String in log file
Parameters:
msg - the message to display

printError

public static void printError(java.lang.String error)
printError write a error in log file
Parameters:
msg - the message to display

Copyright 1885-2001 FIRMENICH SA, Geneva

Submit a bug or feature
Copyright 1885-2001 FIRMENICH SA, Geneva,
All Rights Reserved.