com.genesyslab.platform.logging.runtime.targets
Class CountingTextWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
com.genesyslab.platform.logging.runtime.targets.CountingTextWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class CountingTextWriter
- extends java.io.BufferedWriter
Fields inherited from class java.io.Writer |
lock |
Method Summary |
long |
getCount()
|
void |
write(char value)
|
void |
write(char[] buffer,
int index,
int count)
|
void |
write(java.lang.String value)
|
void |
writeLine(java.lang.String message)
|
Methods inherited from class java.io.BufferedWriter |
close, flush, newLine, write, write |
Methods inherited from class java.io.Writer |
append, append, append, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountingTextWriter
public CountingTextWriter(java.io.Writer writer)
getCount
public long getCount()
write
public void write(char value)
throws LoggerException
- Throws:
LoggerException
write
public void write(java.lang.String value)
throws java.io.IOException
- Overrides:
write
in class java.io.Writer
- Throws:
java.io.IOException
write
public void write(char[] buffer,
int index,
int count)
throws java.io.IOException
- Overrides:
write
in class java.io.BufferedWriter
- Throws:
java.io.IOException
writeLine
public void writeLine(java.lang.String message)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.