@Test public void testPath() throws RecognitionException, TokenStreamException, PhaseException, IOException { InputStream is = this.getClass().getResourceAsStream("iterate.txt"); String string = IOUtils.readAsString(is, Charset.forName("UTF-8"),true); Assert.assertNotNull(is); List<String> paths = ThirdPhase.processIterateToFindRoot(new StringReader(string)); Assert.assertTrue(paths.size() == 1); }
public static List<String> processIterateToFindRoot(File iterate) throws FileNotFoundException, PhaseException, RecognitionException, TokenStreamException { return processIterateToFindRoot(new FileReader(iterate)); }
ThirdPhase extends AbstractPhase { public static List<String> processIterateToFindRoot(File iterate) throws FileNotFoundException, PhaseException, RecognitionException, TokenStreamException { return processIterateToFindRoot(new FileReader(iterate)); } }
ThirdPhase extends AbstractPhase { public static List<String> processIterateToFindRoot(File iterate) throws FileNotFoundException, PhaseException, RecognitionException, TokenStreamException { return processIterateToFindRoot(new FileReader(iterate)); }  }
ThirdPhase extends AbstractPhase { public static List<String> processIterateToFindRoot(File iterate) throws FileNotFoundException, PhaseException, RecognitionException, TokenStreamException { return processIterateToFindRoot(new FileReader(iterate)); }  @Override void start(String url, String userName, String pswd, String replicationCollections, String replicationImages); static List<String> processIterateToFindRoot(File iterate); static List<String> processIterateToFindRoot(Reader iterateReader); @Override void restart(String previousProcessUUID, File previousProcessRoot, boolean phaseCompleted, String url, String userName, String pswd, String replicationCollections, String replicationImages); }
ThirdPhase extends AbstractPhase { public static List<String> processIterateToFindRoot(File iterate) throws FileNotFoundException, PhaseException, RecognitionException, TokenStreamException { return processIterateToFindRoot(new FileReader(iterate)); }  @Override void start(String url, String userName, String pswd, String replicationCollections, String replicationImages); static List<String> processIterateToFindRoot(File iterate); static List<String> processIterateToFindRoot(Reader iterateReader); @Override void restart(String previousProcessUUID, File previousProcessRoot, boolean phaseCompleted, String url, String userName, String pswd, String replicationCollections, String replicationImages);  }