Package syam.BookEditor.Util

Examples of syam.BookEditor.Util.TextFileHandler


   * ログファイルに書き込み
   * @param file ログファイル名
   * @param line ログ内容
   */
  public static void log(String filepath, String line){
    TextFileHandler r = new TextFileHandler(filepath);
    try{
      r.appendLine("[" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()) + "] " + line);
    } catch (IOException ex) {}
  }
View Full Code Here

TOP

Related Classes of syam.BookEditor.Util.TextFileHandler

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.