|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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
| Field Summary | |
static int |
MODE_FILE_SET
|
static int |
MODE_SINGLE_FILE
|
| Fields inherited from class com.sap.tc.logging.BaseLog |
STATUS_CLOSED, STATUS_INVALID, STATUS_OPENED |
| Constructor Summary | |
ReadFileSetLog(java.lang.String fileName)
|
|
ReadFileSetLog(java.lang.String fileName,
int size,
int limit)
|
|
| Method Summary | |
java.io.File |
getFile()
Gets the current file in rotating file set |
java.io.File |
getFile(int index)
Gets the file from rotating fileset on given position (index). |
java.io.File |
getFileLatest()
Gets the latest (newest) file from the rotating fileset. |
java.io.File |
getFilePrime()
Gets the prime (oldest) file from the rotating fileset. |
int |
getIndex()
Gets the current file index in rotating file set |
int |
getLimit()
Gets the limit file size used for sequencing on the rotating output file |
int |
getSize()
Gets the size of rotating fileset, number of files in fileset. |
boolean |
isEnd()
|
boolean |
isInFileSet()
Check is the file in rotating file set |
boolean |
isInFileSetMode()
Helper method. |
boolean |
isInSingleFileMode()
Helper method. |
boolean |
isStart()
|
void |
moveToBOFS()
Move rotating fileset index to the oldest File in the fileset |
void |
moveToEOFS()
Move rotating fileset index to the newest File in the fileset |
void |
next()
Move rotating fileset index to next position. |
void |
previous()
Move rotating fileset index to previous position. |
void |
setIndex(int value)
Sets the current file index in rotating file set |
void |
setLimit(int value)
Sets the limit file size used for sequencing on the rotating output file |
void |
setSize(int value)
Sets the size of rotating fileset, number of files in fileset. |
| Methods inherited from class com.sap.tc.logging.reader.ReadLog |
getBookMark, readNext, readPrevious, setBookMark |
| 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 com.sap.tc.logging.ExceptionHandling |
getException, getExceptions, handleException, handleException, resetException, throwException |
| 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.IReadLog |
find, getMode, isBOF, isEOF, moveToBOF, moveToEOF, readNext, readPrevious, search, seek, setMode |
| 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 |
| Methods inherited from interface com.sap.tc.logging.interfaces.IObjectInfo |
getDescription, getName, getVerInUse |
| Field Detail |
public static final int MODE_SINGLE_FILE
public static final int MODE_FILE_SET
| Constructor Detail |
public ReadFileSetLog(java.lang.String fileName)
public ReadFileSetLog(java.lang.String fileName,
int size,
int limit)
| Method Detail |
public java.io.File getFile()
getFile in interface IFileSetLogpublic java.io.File getFile(int index)
getFile in interface IFileSetLogpublic java.io.File getFileLatest()
getFileLatest in interface IFileSetLogpublic java.io.File getFilePrime()
getFilePrime in interface IFileSetLogpublic int getIndex()
getIndex in interface IFileSetLogpublic void setIndex(int value)
setIndex in interface IFileSetLogpublic void setLimit(int value)
setLimit in interface IFileSetLogpublic int getLimit()
getLimit in interface IFileSetLogpublic void setSize(int value)
setSize in interface IFileSetLogpublic int getSize()
getSize in interface IFileSetLogpublic boolean isInFileSet()
isInFileSet in interface IFileSetLogpublic boolean isInFileSetMode()
public boolean isInSingleFileMode()
public void moveToBOFS()
moveToBOFS in interface IFileSetLogpublic void moveToEOFS()
moveToEOFS in interface IFileSetLogpublic void next()
next in interface IFileSetLogpublic void previous()
previous in interface IFileSetLogpublic boolean isStart()
public boolean isEnd()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||