Warning: Can't use blame annotator:
svn blame failed on trunk/src/tmcsim/client/cadclientgui/CardfileReader.java: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/trunk/src/tmcsim/client/cadclientgui/CardfileReader.java @ 3

Revision 3, 994 bytes checked in by jdalbey, 10 years ago (diff)

Initial Import of project files - cadclientgui

RevLine 
1package tmcsim.client.cadclientgui;
2
3import java.io.File;
4import java.io.IOException;
5import java.rmi.RemoteException;
6
7import javax.xml.parsers.ParserConfigurationException;
8import javax.xml.parsers.SAXParserFactory;
9
10import org.xml.sax.SAXException;
11
12import tmcsim.client.cadclientgui.data.CardfileData;
13
14public class CardfileReader {
15
16    public CardfileReader(String filePath, CardfileData cfd)
17            throws RemoteException {
18        CardfileHandler ch = new CardfileHandler(cfd);
19        try {
20            SAXParserFactory.newInstance().newSAXParser()
21                    .parse(new File(filePath), ch);
22        } catch (SAXException e) {
23            // TODO Auto-generated catch block
24            e.printStackTrace();
25        } catch (IOException e) {
26            // TODO Auto-generated catch block
27            e.printStackTrace();
28        } catch (ParserConfigurationException e) {
29            // TODO Auto-generated catch block
30            e.printStackTrace();
31        }
32
33    }
34}
Note: See TracBrowser for help on using the repository browser.