qdown.quickDownloader.systemLogs
Class SysLogs

java.lang.Object
  extended byqdown.quickDownloader.systemLogs.SysLogs

public class SysLogs
extends java.lang.Object

The Main System Log file class used to write to the log file


Constructor Summary
SysLogs()
           
 
Method Summary
static boolean aNewMessage(java.lang.String message)
          Called to write new messages to the log
static boolean aNewMessage(java.lang.String className, java.lang.String message)
          Called to write new messages to the log but the classname affected can also be specified
static boolean closeLogs()
          Closes the logs when finished
static boolean integrityMessages(java.util.Vector message)
          Called to write new messages to the log but the classname affected can also be specified
static boolean logTheStartupMessages()
          All Messages are initially logged on start up
static boolean mainMessages(java.lang.String message)
          Called to write new messages to the log
static void setLogFileStatus()
          Sets the log file status
static boolean writeFile()
          Opens the stream to write to the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SysLogs

public SysLogs()
Method Detail

setLogFileStatus

public static void setLogFileStatus()
Sets the log file status


closeLogs

public static boolean closeLogs()
Closes the logs when finished

Returns:
success of closure

writeFile

public static boolean writeFile()
Opens the stream to write to the file

Returns:
succes of opening log file

logTheStartupMessages

public static boolean logTheStartupMessages()
All Messages are initially logged on start up

Returns:
success of task

aNewMessage

public static boolean aNewMessage(java.lang.String message)
Called to write new messages to the log

Parameters:
message - the message to be recorded in the log
Returns:
success of task

mainMessages

public static boolean mainMessages(java.lang.String message)
Called to write new messages to the log

Parameters:
message - the message to be recorded in the log
Returns:
success of task

aNewMessage

public static boolean aNewMessage(java.lang.String className,
                                  java.lang.String message)
Called to write new messages to the log but the classname affected can also be specified

Parameters:
className - Name of the class with problems
message - The error Message
Returns:
success of task

integrityMessages

public static boolean integrityMessages(java.util.Vector message)
Called to write new messages to the log but the classname affected can also be specified

Parameters:
message - The error Message
Returns:
success of task