java.lang.Object
org.apache.lucene.codecs.simpletext.SimpleTextUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkFooter
(ChecksumIndexInput input) static BytesRef
Inverse ofBytesRef.toString()
.static void
readLine
(DataInput in, BytesRefBuilder scratch) static void
write
(DataOutput out, String s, BytesRefBuilder scratch) static void
write
(DataOutput out, BytesRef b) static void
writeChecksum
(IndexOutput out, BytesRefBuilder scratch) static void
writeNewline
(DataOutput out)
-
Field Details
-
NEWLINE
public static final byte NEWLINE- See Also:
-
ESCAPE
public static final byte ESCAPE- See Also:
-
CHECKSUM
-
-
Constructor Details
-
SimpleTextUtil
SimpleTextUtil()
-
-
Method Details
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeNewline
- Throws:
IOException
-
readLine
- Throws:
IOException
-
writeChecksum
- Throws:
IOException
-
fromBytesRefString
Inverse ofBytesRef.toString()
.
-