Mercurial > hg > accesspd
comparison java/src/uk/ac/qmul/eecs/ccmi/pdsupport/PdPersistenceManager.java @ 1:e3935c01cde2 tip
moved license of PdPersistenceManager to the beginning of the file
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Tue, 08 Jul 2014 19:52:03 +0100 |
parents | 78b7fc5391a2 |
children |
comparison
equal
deleted
inserted
replaced
0:78b7fc5391a2 | 1:e3935c01cde2 |
---|---|
1 package uk.ac.qmul.eecs.ccmi.pdsupport; | |
2 | |
3 import java.io.IOException; | |
4 import java.io.InputStream; | |
5 import java.io.OutputStream; | |
6 import java.io.OutputStreamWriter; | |
7 import java.io.PrintWriter; | |
8 import java.nio.charset.Charset; | |
9 | |
10 import uk.ac.qmul.eecs.ccmi.gui.Diagram; | |
11 import uk.ac.qmul.eecs.ccmi.gui.Edge; | |
12 import uk.ac.qmul.eecs.ccmi.gui.Node; | |
13 /* | 1 /* |
14 accessPD - An accessible PD patches editor | 2 accessPD - An accessible PD patches editor |
15 | 3 |
16 Copyright (C) 2014 Fiore Martin | 4 Copyright (C) 2014 Fiore Martin |
17 | 5 |
26 GNU General Public License for more details. | 14 GNU General Public License for more details. |
27 | 15 |
28 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
29 along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 along with this program. If not, see <http://www.gnu.org/licenses/>. |
30 */ | 18 */ |
19 package uk.ac.qmul.eecs.ccmi.pdsupport; | |
20 | |
21 import java.io.IOException; | |
22 import java.io.InputStream; | |
23 import java.io.OutputStream; | |
24 import java.io.OutputStreamWriter; | |
25 import java.io.PrintWriter; | |
26 import java.nio.charset.Charset; | |
27 | |
28 import uk.ac.qmul.eecs.ccmi.gui.Diagram; | |
29 import uk.ac.qmul.eecs.ccmi.gui.Edge; | |
30 import uk.ac.qmul.eecs.ccmi.gui.Node; | |
31 | |
31 public class PdPersistenceManager { | 32 public class PdPersistenceManager { |
32 private static PdPersistenceManager singleton; | 33 private static PdPersistenceManager singleton; |
33 public final static String PD_EXTENSION = ".pd"; | 34 public final static String PD_EXTENSION = ".pd"; |
34 | 35 |
35 public static PdPersistenceManager getInstance(){ | 36 public static PdPersistenceManager getInstance(){ |