SK.gnome.dwarf.mail.utils
Class NewLineOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended bySK.gnome.dwarf.mail.utils.NewLineOutputStream

public class NewLineOutputStream
extends java.io.FilterOutputStream

Convert the various newline conventions to the local platform's newline convention.


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

Constructor Detail

NewLineOutputStream

public NewLineOutputStream(java.io.OutputStream out)
                    throws java.io.IOException
Method Detail

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.