Android Open Source - ExpertAndroid String Field Transport

From Project

Back to project page ExpertAndroid.


The source code is released under:

MIT License

If you think the Android project ExpertAndroid 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 converters;
/*from  w w  w  . j  a va 2  s. c  o m*/
import android.os.Parcel;

import com.parse.ParseObject;

public class StringFieldTransport 
implements IFieldTransport
  ParseObject po;
  Parcel p;
  int d = IFieldTransport.DIRECTION_FORWARD;
  public StringFieldTransport(ParseObject inpo, Parcel inp)
  public StringFieldTransport(ParseObject inpo, Parcel inp, int direction)
    po = inpo;
    p = inp;
    d = direction;
  public void transfer(ValueField f) 
      //parcel to parseobject
      String s = p.readString();
      po.put(, s);
      //parseobject to parcel
      String s = po.getString(;

Java Source Code List