public class GeneralFileDataSource extends DataSource
DEFAULT_INTRO_LIMIT, MARK_WORKAROUND_PROPERTY
Constructor and Description |
---|
GeneralFileDataSource(edu.sdsc.grid.io.GeneralFile gf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a name for this source.
|
InputStream |
getRawInputStream()
Provides a new InputStream for this data source.
|
close, forceCompression, getCompression, getHybridInputStream, getInputStream, getInputStream, getIntro, getIntroLimit, getLength, getMarkWorkaround, getPosition, getRawLength, getSystemId, getURL, makeDataSource, makeDataSource, makeDataSource, setCompression, setIntroLimit, setMarkWorkaround, setName, setPosition, toString
public GeneralFileDataSource(edu.sdsc.grid.io.GeneralFile gf)
gf
- general file object on which this DataSource is based.public String getName()
DataSource
DataSource.getURL()
method
(or some suitable class-specific method) should be used.
If this source has a position, it should probably form part of
this name.getName
in class DataSource
public InputStream getRawInputStream() throws IOException
DataSource
getRawInputStream
in class DataSource
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.