daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.       try (BufferedReader br = new BufferedReader(new FileReader(new File(fileName)))) {
  2.             String line;
  3.             while ((line = br.readLine()) != null) {
  4.                 for (int i = 0; i < WIDTH; i++) {
  5.                     Map[row][i] = line.charAt(i);
  6.                 }
  7.                 row += 1;
  8.             }
  9.         } catch (Exception e) {
  10.             e.printStackTrace();
  11.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand