paths
This commit is contained in:
+2
-2
@@ -189,14 +189,14 @@ public class MultiThreadTreeLoader {
|
|||||||
|
|
||||||
treesFileNames.add(target.toString());
|
treesFileNames.add(target.toString());
|
||||||
}
|
}
|
||||||
// FileHelper.createDirectory(outputPath + "dumps/");
|
FileHelper.createDirectory(outputPath + "pairs/");
|
||||||
log.info("Calculating pairs");
|
log.info("Calculating pairs");
|
||||||
// treesFileNames = treesFileNames.subList(0,100);
|
// treesFileNames = treesFileNames.subList(0,100);
|
||||||
byte [] buf = new byte[0];
|
byte [] buf = new byte[0];
|
||||||
String line = null;
|
String line = null;
|
||||||
try {
|
try {
|
||||||
|
|
||||||
FileChannel rwChannel = new RandomAccessFile(outputPath +"textfile.txt", "rw").getChannel();
|
FileChannel rwChannel = new RandomAccessFile(outputPath + "pairs/" +"textfile.txt", "rw").getChannel();
|
||||||
ByteBuffer wrBuf = rwChannel.map(FileChannel.MapMode.READ_WRITE, 0, Integer.MAX_VALUE);
|
ByteBuffer wrBuf = rwChannel.map(FileChannel.MapMode.READ_WRITE, 0, Integer.MAX_VALUE);
|
||||||
int fileCounter = 0;
|
int fileCounter = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user