public class SimpleTextSegmentInfoFormat extends SegmentInfoFormat
FOR RECREATIONAL USE ONLY
| Modifier and Type | Field and Description |
|---|---|
static String |
SI_EXTENSION |
| Constructor and Description |
|---|
SimpleTextSegmentInfoFormat() |
| Modifier and Type | Method and Description |
|---|---|
SegmentInfo |
read(Directory directory,
String segmentName,
byte[] segmentID,
IOContext context) |
void |
write(Directory dir,
SegmentInfo si,
IOContext ioContext) |
public static final String SI_EXTENSION
public SegmentInfo read(Directory directory, String segmentName, byte[] segmentID, IOContext context) throws IOException
read in class SegmentInfoFormatIOExceptionpublic void write(Directory dir, SegmentInfo si, IOContext ioContext) throws IOException
write in class SegmentInfoFormatIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.