Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void readFile() {
- String line;
- int index = 0;
- try {
- while((line = br.readLine() ) != null){
- String neco[] = line.split("-");
- for(int i=0; i<17; i++){
- map[i][index]=neco[i];
- }
- index++;
- }
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement