Class NodeStreamConverter
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.analysis.stream.NodeStreamConverter
-
public class NodeStreamConverter extends java.lang.Object
Allows to convert a flat-file store to a node stream.
-
-
Constructor Summary
Constructors Constructor Description NodeStreamConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
convert(java.lang.String sourceFileName, java.lang.String targetFileName)
static void
main(java.lang.String... args)
static void
writeVarInt(java.io.OutputStream out, int x)
Write a variable size int.
-
-
-
Method Detail
-
main
public static void main(java.lang.String... args) throws java.io.IOException
- Throws:
java.io.IOException
-
convert
public static void convert(java.lang.String sourceFileName, java.lang.String targetFileName) throws java.io.IOException
- Throws:
java.io.IOException
-
writeVarInt
public static void writeVarInt(java.io.OutputStream out, int x) throws java.io.IOException
Write a variable size int.- Parameters:
out
- the output streamx
- the value- Throws:
java.io.IOException
- if some data could not be written
-
-