#include <FileLogAccessor.h>
Public Member Functions | |
FileLogAccessor (const StringBuffer &filePath, int numLastBytesToRead) | |
Constructor. | |
StringBuffer | getLog () |
Return the log data. | |
~FileLogAccessor () | |
Destructor. | |
Private Attributes | |
StringBuffer | filePath |
int | bytesToRead |
FileLogAccessor::FileLogAccessor | ( | const StringBuffer & | filePath, | |
int | numLastBytesToRead | |||
) |
Constructor.
filePath | The full path of the file. | |
numLastBytesToRead | The number of bytes to read from the end. |
StringBuffer FileLogAccessor::getLog | ( | ) | [virtual] |