org.nuiton.util
Class PluginHelper.PropertiesDateRemoveFilterStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.nuiton.util.PluginHelper.PropertiesDateRemoveFilterStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
PluginHelper

public static class PluginHelper.PropertiesDateRemoveFilterStream
extends java.io.FilterOutputStream

Un ecrivain qui supprime la premiere ligne rencontree dans le flux. Note: Attention, les performance d'utilisation de cet ecrivain est problèmatique, car sur de gros fichiers (>1000 entrees) les performances se degradent serieusement : pour 1200 entrees on arrive à plus de 5 secondes, alors que sans on a 76 ms! ... FIXME : implanter quelque chose de plus performant dans tous les cas


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
PluginHelper.PropertiesDateRemoveFilterStream(java.io.OutputStream out)
           
 
Method Summary
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginHelper.PropertiesDateRemoveFilterStream

public PluginHelper.PropertiesDateRemoveFilterStream(java.io.OutputStream out)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException


Copyright © 2009 CodeLutin. All Rights Reserved.