00001 00004 package org.openmobileis.common.util; 00005 00006 import java.io.IOException; 00007 00012 public interface PropertiesService { 00013 00022 public String getProperty(String key, String defaultValue); 00023 00031 public String getProperty(String key); 00032 00039 public void addProperty(String key, String value); 00040 00041 00045 public void removeAllProperties(); 00046 00047 00058 public void addPropertiesFile(String filename) throws IOException; 00059 00067 public void addPropertiesFileFromFilePath(String filename) throws java.io.IOException; 00068 00080 public java.util.Properties getProperties(String prop_file) throws java.io.IOException; 00081 00089 public java.util.Properties getPropertiesFromPath(String prop_file)throws java.io.IOException; 00090 00096 public java.util.Properties getProperties(); 00097 00098 00099 00100 00101 }