public String asDenseCSV() throws IOException { return asDenseCSV('\t'); }
public String asHtml() throws IOException { StringWriter writer = new StringWriter(); new DefaultMatrixWriterHtmlExporter(getMatrix(), writer).asHtml(); writer.close(); return writer.toString(); }
public MatrixStringExportDestination string() { return new DefaultMatrixStringExportDestination(getMatrix()); }
public String asRScript(String variableName) throws IOException { StringWriter writer = new StringWriter(); new DefaultMatrixWriterRScriptExporter(getMatrix(), writer).asRScript(variableName); writer.close(); return writer.toString(); }
public String asSQL(DBType db, String databaseName, String tableName) throws IOException { StringWriter writer = new StringWriter(); new DefaultMatrixWriterSQLExporter(getMatrix(), writer).asSQL(db, databaseName, tableName); writer.close(); return writer.toString(); }
public String asDenseCSV(char columnSeparator) throws IOException { return asDenseCSV(columnSeparator, '\0'); }
public String asMatlabScript(String variableName) throws IOException { StringWriter writer = new StringWriter(); new DefaultMatrixWriterMatlabScriptExporter(getMatrix(), writer) .asMatlabScript(variableName); writer.close(); return writer.toString(); }
public String asDenseCSV(char columnSeparator, char enclosingCharacter) throws IOException { StringWriter writer = new StringWriter(); new DefaultMatrixWriterCSVExporter(getMatrix(), writer).asDenseCSV(columnSeparator, enclosingCharacter); writer.close(); return writer.toString(); }
public String asLatex() throws IOException { StringWriter writer = new StringWriter(); new DefaultMatrixWriterLatexExporter(getMatrix(), writer).asLatex(); writer.close(); return writer.toString(); }