SecurePlayLibray J2SE
v2.1

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
 

Field Summary
(package private)  java.lang.Object entryOne
          The object that stores the one entry.
private  java.lang.String logtype
          Log type = onelog
(package private)  java.lang.String releaseversion
          IT GlobalSecure release version.
 
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
 

Field Detail

entryOne

java.lang.Object entryOne
The object that stores the one entry.


logtype

private java.lang.String logtype
Log type = onelog


releaseversion

final java.lang.String releaseversion
IT GlobalSecure release version.

See Also:
Constant Field Values
Constructor Detail

SPLLogOneClass

public SPLLogOneClass()
Constructor

Method Detail

addEntry

public void addEntry(java.lang.Object entry)
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()
Clear the log.

Specified by:
clear in interface SPLogInterface

reset

public boolean reset()
Resets the log pointer.

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

getNextEntry

public java.lang.Object getNextEntry()
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()
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()
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()
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()
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

SecurePlayLibray J2SE
v2.1

2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.