com.sap.scheduler.runtime

Class LogIterator

java.lang.Object
  extended by com.sap.scheduler.runtime.LogIterator
All Implemented Interfaces:
Serializable

public class LogIterator
extends Object
implements Serializable

Iterator object used to retrieve large log files in chunks.

See Also:
Serialized Form

Constructor Summary
LogIterator()
           
 
Method Summary
 long getPos()
          Method to be used by the scheduler runtime only!
 boolean hasMoreChunks()
          This method returns true if there is more data available, e.g.
 String nextChunk()
          This method returns the next chunk of data.
 void setLog(String log)
          Method to be used by the scheduler runtime only!
 void setPos(long lval)
          Method to be used by the scheduler runtime only!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogIterator

public LogIterator()
Method Detail

hasMoreChunks

public boolean hasMoreChunks()
This method returns true if there is more data available, e.g. the end of the log has not been reached.

Returns:
true if more data is available, false otherwise

nextChunk

public String nextChunk()
This method returns the next chunk of data. This method can only be invoked once on the log iterator.

Returns:
the next chunk of data

setPos

public void setPos(long lval)
Method to be used by the scheduler runtime only!


getPos

public long getPos()
Method to be used by the scheduler runtime only!


setLog

public void setLog(String log)
Method to be used by the scheduler runtime only!

Access Rights

This class can be accessed from:


SC DC
[sap.com] ENGFACADE [sap.com] tc/je/scheduler/api


Copyright 2010 SAP AG Complete Copyright Notice