// Path: pocketknife/src/main/java/pocketknife/PocketKnifeBundleSerializer.java
// public interface PocketKnifeBundleSerializer<T> {
// 
//     void put(Bundle bundle, T target, String keyPrefix);
// 
//     T get(Bundle bundle, T target, String keyPrefix);
// }
// 
// Path: pocketknife/src/main/java/pocketknife/PocketKnifeIntentSerializer.java
// public interface PocketKnifeIntentSerializer<T> {
//     void put(Intent intent, T target, String keyPrefix);
//     T get(Intent intent, T target, String keyPrefix);
// }


import android.content.Intent;
import android.os.Bundle;
import pocketknife.PocketKnifeBundleSerializer;
import pocketknife.PocketKnifeIntentSerializer;
package com.example.pocketknife;


public class StringSerializer implements PocketKnifeBundleSerializer<String>, PocketKnifeIntentSerializer<String> {

    @Override
    public void put(Bundle bundle, String target, String keyPrefix) {
// Path: pocketknife/src/main/java/pocketknife/PocketKnifeBundleSerializer.java
// public interface PocketKnifeBundleSerializer<T> {
// 
//     void put(Bundle bundle, T target, String keyPrefix);
// 
//     T get(Bundle bundle, T target, String keyPrefix);
// }
// 
// Path: pocketknife/src/main/java/pocketknife/PocketKnifeIntentSerializer.java
// public interface PocketKnifeIntentSerializer<T> {
//     void put(Intent intent, T target, String keyPrefix);
//     T get(Intent intent, T target, String keyPrefix);
// }


// Path: pocketknife-sample/src/main/java/com/example/pocketknife/StringSerializer.java
import android.content.Intent;
import android.os.Bundle;
import pocketknife.PocketKnifeBundleSerializer;
import pocketknife.PocketKnifeIntentSerializer;

package com.example.pocketknife;


public class StringSerializer implements PocketKnifeBundleSerializer<String>, PocketKnifeIntentSerializer<String> {

    @Override
    public void put(Bundle bundle, String target, String keyPrefix) {
        char[] charArray = (keyPrefix + target).toCharArray();