Android Open Source - kvs-schema Schema






From Project

Back to project page kvs-schema.

License

The source code is released under:

MIT License

If you think the Android project kvs-schema listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.rejasupotaro.android.kvs;
/*  ww  w.j  a  v  a 2  s  . c om*/
import java.util.Set;

public abstract class Schema {
    protected abstract void putBoolean(String key, boolean value);
    protected abstract void putString(String key, String value);
    protected abstract void putFloat(String key, float value);
    protected abstract void putInt(String key, int value);
    protected abstract void putLong(String key, long value);
    protected abstract void putStringSet(String key, Set<String> value);

    protected abstract boolean getBoolean(String key, boolean defValue);
    protected abstract String getString(String key, String defValue);
    protected abstract float getFloat(String key, float defValue);
    protected abstract int getInt(String key, int defValue);
    protected abstract long getLong(String key, long defValue);
    protected abstract Set<String> getStringSet(String key, Set<String> defValue);

    protected abstract boolean has(String key);

    protected abstract void remove(String key);

    public abstract void clear();
}




Java Source Code List

com.example.android.kvs.ApplicationTest.java
com.example.android.kvs.ExamplePrefsSchema.java
com.example.android.kvs.MainActivity.java
com.rejasupotaro.android.kvs.ApplicationTest.java
com.rejasupotaro.android.kvs.PrefSchema.java
com.rejasupotaro.android.kvs.Schema.java
com.rejasupotaro.android.kvs.internal.Classes.java
com.rejasupotaro.android.kvs.internal.EnvParser.java
com.rejasupotaro.android.kvs.internal.SchemaModel.java
com.rejasupotaro.android.kvs.internal.SchemaProcessor.java
com.rejasupotaro.android.kvs.internal.SchemaWriter.java
com.rejasupotaro.android.kvs.internal.StringUtils.java
com.rejasupotaro.android.kvs.internal.exceptions.TableNameDuplicateException.java
com.rejasupotaro.android.kvs.internal.exceptions.TableNameIsInvalidException.java
com.rejasupotaro.android.kvs.internal.exceptions.TableNameIsNotDefinedException.java
com.rejaupotaro.android.kvs.annotations.Key.java
com.rejaupotaro.android.kvs.annotations.Table.java