Package org.ujmp.core.export.destination
Class DefaultMatrixStringExportDestination
- java.lang.Object
-
- org.ujmp.core.export.destination.AbstractMatrixExportDestination
-
- org.ujmp.core.export.destination.AbstractMatrixStringExportDestination
-
- org.ujmp.core.export.destination.DefaultMatrixStringExportDestination
-
- All Implemented Interfaces:
MatrixExportDestination
,MatrixStringExportDestination
,MatrixDenseCSVStringExportFormat
,MatrixExportFormat
,MatrixHtmlStringExportFormat
,MatrixLatexStringExportFormat
,MatrixMatlabScriptStringExportFormat
,MatrixRScriptStringExportFormat
,MatrixSQLStringExportFormat
public class DefaultMatrixStringExportDestination extends AbstractMatrixStringExportDestination
-
-
Constructor Summary
Constructors Constructor Description DefaultMatrixStringExportDestination(Matrix matrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asDenseCSV()
java.lang.String
asDenseCSV(char columnSeparator)
java.lang.String
asDenseCSV(char columnSeparator, char enclosingCharacter)
java.lang.String
asHtml()
java.lang.String
asLatex()
java.lang.String
asMatlabScript(java.lang.String variableName)
java.lang.String
asRScript(java.lang.String variableName)
java.lang.String
asSQL(DBType db, java.lang.String databaseName, java.lang.String tableName)
-
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
-
DefaultMatrixStringExportDestination
public DefaultMatrixStringExportDestination(Matrix matrix)
-
-
Method Detail
-
asDenseCSV
public java.lang.String asDenseCSV(char columnSeparator, char enclosingCharacter) throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public java.lang.String asDenseCSV(char columnSeparator) throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public java.lang.String asDenseCSV() throws java.io.IOException
- Throws:
java.io.IOException
-
asSQL
public java.lang.String asSQL(DBType db, java.lang.String databaseName, java.lang.String tableName) throws java.io.IOException
- Throws:
java.io.IOException
-
asMatlabScript
public java.lang.String asMatlabScript(java.lang.String variableName) throws java.io.IOException
- Throws:
java.io.IOException
-
asRScript
public java.lang.String asRScript(java.lang.String variableName) throws java.io.IOException
- Throws:
java.io.IOException
-
asLatex
public java.lang.String asLatex() throws java.io.IOException
- Throws:
java.io.IOException
-
asHtml
public java.lang.String asHtml() throws java.io.IOException
- Throws:
java.io.IOException
-
-