1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.xnap.plugin.viewer.vorbisviewer;
21
22 import org.apache.log4j.Logger;
23 import org.xnap.util.AbstractPluginPreferences;
24
25 public class VorbisViewerPreferences extends AbstractPluginPreferences
26 {
27
28
29 public static final int VERSION = 1;
30
31
32
33 private static VorbisViewerPreferences instance = null;
34
35 private static Logger logger = Logger.getLogger(VorbisViewerPreferences.class);
36
37
38
39 public VorbisViewerPreferences()
40 {
41 super("plugin.viewer.vorbisviewer", VERSION);
42 setDefault("vorbistagsTableColumns", "tagname;tagvalue;");
43 }
44
45
46
47 public static synchronized VorbisViewerPreferences getInstance()
48 {
49 if (instance == null) {
50 instance = new VorbisViewerPreferences();
51 }
52 return instance;
53 }
54 }