com.artenum.jyconsole
Class LogWriter
java.lang.Object
java.io.Writer
com.artenum.jyconsole.LogWriter
- public class LogWriter
- extends java.io.Writer
Project ref : JyConsole project
Copyright and license : See relevant sections
Status : under development
Creation : 04/03/2005
Modification :
Description : Link a Writer to our text component.
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | Sebastien Jourdain, jourdain@artenum.com | Creation |
- Version:
- 0.1
- Author:
- Sebastien Jourdain
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.Writer |
write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogWriter
public LogWriter(TextComponent console,
java.lang.String styleToUse)
write
public void write(char[] chars,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
setSimulationFlag
public void setSimulationFlag(boolean simulation)
(c) Copyright: Artenum SARL, 101-103 Boulevard Mac Donald,
75019, Paris, France 2005.
http://www.artenum.com
License:
This program is free software; you can redistribute it
and/or modify it under the terms of the Q Public License;
either version 1 of the License.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the Q Public License for more details.
You should have received a copy of the Q Public License
License along with this program;
if not, write to:
Artenum SARL, 101-103 Boulevard Mac Donald,
75019, PARIS, FRANCE, e-mail: contact@artenum.com