Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.runtime.targets
Class CountingTextWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.BufferedWriter
          extended by 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


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
CountingTextWriter(java.io.Writer writer)
           
 
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
 

Constructor Detail

CountingTextWriter

public CountingTextWriter(java.io.Writer writer)
Method Detail

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)

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.