OSDN Git Service

ver1.3.0a
[jugglemaster/source.git] / workspace / JuggleMaster / src / com / jm / pref / PrefUtil.java
1 package com.jm.pref;
2
3 import android.content.SharedPreferences;
4
5 public interface PrefUtil {
6         SharedPreferences getSharedPreferences();
7         void put(String key, String value);
8         void put(String key, int value);
9         void put(String key, long value);
10         String get(String key);
11         int getInt(String key);
12         long getLong(String key);
13         String get(String key, String initValue);
14         int getInt(String key, int initValue);
15         long getLong(String key, long initValue);
16         void copy(String srcKey, String dstKey);
17         void remove(String key);
18 }