public class AcrDataSource extends DataSource
DEFAULT_INTRO_LIMIT, MARK_WORKAROUND_PROPERTY
Constructor and Description |
---|
AcrDataSource(AcrConnection connection,
String uri)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getLength()
Returns the length of the stream returned by getInputStream
in bytes, if known.
|
InputStream |
getRawInputStream()
Provides a new InputStream for this data source.
|
close, forceCompression, getCompression, getHybridInputStream, getInputStream, getInputStream, getIntro, getIntroLimit, getMarkWorkaround, getName, getPosition, getRawLength, getSystemId, getURL, makeDataSource, makeDataSource, makeDataSource, setCompression, setIntroLimit, setMarkWorkaround, setName, setPosition, toString
public AcrDataSource(AcrConnection connection, String uri)
connection
- connection objecturi
- ivorn of remote filepublic long getLength()
DataSource
getLength
in class DataSource
public InputStream getRawInputStream() throws IOException
DataSource
getRawInputStream
in class DataSource
IOException
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.