Package org.ujmp.core.importer.source
Class DefaultMatrixFileImportSource
- java.lang.Object
-
- org.ujmp.core.importer.source.AbstractMatrixImportSource
-
- org.ujmp.core.importer.source.AbstractMatrixFileImportSource
-
- org.ujmp.core.importer.source.DefaultMatrixFileImportSource
-
- All Implemented Interfaces:
MatrixBMPImportFormat
,MatrixDenseCSVImportFormat
,MatrixGIFImportFormat
,MatrixImportFormat
,MatrixJPGImportFormat
,MatrixPDFImportFormat
,MatrixPNGImportFormat
,MatrixTIFFImportFormat
,MatrixFileImportSource
,MatrixImportSource
public class DefaultMatrixFileImportSource extends AbstractMatrixFileImportSource
-
-
Constructor Summary
Constructors Constructor Description DefaultMatrixFileImportSource(Matrix matrix, java.io.File file)
DefaultMatrixFileImportSource(Matrix matrix, java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Matrix
asBMP()
Matrix
asDenseCSV()
Matrix
asDenseCSV(char columnSeparator)
Matrix
asDenseCSV(char columnSeparator, char enclosingCharacter)
Matrix
asGIF()
Matrix
asJPG()
Matrix
asPDF()
Matrix
asPNG()
Matrix
asTIFF()
-
Methods inherited from class org.ujmp.core.importer.source.AbstractMatrixFileImportSource
getFile
-
Methods inherited from class org.ujmp.core.importer.source.AbstractMatrixImportSource
getTargetMatrix
-
-
-
-
Method Detail
-
asPDF
public Matrix asPDF() throws java.io.IOException
- Throws:
java.io.IOException
-
asJPG
public Matrix asJPG() throws java.io.IOException
- Throws:
java.io.IOException
-
asTIFF
public Matrix asTIFF() throws java.io.IOException
- Throws:
java.io.IOException
-
asBMP
public Matrix asBMP() throws java.io.IOException
- Throws:
java.io.IOException
-
asGIF
public Matrix asGIF() throws java.io.IOException
- Throws:
java.io.IOException
-
asPNG
public Matrix asPNG() throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public Matrix asDenseCSV() throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public Matrix asDenseCSV(char columnSeparator) throws java.io.IOException
- Throws:
java.io.IOException
-
asDenseCSV
public Matrix asDenseCSV(char columnSeparator, char enclosingCharacter) throws java.io.IOException
- Throws:
java.io.IOException
-
-