jsci.io
Class TextWriter

java.lang.Object
  extended by jsci.io.TextWriter

public class TextWriter
extends java.lang.Object


Constructor Summary
TextWriter(java.io.File file)
           
TextWriter(java.lang.String name)
           
TextWriter(java.io.Writer writer)
           
 
Method Summary
 void close()
           
 java.lang.String getDelimiter()
           
 java.text.NumberFormat getFormat()
           
 void newLine()
           
 void setDelimiter(java.lang.String s)
           
 void setFormat(java.text.NumberFormat format)
           
 void write(double x)
           
 void write(double[][] data)
           
 void write(DoubleArray2D array)
           
 void write(int x)
           
 void write(java.lang.String str)
           
 void writeColumn(double[] data)
           
 void writeColumn(DoubleArray1D array)
           
 void writeRow(double[] data)
           
 void writeRow(DoubleArray1D array)
           
 void writeTable(DoubleArray2D array)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextWriter

public TextWriter(java.io.Writer writer)

TextWriter

public TextWriter(java.lang.String name)
           throws java.io.IOException
Throws:
java.io.IOException

TextWriter

public TextWriter(java.io.File file)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setDelimiter

public void setDelimiter(java.lang.String s)

getDelimiter

public java.lang.String getDelimiter()

setFormat

public void setFormat(java.text.NumberFormat format)

getFormat

public java.text.NumberFormat getFormat()

write

public void write(java.lang.String str)
           throws java.io.IOException
Throws:
java.io.IOException

newLine

public void newLine()
             throws java.io.IOException
Throws:
java.io.IOException

write

public void write(double x)
           throws java.io.IOException
Throws:
java.io.IOException

write

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

writeRow

public void writeRow(double[] data)
              throws java.io.IOException
Throws:
java.io.IOException

writeColumn

public void writeColumn(double[] data)
                 throws java.io.IOException
Throws:
java.io.IOException

write

public void write(double[][] data)
           throws java.io.IOException
Throws:
java.io.IOException

writeTable

public void writeTable(DoubleArray2D array)
                throws java.io.IOException
Throws:
java.io.IOException

write

public void write(DoubleArray2D array)
           throws java.io.IOException
Throws:
java.io.IOException

writeRow

public void writeRow(DoubleArray1D array)
              throws java.io.IOException
Throws:
java.io.IOException

writeColumn

public void writeColumn(DoubleArray1D array)
                 throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException