public class FileOffsets
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
FileOffsets(FileOffsetError startError,
FileOffsetError endError)
Create a FileOffsets with an error for the start and end offsets
|
FileOffsets(FileOffsetError startError,
int endOffset)
Create a FileOffsets with an error for the start and an offset for the end
|
FileOffsets(long startOffset,
FileOffsetError endError)
Create a FileOffsets with a start offset and an error for the end offset
|
FileOffsets(long startOffset,
long endOffset)
Create a FileOffsets with two file offsets
|
| Modifier and Type | Method and Description |
|---|---|
FileOffsetError |
getEndError() |
long |
getEndOffset() |
FileOffsetError |
getStartError() |
long |
getStartOffset() |
public FileOffsets(long startOffset,
long endOffset)
startOffset - A start offsetendOffset - An end offsetpublic FileOffsets(long startOffset,
FileOffsetError endError)
startOffset - The start file offsetendError - The end errorpublic FileOffsets(FileOffsetError startError, int endOffset)
startError - The error for the start offsetendOffset - The offset for the endpublic FileOffsets(FileOffsetError startError, FileOffsetError endError)
startError - the error for the end offsetendError - The error for the start offsetpublic long getStartOffset()
public long getEndOffset()
public FileOffsetError getStartError()
public FileOffsetError getEndError()