public class SimpleTextSegmentInfoReader extends SegmentInfoReader
FOR RECREATIONAL USE ONLY
Constructor and Description |
---|
SimpleTextSegmentInfoReader() |
Modifier and Type | Method and Description |
---|---|
SegmentInfo |
read(Directory directory,
String segmentName,
IOContext context)
Read
SegmentInfo data from a directory. |
public SegmentInfo read(Directory directory, String segmentName, IOContext context) throws IOException
SegmentInfoReader
SegmentInfo
data from a directory.read
in class SegmentInfoReader
directory
- directory to read fromsegmentName
- name of the segment to readIOException
- If an I/O error occursCopyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.