com.SecurePlay.SPLlogOne
Class SPLLogOneClass

java.lang.Object
  extended bycom.SecurePlay.SPLlogOne.SPLLogOneClass
All Implemented Interfaces:
SPLogInterface

public class SPLLogOneClass
extends java.lang.Object
implements SPLogInterface

This is a log to hold one message.

Author:
ITGlobalSecure
See Also:
SecurePlay License Information
 

Constructor Summary
SPLLogOneClass()
          Constructor
 
Method Summary
 void addEntry(java.lang.Object entry)
          Add a entry to the log object.
 void clear()
          Clear the log.
 java.lang.Object getCurrentEntry()
          This method returns the current entry in the Log - where the pointer indicates.
 int getLogLength()
          This method returns the number of logged objects in the log instance.
 java.lang.String getLogtype()
          This method returns the log type of the log class that implements this log interface.
 java.lang.Object getNextEntry()
          Get the next entry in the log.
 java.lang.Object getPreviousEntry()
          This method returns the previous entry in the log.
 boolean reset()
          Resets the log pointer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPLLogOneClass

public SPLLogOneClass()
Constructor

Method Detail

addEntry

public void addEntry(java.lang.Object entry)
Description copied from interface: SPLogInterface
Add a entry to the log object.

Specified by:
addEntry in interface SPLogInterface
Parameters:
entry - Object - An entry object that is used in a log.

clear

public void clear()
Description copied from interface: SPLogInterface
Clear the log.

Specified by:
clear in interface SPLogInterface

reset

public boolean reset()
Description copied from interface: SPLogInterface
Resets the log pointer.

Specified by:
reset in interface SPLogInterface
Returns:
result - Boolean: TRUE, to confirm the reset.

getNextEntry

public java.lang.Object getNextEntry()
Description copied from interface: SPLogInterface
Get the next entry in the log.

Specified by:
getNextEntry in interface SPLogInterface
Returns:
obj - Object - An entry object

getPreviousEntry

public java.lang.Object getPreviousEntry()
Description copied from interface: SPLogInterface
This method returns the previous entry in the log.

Specified by:
getPreviousEntry in interface SPLogInterface
Returns:
obj - Object - Previous Log Entry.

getCurrentEntry

public java.lang.Object getCurrentEntry()
Description copied from interface: SPLogInterface
This method returns the current entry in the Log - where the pointer indicates.

Specified by:
getCurrentEntry in interface SPLogInterface
Returns:
obj - Object - An Object of type entry

getLogLength

public int getLogLength()
Description copied from interface: SPLogInterface
This method returns the number of logged objects in the log instance.

Specified by:
getLogLength in interface SPLogInterface
Returns:
length - int - number of entries in Log

getLogtype

public java.lang.String getLogtype()
Description copied from interface: SPLogInterface
This method returns the log type of the log class that implements this log interface.

Specified by:
getLogtype in interface SPLogInterface
Returns:
logtype - String - log type of the log