Class DefaultMatrixImportSourceSelector
- java.lang.Object
-
- org.ujmp.core.importer.sourceselector.AbstractMatrixImportSourceSelector
-
- org.ujmp.core.importer.sourceselector.DefaultMatrixImportSourceSelector
-
- All Implemented Interfaces:
MatrixImportSourceSelector
public class DefaultMatrixImportSourceSelector extends AbstractMatrixImportSourceSelector
-
-
Constructor Summary
Constructors Constructor Description DefaultMatrixImportSourceSelector()
DefaultMatrixImportSourceSelector(Matrix targetMatrix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixByteArrayImportSource
byteArray(byte[] bytes)
MatrixClipboardImportSource
clipboard()
MatrixFileImportSource
file(java.io.File file)
MatrixFileImportSource
file(java.lang.String file)
MatrixReaderImportSource
reader(java.io.Reader reader)
MatrixStreamImportSource
stream(java.io.InputStream stream)
MatrixStringImportSource
string(java.lang.String string)
MatrixURLImportSource
url(java.net.URL url)
-
Methods inherited from class org.ujmp.core.importer.sourceselector.AbstractMatrixImportSourceSelector
getTargetMatrix
-
-
-
-
Constructor Detail
-
DefaultMatrixImportSourceSelector
public DefaultMatrixImportSourceSelector(Matrix targetMatrix)
-
DefaultMatrixImportSourceSelector
public DefaultMatrixImportSourceSelector()
-
-
Method Detail
-
clipboard
public MatrixClipboardImportSource clipboard()
-
file
public MatrixFileImportSource file(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
file
public MatrixFileImportSource file(java.lang.String file) throws java.io.IOException
- Throws:
java.io.IOException
-
reader
public MatrixReaderImportSource reader(java.io.Reader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
stream
public MatrixStreamImportSource stream(java.io.InputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
string
public MatrixStringImportSource string(java.lang.String string)
-
url
public MatrixURLImportSource url(java.net.URL url) throws java.io.IOException
- Throws:
java.io.IOException
-
byteArray
public MatrixByteArrayImportSource byteArray(byte[] bytes)
-
-