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:
- Cloneable, IBaseLog, IFileSetLog, IObjectInfo, IReadLog
- public final class FileReadLog
- extends ReadFileSetLog
| Fields inherited from class com.sap.tc.logging.ExceptionHandling |
EX_NO_FILTER_EMSG, EX_NO_FORMATTER_EMSG, EX_NO_INSTANCE_EMSG |
| 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, clone, close, getDescription, getEncoding, getFilter, getFilters, getFooter, getFormatter, getHeader, getMode, getName, getPattern, getSource, getVerInUse, isClosed, isOpened, open, removeFilter, removeFilters, setDescription, setEncoding, setFooter, setHeader, setMode, setName, setPattern, setSource, setStatus, setVerInUse, status |
| Methods inherited from class com.sap.tc.logging.ExceptionHandling |
getException, getExceptions, handleException, handleException, resetException, throwException |
| 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, setPattern, setSource, status |
FileReadLog
public FileReadLog(String fileName)
throws FileDataException
FileReadLog
public FileReadLog(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
- Throws:
DataException
isEOF
public boolean isEOF()
throws DataException
- Throws:
DataException
moveToBOF
public void moveToBOF()
throws DataException
- Throws:
DataException
moveToEOF
public void moveToEOF()
throws DataException
- Throws:
DataException
readNext
public ILoggingResultSet readNext(int numberOfRecords)
throws DataException
- Throws:
DataException- See Also:
IReadLog.readNext(int)
readPrevious
public ILoggingResultSet readPrevious(int numberOfRecords)
throws DataException
- 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
- Throws:
DataException
find
public long find(String condition)
throws DataException
- Throws:
DataException
search
public ILoggingResultSet search(String condition)
throws DataException
- Throws:
DataException
setFormatter
public void setFormatter(Formatter formatter)
- Description copied from interface:
IBaseLog
- Sets the formatter that dictates the format of log records in this log.
- Specified by:
setFormatter in interface IBaseLog- Overrides:
setFormatter in class BaseLog
- See Also:
IBaseLog.setFormatter(com.sap.tc.logging.Formatter)
openInt
protected void openInt()
throws OpenException
- Specified by:
openInt in class BaseLog
- Throws:
OpenException
closeInt
protected void closeInt()
throws CloseException
- Specified by:
closeInt in class BaseLog
- Throws:
CloseException
searchNext
public ILoggingResultSet searchNext(String[] searchTokens,
boolean isCaseSensitive)
throws DataException
- Throws:
DataException
setBookMarkInt
protected void setBookMarkInt(long value)
throws DataException
- Specified by:
setBookMarkInt in class ReadLog
- Throws:
DataException
getBookMarkInt
protected long getBookMarkInt()
throws DataException
- Specified by:
getBookMarkInt in class ReadLog
- Throws:
DataException
Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.