org.benow.log
Class LogServiceImpl

java.lang.Object
  extended by org.benow.log.LogServiceImpl
All Implemented Interfaces:
org.benow.java.spec.Markup, LogService, org.benow.service.Service

public class LogServiceImpl
extends java.lang.Object
implements LogService


Nested Class Summary
 class LogServiceImpl.LogReader
           
 
Nested classes/interfaces inherited from interface org.benow.java.spec.Markup
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription
 
Constructor Summary
LogServiceImpl()
           
 
Method Summary
 LogSnippet getLastLogLines(int numLines)
           
 LogSnippet getLastLogLinesFrom(int fromLine)
           
 LogSnippet getLog(int from, int spanning)
           
 java.io.File getLogFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogServiceImpl

public LogServiceImpl()
Method Detail

getLog

public LogSnippet getLog(int from,
                         int spanning)
                  throws java.io.IOException
Specified by:
getLog in interface LogService
Throws:
java.io.IOException

getLogFile

public java.io.File getLogFile()
                        throws java.io.IOException
Specified by:
getLogFile in interface LogService
Throws:
java.io.IOException

getLastLogLinesFrom

public LogSnippet getLastLogLinesFrom(int fromLine)
                               throws java.io.IOException
Specified by:
getLastLogLinesFrom in interface LogService
Throws:
java.io.IOException

getLastLogLines

public LogSnippet getLastLogLines(int numLines)
                           throws java.io.IOException
Specified by:
getLastLogLines in interface LogService
Throws:
java.io.IOException