info.magnolia.module.admininterface.pages
Class LogViewerPage
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
info.magnolia.module.admininterface.TemplatedMVCHandler
info.magnolia.module.admininterface.pages.LogViewerPage
- All Implemented Interfaces:
- MVCServletHandler
public class LogViewerPage
- extends TemplatedMVCHandler
Constructor Summary |
LogViewerPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogViewerPage
public LogViewerPage(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
getLogFiles
public Collection getLogFiles()
- the content of the select
- Returns:
refresh
public String refresh()
next
public String next()
previous
public String previous()
begin
public String begin()
end
public String end()
download
public String download()
throws FileNotFoundException
- Throws:
FileNotFoundException
displayFileContent
public String displayFileContent()
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getNamesList
public Collection getNamesList()
getText
public String getText()
getCurrentPosition
public long getCurrentPosition()
setCurrentPosition
public void setCurrentPosition(long currentPosition)
getFileSizeInLines
public long getFileSizeInLines()
setFileSizeInLines
public void setFileSizeInLines(long fileSizeInLines)
getPageNumber
public long getPageNumber()
getTotalPages
public long getTotalPages()
getMaxNumLinesPerPage
public long getMaxNumLinesPerPage()
setMaxNumLinesPerPage
public void setMaxNumLinesPerPage(long maxNumLinesPerPage)
- Sets new maximum value in the range <1, LONG_MAX>. 0 or negative values are ignored.
- Parameters:
maxNumLinesPerPage
-
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.