Package org.ujmp.core.importer.source
Class DefaultMatrixStreamImportSource
- java.lang.Object
-
- org.ujmp.core.importer.source.AbstractMatrixImportSource
-
- org.ujmp.core.importer.source.AbstractMatrixStreamImportSource
-
- org.ujmp.core.importer.source.DefaultMatrixStreamImportSource
-
- All Implemented Interfaces:
MatrixBMPImportFormat
,MatrixDenseCSVImportFormat
,MatrixGIFImportFormat
,MatrixImportFormat
,MatrixJPGImportFormat
,MatrixPDFImportFormat
,MatrixPNGImportFormat
,MatrixTIFFImportFormat
,MatrixImportSource
,MatrixStreamImportSource
public class DefaultMatrixStreamImportSource extends AbstractMatrixStreamImportSource
-
-
Constructor Summary
Constructors Constructor Description DefaultMatrixStreamImportSource(Matrix matrix, java.io.InputStream stream)
-
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.AbstractMatrixStreamImportSource
getStream
-
Methods inherited from class org.ujmp.core.importer.source.AbstractMatrixImportSource
getTargetMatrix
-
-
-
-
Constructor Detail
-
DefaultMatrixStreamImportSource
public DefaultMatrixStreamImportSource(Matrix matrix, java.io.InputStream stream)
-
-
Method Detail
-
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
-
asPDF
public Matrix asPDF() throws java.io.IOException
- Throws:
java.io.IOException
-
asJPG
public Matrix asJPG() throws java.io.IOException
- Throws:
java.io.IOException
-
asGIF
public Matrix asGIF() throws java.io.IOException
- Throws:
java.io.IOException
-
asBMP
public Matrix asBMP() throws java.io.IOException
- Throws:
java.io.IOException
-
asPNG
public Matrix asPNG() throws java.io.IOException
- Throws:
java.io.IOException
-
asTIFF
public Matrix asTIFF() throws java.io.IOException
- Throws:
java.io.IOException
-
-