public interface SourceTraceability
sourceDescription() would say the name of the file,
and position() the byte offset the reader is currently at.
Another example could be reading from a relationship db table where sourceDescription() would
say the name of the database and table and position() some sort of absolute position saying
the byte offset to the field.| Modifier and Type | Interface and Description |
|---|---|
static class |
SourceTraceability.Adapter |
| Modifier and Type | Field and Description |
|---|---|
static SourceTraceability |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
long |
position() |
String |
sourceDescription() |
static final SourceTraceability EMPTY
String sourceDescription()
long position()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.