Package ch.epfl.lbd.io.readers

Examples of ch.epfl.lbd.io.readers.FileReader.open()


  @Test
  public void run() throws Exception {
    super.run();
    Reader reader = new FileReader(new File("src/assets/test.txt"));
    String value;
    reader.open();
    value = (String)reader.read()[0];
    while(value != null){
      logger.info(value);
      Assert.assertTrue(value.contains("this is the "));
      value = (String)reader.read()[0];
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.