Package org.ujmp.core.export.destination
Class DefaultMatrixWriterExportDestination
- java.lang.Object
-
- org.ujmp.core.export.destination.AbstractMatrixExportDestination
-
- org.ujmp.core.export.destination.AbstractMatrixWriterExportDestination
-
- org.ujmp.core.export.destination.DefaultMatrixWriterExportDestination
-
- All Implemented Interfaces:
MatrixExportDestination
,MatrixWriterExportDestination
,MatrixDenseCSVExportFormat
,MatrixExportFormat
,MatrixLatexExportFormat
,MatrixMatlabScriptExportFormat
,MatrixRScriptExportFormat
,MatrixSQLExportFormat
public class DefaultMatrixWriterExportDestination extends AbstractMatrixWriterExportDestination
-
-
Constructor Summary
Constructors Constructor Description DefaultMatrixWriterExportDestination(Matrix matrix, java.io.Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
asDenseCSV()
void
asDenseCSV(char columnSeparator)
void
asDenseCSV(char columnSeparator, char enclosingCharacter)
void
asLatex()
void
asMatlabScript(java.lang.String variableName)
void
asRScript(java.lang.String variableName)
void
asSQL(DBType db, java.lang.String databaseName, java.lang.String tableName)
-
Methods inherited from class org.ujmp.core.export.destination.AbstractMatrixWriterExportDestination
getWriter
-
Methods inherited from class org.ujmp.core.export.destination.AbstractMatrixExportDestination
getMatrix
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.export.destination.MatrixExportDestination
getMatrix
-
-
-
-
Constructor Detail
-
DefaultMatrixWriterExportDestination
public DefaultMatrixWriterExportDestination(Matrix matrix, java.io.Writer writer)
-
-
Method Detail
-
asDenseCSV
public void asDenseCSV(char columnSeparator, char enclosingCharacter) throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public void asDenseCSV(char columnSeparator) throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public void asDenseCSV() throws java.io.IOException
- Throws:
java.io.IOException
-
asSQL
public void asSQL(DBType db, java.lang.String databaseName, java.lang.String tableName) throws java.io.IOException
- Throws:
java.io.IOException
-
asMatlabScript
public void asMatlabScript(java.lang.String variableName) throws java.io.IOException
- Throws:
java.io.IOException
-
asRScript
public void asRScript(java.lang.String variableName) throws java.io.IOException
- Throws:
java.io.IOException
-
asLatex
public void asLatex() throws java.io.IOException
- Throws:
java.io.IOException
-
-