svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.app / org.gvsig.app.mainplugin / src / main / java / org / gvsig / app / PreferencesNode.java @ 44198
History | View | Annotate | Download (2.01 KB)
1 | 40558 | jjdelcerro | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2013 gvSIG Association.
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 3
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | */
|
||
24 | 40435 | jjdelcerro | package org.gvsig.app; |
25 | |||
26 | import java.awt.Color; |
||
27 | |||
28 | |||
29 | public interface PreferencesNode { |
||
30 | |||
31 | public String name() ; |
||
32 | |||
33 | public void clear() throws Exception ; |
||
34 | |||
35 | public void flush() throws Exception; |
||
36 | |||
37 | public String[] keys() throws Exception ; |
||
38 | |||
39 | public String get(String arg0, String arg1) ; |
||
40 | |||
41 | public void remove(String arg0) ; |
||
42 | |||
43 | public void sync() throws Exception ; |
||
44 | |||
45 | |||
46 | |||
47 | public Color getColor(String name, Color value) ; |
||
48 | |||
49 | public boolean getBoolean(String name, boolean value) ; |
||
50 | |||
51 | public byte[] getByteArray(String name, byte[] value) ; |
||
52 | |||
53 | public double getDouble(String name, double value) ; |
||
54 | |||
55 | public float getFloat(String name, float value) ; |
||
56 | |||
57 | public int getInt(String name, int value) ; |
||
58 | |||
59 | public long getLong(String name, long value) ; |
||
60 | |||
61 | |||
62 | public void put(String name, String value) ; |
||
63 | |||
64 | public void putBoolean(String name, boolean value) ; |
||
65 | |||
66 | public void putByteArray(String name, byte[] value) ; |
||
67 | |||
68 | public void putDouble(String name, double value) ; |
||
69 | |||
70 | public void putFloat(String name, float value) ; |
||
71 | |||
72 | public void putInt(String name, int value) ; |
||
73 | |||
74 | public void putLong(String name, long value) ; |
||
75 | |||
76 | |||
77 | } |