Package org.ujmp.core.export.destination
Class DefaultMatrixFileExportDestination
- java.lang.Object
-
- org.ujmp.core.export.destination.AbstractMatrixExportDestination
-
- org.ujmp.core.export.destination.AbstractMatrixFileExportDestination
-
- org.ujmp.core.export.destination.DefaultMatrixFileExportDestination
-
- All Implemented Interfaces:
MatrixExportDestination
,MatrixFileExportDestination
,MatrixDenseCSVExportFormat
,MatrixExportFormat
,MatrixLatexExportFormat
,MatrixMatlabScriptExportFormat
,MatrixPLTExportFormat
,MatrixRScriptExportFormat
,MatrixSQLExportFormat
,MatrixXLSExportFormat
public class DefaultMatrixFileExportDestination extends AbstractMatrixFileExportDestination
-
-
Constructor Summary
Constructors Constructor Description DefaultMatrixFileExportDestination(Matrix matrix, java.io.File file)
-
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
asPLT(java.lang.Object... parameters)
void
asRScript(java.lang.String variableName)
void
asSQL(DBType db, java.lang.String databaseName, java.lang.String tableName)
void
asXLS()
-
Methods inherited from class org.ujmp.core.export.destination.AbstractMatrixFileExportDestination
getFile
-
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
-
DefaultMatrixFileExportDestination
public DefaultMatrixFileExportDestination(Matrix matrix, java.io.File file)
-
-
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
-
asXLS
public void asXLS() throws java.io.IOException
- Throws:
java.io.IOException
-
asPLT
public void asPLT(java.lang.Object... parameters) throws java.io.IOException
- Throws:
java.io.IOException
-
-