com.bstek.dorado.console.system.log.file
public class FileReaderController extends java.lang.Object
Constructor and Description |
---|
FileReaderController() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile(java.lang.String fileName) |
java.util.Map<java.lang.String,java.lang.Object> |
getFileContent(java.lang.String fileName,
int lineSize,
java.lang.Boolean isNext,
java.lang.String uuid,
java.lang.String charsetName) |
java.util.Collection<java.lang.String> |
getFileNameList() |
static java.lang.String |
getLogDirectoryPath()
获取日志文件目录
|
java.util.List<LogLine> |
last(java.lang.String fileName)
获得文件内容
|
void |
onReady(View view) |
void |
setFileReaderManager(FileReaderManager fileReaderManager) |
public void setFileReaderManager(FileReaderManager fileReaderManager)
public void onReady(View view)
public java.util.Map<java.lang.String,java.lang.Object> getFileContent(java.lang.String fileName, int lineSize, java.lang.Boolean isNext, java.lang.String uuid, java.lang.String charsetName) throws java.io.IOException, javassist.NotFoundException
java.io.IOException
javassist.NotFoundException
public static java.lang.String getLogDirectoryPath() throws java.io.IOException
java.io.IOException
public java.util.Collection<java.lang.String> getFileNameList() throws java.io.IOException
java.io.IOException
public java.util.List<LogLine> last(java.lang.String fileName) throws javassist.NotFoundException
fileName
- javassist.NotFoundException
public java.io.File getFile(java.lang.String fileName) throws javassist.NotFoundException
javassist.NotFoundException
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.