public final class JournalSegmentFile extends Object
| Modifier and Type | Method and Description |
|---|---|
File |
file()
Returns the segment file.
|
static boolean |
isSegmentFile(String name,
File file)
Returns a boolean value indicating whether the given file appears to be a parsable segment file.
|
static boolean |
isSegmentFile(String journalName,
String fileName)
Returns a boolean value indicating whether the given file appears to be a parsable segment file.
|
public static boolean isSegmentFile(String name, File file)
NullPointerException - if file is nullpublic static boolean isSegmentFile(String journalName, String fileName)
journalName - the name of the journalfileName - the name of the file to checkNullPointerException - if file is nullpublic File file()
Copyright © 2013–2018. All rights reserved.