org.ujmp.core.io
Class ExportMatrix

java.lang.Object
  extended by org.ujmp.core.io.ExportMatrix

public abstract class ExportMatrix
extends Object


Constructor Summary
ExportMatrix()
           
 
Method Summary
static FileFormat guessFormat(File file)
           
static void toClipboard(FileFormat format, Matrix matrix, Object... parameters)
           
static void toFile(FileFormat format, File file, Matrix matrix, Object... parameters)
           
static void toFile(FileFormat format, String filename, Matrix matrix, Object... parameters)
           
static void toFile(File file, Matrix m, Object... parameters)
           
static void toFile(String file, Matrix m, Object... parameters)
           
static void toStream(FileFormat format, OutputStream outputStream, Matrix matrix, Object... parameters)
           
static String toString(FileFormat format, Matrix matrix, Object... parameters)
           
static void toWriter(FileFormat format, Writer writer, Matrix matrix, Object... parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportMatrix

public ExportMatrix()
Method Detail

toFile

public static final void toFile(File file,
                                Matrix m,
                                Object... parameters)
                         throws MatrixException,
                                IOException
Throws:
MatrixException
IOException

toFile

public static final void toFile(String file,
                                Matrix m,
                                Object... parameters)
                         throws MatrixException,
                                IOException
Throws:
MatrixException
IOException

toFile

public static final void toFile(FileFormat format,
                                String filename,
                                Matrix matrix,
                                Object... parameters)
                         throws MatrixException,
                                IOException
Throws:
MatrixException
IOException

toFile

public static final void toFile(FileFormat format,
                                File file,
                                Matrix matrix,
                                Object... parameters)
                         throws MatrixException,
                                IOException
Throws:
MatrixException
IOException

guessFormat

public static FileFormat guessFormat(File file)

toString

public static final String toString(FileFormat format,
                                    Matrix matrix,
                                    Object... parameters)
                             throws MatrixException,
                                    IOException
Throws:
MatrixException
IOException

toClipboard

public static final void toClipboard(FileFormat format,
                                     Matrix matrix,
                                     Object... parameters)
                              throws MatrixException,
                                     IOException
Throws:
MatrixException
IOException

toStream

public static final void toStream(FileFormat format,
                                  OutputStream outputStream,
                                  Matrix matrix,
                                  Object... parameters)
                           throws IOException
Throws:
IOException

toWriter

public static final void toWriter(FileFormat format,
                                  Writer writer,
                                  Matrix matrix,
                                  Object... parameters)


Copyright © 2010. All Rights Reserved.