Package models.data

Examples of models.data.LogFile


      if (nodeGroupType == null || agentCommandType == null
          || timeStamp == null) {
         models.utils.LogUtils.printLogError
             ("Error nodeGroupType is null or agentCommandType or timeStamp is null ");
      } else {
        LogFile logFile = new LogFile(timeStamp, nodeGroupType,
            agentCommandType);

        String filePath = logFile.genLogFilePath();
        logContent = FileIoUtils.readFileToString(filePath);

      }

    } catch (Throwable t) {
View Full Code Here


    List<String> fileNames = FileIoUtils.getFileNamesInFolder(folderPath);

    List<LogFile> logFiles = new ArrayList<LogFile>();

    for (String fileName : fileNames) {
      LogFile logFile = new LogFile(fileName);
      logFiles.add(logFile);

      if (VarUtils.IN_DETAIL_DEBUG) {
        models.utils.LogUtils.printLogNormal(logFile.toString());
      }
    }
    Collections.sort(logFiles, Collections.reverseOrder());

    return logFiles;
View Full Code Here

TOP

Related Classes of models.data.LogFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.