public class SimpleTextCompoundFormat extends CompoundFormat
FOR RECREATIONAL USE ONLY
Constructor and Description |
---|
SimpleTextCompoundFormat()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
files(SegmentInfo si) |
Directory |
getCompoundReader(Directory dir,
SegmentInfo si,
IOContext context) |
void |
write(Directory dir,
SegmentInfo si,
Collection<String> files,
IOContext context) |
public Directory getCompoundReader(Directory dir, SegmentInfo si, IOContext context) throws IOException
getCompoundReader
in class CompoundFormat
IOException
public void write(Directory dir, SegmentInfo si, Collection<String> files, IOContext context) throws IOException
write
in class CompoundFormat
IOException
public String[] files(SegmentInfo si)
files
in class CompoundFormat
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.