public final class SegmentFile extends Object
| Modifier and Type | Method and Description |
|---|---|
File |
file()
Returns the segment file.
|
long |
id()
Returns the segment identifier.
|
static boolean |
isSegmentFile(String name,
File file)
Returns a boolean value indicating whether the given file appears to be a parsable segment file.
|
long |
version()
Returns the segment version.
|
public static boolean isSegmentFile(String name, File file)
NullPointerException - if file is nullpublic File file()
public long id()
public long version()
Copyright © 2013–2016. All rights reserved.