com.sap.tc.logging.reader
Class FileReadLog
java.lang.Object
|
+--com.sap.tc.logging.ExceptionHandling
|
+--com.sap.tc.logging.BaseLog
|
+--com.sap.tc.logging.reader.ReadLog
|
+--com.sap.tc.logging.reader.ReadFileSetLog
|
+--com.sap.tc.logging.reader.FileReadLog
- All Implemented Interfaces:
- java.lang.Cloneable, IBaseLog, IFileSetLog, IObjectInfo, IReadLog
- public final class FileReadLog
- extends ReadFileSetLog
| Methods inherited from class com.sap.tc.logging.reader.ReadFileSetLog |
getFile, getFile, getFileLatest, getFilePrime, getIndex, getLimit, getSize, isEnd, isInFileSet, isInFileSetMode, isInSingleFileMode, isStart, moveToBOFS, moveToEOFS, next, previous, setIndex, setLimit, setSize |
| Methods inherited from class com.sap.tc.logging.BaseLog |
addFilter, close, getDescription, getEncoding, getFilter, getFilters, getFooter, getFormatter, getHeader, getMode, getName, getPattern, getSource, getVerInUse, isClosed, isOpened, open, removeFilter, removeFilters, setDescription, setEncoding, setFormatter, setMode, setName, setPattern, setSource, status |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sap.tc.logging.interfaces.IBaseLog |
addFilter, close, getEncoding, getFilter, getFilters, getFooter, getFormatter, getHeader, getPattern, getSource, isClosed, isOpened, open, removeFilter, removeFilters, setEncoding, setFormatter, setPattern, setSource, status |
FileReadLog
public FileReadLog(java.lang.String fileName)
throws FileDataException
FileReadLog
public FileReadLog(java.lang.String fileName,
int size,
int limit)
throws FileDataException
FileReadLog
public FileReadLog(FileLog fileLog)
- Deprecated. Not suported
- This constructor logs all exception but
doesn't re-throw it out.
registerForLogEvents
public void registerForLogEvents(LogEvents logEvents)
isBOF
public boolean isBOF()
throws DataException
isEOF
public boolean isEOF()
throws DataException
moveToBOF
public void moveToBOF()
throws DataException
moveToEOF
public void moveToEOF()
throws DataException
readNext
public ILoggingResultSet readNext(int numberOfRecords)
throws DataException
- See Also:
IReadLog.readNext(int)
readPrevious
public ILoggingResultSet readPrevious(int numberOfRecords)
throws DataException
- See Also:
IReadLog.readPrevious(int)
isPartOfFileSet
public boolean isPartOfFileSet()
- Deprecated. Use the new isInFileSet() method
- Is this FileLog in FileSet Mode
seek
public void seek(long filePointer)
throws DataException
find
public long find(java.lang.String condition)
throws DataException
search
public ILoggingResultSet search(java.lang.String condition)
throws DataException
searchNext
public ILoggingResultSet searchNext(java.lang.String[] searchTokens,
boolean isCaseSensitive)
throws DataException