public class ImageReader extends AbstractDataReader
DataReaderFactory
.Constructor and Description |
---|
ImageReader(String mimeType)
Creates a new instance with the specified MIME type.
|
Modifier and Type | Method and Description |
---|---|
DataSource |
read(InputStream input,
Class<? extends Comparable<?>>... types)
Returns a data source that was imported.
|
getMimeType, getSetting, setDefault, setSetting
addCapabilities, getCapabilities
public ImageReader(String mimeType)
mimeType
- MIME type of the file format to be read.public DataSource read(InputStream input, Class<? extends Comparable<?>>... types) throws IOException
input
- Input to be read.types
- Number types for the columns of the data source.IOException
- when the file format is not valid or when
experiencing an error during file operations.Copyright © 2009-2013. All Rights Reserved.