01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.properties;
05:
06: import java.util.Properties;
07:
08: public interface TCProperties {
09:
10: int getInt(String key);
11:
12: int getInt(String key, int defaultValue);
13:
14: long getLong(String key);
15:
16: boolean getBoolean(String key);
17:
18: boolean getBoolean(String key, boolean defaultValue);
19:
20: String getProperty(String key);
21:
22: TCProperties getPropertiesFor(String key);
23:
24: String getProperty(String key, boolean missingOkay);
25:
26: float getFloat(String key);
27:
28: Properties addAllPropertiesTo(Properties properties);
29:
30: }
|