Exemplo n.º 1
0
 /**
  *
  *
  * <h1>print</h1>
  *
  * オーバーライド
  *
  * @see java.io.PrintStream#print(java.lang.String)
  */
 @Override
 public void print(String s) {
   String nowtime = null;
   if (timeDumpofMain | timeDumpofSub) {
     nowtime = RSystem.getDateTime();
   }
   this.subStream.print(timeDumpofSub ? nowtime + " " + s : s);
   super.print(timeDumpofMain ? nowtime + " " + s : s);
 }
Exemplo n.º 2
0
 /**
  *
  *
  * <h1>print</h1>
  *
  * オーバーライド
  *
  * @see java.io.PrintStream#print(java.lang.Object)
  */
 @Override
 public void print(Object obj) {
   String nowtime = null;
   if (timeDumpofMain | timeDumpofSub) {
     nowtime = RSystem.getDateTime();
   }
   String objString = String.valueOf(obj);
   this.subStream.print(timeDumpofSub ? nowtime + " " + objString : objString);
   super.print(timeDumpofMain ? nowtime + " " + objString : objString);
 }
Exemplo n.º 3
0
 /**
  *
  *
  * <h1>print</h1>
  *
  * オーバーライド
  *
  * @see java.io.PrintStream#print(char[])
  */
 @Override
 public void print(char[] s) {
   String nowtime = null;
   if (timeDumpofMain | timeDumpofSub) {
     nowtime = RSystem.getDateTime();
   }
   String sString = String.valueOf(s);
   this.subStream.print(timeDumpofSub ? nowtime + " " + sString : sString);
   super.print(timeDumpofMain ? nowtime + " " + sString : sString);
 }