public abstract class InputStreamSource extends Object implements Source
DEFAULT_NAMESPACES, DEFAULT_OUTPUT_SCHEMA, DEFAULT_TYPE_NAME| Constructor and Description |
|---|
InputStreamSource() |
| Modifier and Type | Method and Description |
|---|---|
long |
getRecordCount() |
Collection<SourceRecord> |
getRecords(long startPosition,
long maxRecords,
Report report) |
Collection<SourceRecord> |
getRecords(Report report) |
protected abstract String |
resolveProtocolIdentifier() |
protected abstract InputStream |
resolveSourceInputStream() |
protected Charset |
sourceCharset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndpointpublic long getRecordCount()
getRecordCount in interface Sourcepublic Collection<SourceRecord> getRecords(Report report)
getRecords in interface Sourceprotected abstract InputStream resolveSourceInputStream() throws IOException
IOExceptionprotected abstract String resolveProtocolIdentifier()
protected Charset sourceCharset()
public Collection<SourceRecord> getRecords(long startPosition, long maxRecords, Report report)
getRecords in interface SourceCopyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.