public class DataPositionSelector extends Selector
GET_CONNECTION, GET_RESOURCE| Constructor and Description |
|---|
DataPositionSelector()
Basic constructor.
|
DataPositionSelector(long start,
long end)
Constructor setting start and long variable.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getEnd()
Gets Refers to http:www.w3.orgnsoa#end
The end position of the segment of data.
|
long |
getStart()
Gets Refers to http:www.w3.orgnsoa#start
The starting position of the segment of data.
|
void |
setEnd(long end)
Sets new Refers to http:www.w3.orgnsoa#end
The end position of the segment of data.
|
void |
setStart(long start)
Sets new Refers to http:www.w3.orgnsoa#start
The starting position of the segment of data.
|
String |
toString() |
getNTriples, getObjectConnection, getResource, getResourceAsString, setResource, setResourceAsStringpublic DataPositionSelector()
public DataPositionSelector(long start,
long end)
start - Starting position in the given bytestream.end - Ending position in the given bytestream.public void setEnd(long end)
end - New value of Refers to http:www.w3.orgnsoa#end
The end position of the segment of data. The last character is not included within the segment.
Each DataPositionSelector must have exactly 1 oa:end property..public long getEnd()
public void setStart(long start)
start - New value of Refers to http:www.w3.orgnsoa#start
The starting position of the segment of data. The first byte is character position 0.
Each DataPositionSelector must have exactly 1 oa:start property..public long getStart()
Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.