Examples of ScanStatistic


Examples of fr.pilato.elasticsearch.river.fs.river.ScanStatistic

        testHelper("C:\\tmp", "C:\\tmp\\myfile.txt", "/myfile.txt");
        testHelper("C:\\tmp", "C:\\tmp\\dir\\myfile.txt", "/dir/myfile.txt");
    }

    private void testHelper(String rootPath, String realPath, String expectedPath) {
        assertThat(FsRiverUtil.computeVirtualPathName(new ScanStatistic(rootPath), realPath), is(expectedPath));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.