ewe.io
Class StreamWriter

java.lang.Object
  extended byewe.util.Errorable
      extended byewe.io.StreamWriter

Deprecated. - use PrintWriter instead.

public class StreamWriter
extends Errorable


Field Summary
 String encoding
          Deprecated. Set this to be a text encoding form.
 boolean useCR
          Deprecated. This determines whether a CR is sent before a LF character.
static String UTF8
          Deprecated. This is the "UTF8" constant string.
 
Fields inherited from class ewe.util.Errorable
error
 
Constructor Summary
StreamWriter(OutputStream out)
          Deprecated.  
StreamWriter(Stream s)
          Deprecated.  
StreamWriter(String path, boolean append)
          Deprecated.  
 
Method Summary
 boolean close()
          Deprecated.  
 boolean flush()
          Deprecated.  
 boolean isOpen()
          Deprecated.  
 boolean print(String what)
          Deprecated. Output a String.
 boolean println()
          Deprecated. Output a blank line.
 boolean println(String what)
          Deprecated. Output a String followed by CR/LF.
 
Methods inherited from class ewe.util.Errorable
returnError, returnError, returnError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

UTF8

public static final String UTF8
Deprecated. 
This is the "UTF8" constant string.

See Also:
Constant Field Values

encoding

public String encoding
Deprecated. 
Set this to be a text encoding form. Either null for pure ASCII or "UTF8" for Java UTF8 encoding. By default it is UTF8.


useCR

public boolean useCR
Deprecated. 
This determines whether a CR is sent before a LF character. By default it is true.

Constructor Detail

StreamWriter

public StreamWriter(Stream s)
Deprecated. 

StreamWriter

public StreamWriter(String path,
                    boolean append)
             throws IOException
Deprecated. 

StreamWriter

public StreamWriter(OutputStream out)
Deprecated. 
Method Detail

println

public boolean println()
Deprecated. 
Output a blank line.


print

public boolean print(String what)
Deprecated. 
Output a String.


println

public boolean println(String what)
Deprecated. 
Output a String followed by CR/LF.


isOpen

public boolean isOpen()
Deprecated. 

close

public boolean close()
Deprecated. 

flush

public boolean flush()
Deprecated.