01: /*
02: * PropertyStorage.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.interfaces;
13:
14: /**
15: * @author support@sql-workbench.net
16: */
17: public interface PropertyStorage {
18: Object setProperty(String property, String value);
19:
20: void setProperty(String property, int value);
21:
22: void setProperty(String property, boolean value);
23:
24: boolean getBoolProperty(String property, boolean defaultValue);
25:
26: int getIntProperty(String property, int defaultValue);
27:
28: String getProperty(String property, String defaultValue);
29: }
|