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 SegmentInfoFormat
IOException
public void write(Directory dir, SegmentInfo si, IOContext ioContext) throws IOException
write
in class SegmentInfoFormat
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.