1 /*
2 * Copyright 2013 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 1.0 (the
5 * "License"); you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl1.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16 package org.kuali.student.git.tools;
17
18 import java.io.BufferedReader;
19 import java.io.FileReader;
20 import java.io.IOException;
21
22 /**
23 * @author Kuali Student Team
24 *
25 */
26 public class GitCopyFileParser {
27
28 /**
29 *
30 */
31 public GitCopyFileParser() {
32
33 }
34
35 public void parse (String file) throws IOException {
36
37 BufferedReader reader = new BufferedReader(new FileReader(file));
38
39
40 while (true) {
41
42 String line = reader.readLine();
43
44 if (line == null)
45 break;
46
47 if (line.trim().length() == 0)
48 continue; // skip empty lines
49
50 String[] parts = line.split(" ");
51
52
53 }
54 reader.close();
55 }
56
57 }