android.os
Class Parcel

java.lang.Object  extended by android.os.Parcel

public final class Parcel
extends Object


Field Summary
static Parcelable.Creator<String>STRING_CREATOR
           
 
Method Summary
 voidappendFrom(Parcel parcel, int offset, int length)
           
 IBinder[]createBinderArray()
           
 ArrayList<IBinder>createBinderArrayList()
           
 boolean[]createBooleanArray()
           
 byte[]createByteArray()
           
 char[]createCharArray()
           
 double[]createDoubleArray()
           
 float[]createFloatArray()
           
 int[]createIntArray()
           
 long[]createLongArray()
           
 String[]createStringArray()
           
 ArrayList<String>createStringArrayList()
           
<T> T[]
createTypedArray(Parcelable.Creator<T> c)
           
<T> ArrayList<T>
createTypedArrayList(Parcelable.Creator<T> c)
           
 intdataAvail()
           
 intdataCapacity()
           
 intdataPosition()
           
 intdataSize()
           
 voidenforceInterface(String interfaceName)
           
protected  voidfinalize()
           
 booleanhasFileDescriptors()
           
 byte[]marshall()
           
static Parcelobtain()
           
protected static Parcelobtain(int obj)
           
 Object[]readArray(ClassLoader loader)
           
 ArrayListreadArrayList(ClassLoader loader)
           
 voidreadBinderArray(IBinder[] val)
           
 voidreadBinderList(List<IBinder> list)
           
 voidreadBooleanArray(boolean[] val)
           
 BundlereadBundle()
           
 BundlereadBundle(ClassLoader loader)
           
 bytereadByte()
           
 voidreadByteArray(byte[] val)
           
 voidreadCharArray(char[] val)
           
 doublereadDouble()
           
 voidreadDoubleArray(double[] val)
           
 voidreadException()
           
 voidreadException(int code, String msg)
           
 ParcelFileDescriptorreadFileDescriptor()
           
 floatreadFloat()
           
 voidreadFloatArray(float[] val)
           
 HashMapreadHashMap(ClassLoader loader)
           
 intreadInt()
           
 voidreadIntArray(int[] val)
           
 voidreadList(List outVal, ClassLoader loader)
           
 longreadLong()
           
 voidreadLongArray(long[] val)
           
 voidreadMap(Map outVal, ClassLoader loader)
           
<T extends Parcelable>
T
readParcelable(ClassLoader loader)
           
 Parcelable[]readParcelableArray(ClassLoader loader)
           
 SerializablereadSerializable()
           
 SparseArrayreadSparseArray(ClassLoader loader)
           
 SparseBooleanArrayreadSparseBooleanArray()
           
 StringreadString()
           
 voidreadStringArray(String[] val)
           
 voidreadStringList(List<String> list)
           
 IBinderreadStrongBinder()
           
<T> void
readTypedArray(T[] val, Parcelable.Creator<T> c)
           
<T> void
readTypedList(List<T> list, Parcelable.Creator<T> c)
           
 ObjectreadValue(ClassLoader loader)
           
 voidrecycle()
           
 voidsetDataCapacity(int size)
           
 voidsetDataPosition(int pos)
           
 voidsetDataSize(int size)
           
 voidunmarshall(byte[] data, int offest, int length)
           
 voidwriteArray(Object[] val)
           
 voidwriteBinderArray(IBinder[] val)
           
 voidwriteBinderList(List<IBinder> val)
           
 voidwriteBooleanArray(boolean[] val)
           
 voidwriteBundle(Bundle val)
           
 voidwriteByte(byte val)
           
 voidwriteByteArray(byte[] b)
           
 voidwriteByteArray(byte[] b, int offset, int len)
           
 voidwriteCharArray(char[] val)
           
 voidwriteDouble(double val)
           
 voidwriteDoubleArray(double[] val)
           
 voidwriteException(Exception e)
           
 voidwriteFileDescriptor(FileDescriptor val)
           
 voidwriteFloat(float val)
           
 voidwriteFloatArray(float[] val)
           
 voidwriteInt(int val)
           
 voidwriteIntArray(int[] val)
           
 voidwriteInterfaceToken(String interfaceName)
           
 voidwriteList(List val)
           
 voidwriteLong(long val)
           
 voidwriteLongArray(long[] val)
           
 voidwriteMap(Map val)
           
 voidwriteNoException()
           
 voidwriteParcelable(Parcelable p, int parcelableFlags)
           
<T extends Parcelable>
void
writeParcelableArray(T[] value, int parcelableFlags)
           
 voidwriteSerializable(Serializable s)
           
 voidwriteSparseArray(SparseArray<Object> val)
           
 voidwriteSparseBooleanArray(SparseBooleanArray val)
           
 voidwriteString(String val)
           
 voidwriteStringArray(String[] val)
           
 voidwriteStringList(List<String> val)
           
 voidwriteStrongBinder(IBinder val)
           
 voidwriteStrongInterface(IInterface val)
           
<T extends Parcelable>
void
writeTypedArray(T[] val, int parcelableFlags)
           
<T extends Parcelable>
void
writeTypedList(List<T> val)
           
 voidwriteValue(Object v)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_CREATOR

public static final Parcelable.Creator<String> STRING_CREATOR
Method Detail

obtain

public static Parcel obtain()

recycle

public final void recycle()

dataSize

public final int dataSize()

dataAvail

public final int dataAvail()

dataPosition

public final int dataPosition()

dataCapacity

public final int dataCapacity()

setDataSize

public final void setDataSize(int size)

setDataPosition

public final void setDataPosition(int pos)

setDataCapacity

public final void setDataCapacity(int size)

marshall

public final byte[] marshall()

unmarshall

public final void unmarshall(byte[] data,                             int offest,                             int length)

appendFrom

public final void appendFrom(Parcel parcel,                             int offset,                             int length)

hasFileDescriptors

public final boolean hasFileDescriptors()

writeInterfaceToken

public final void writeInterfaceToken(String interfaceName)

enforceInterface

public final void enforceInterface(String interfaceName)

writeByteArray

public final void writeByteArray(byte[] b)

writeByteArray

public final void writeByteArray(byte[] b,                                 int offset,                                 int len)

writeInt

public final void writeInt(int val)

writeLong

public final void writeLong(long val)

writeFloat

public final void writeFloat(float val)

writeDouble

public final void writeDouble(double val)

writeString

public final void writeString(String val)

writeStrongBinder

public final void writeStrongBinder(IBinder val)

writeStrongInterface

public final void writeStrongInterface(IInterface val)

writeFileDescriptor

public final void writeFileDescriptor(FileDescriptor val)

writeByte

public final void writeByte(byte val)

writeMap

public final void writeMap(Map val)

writeBundle

public final void writeBundle(Bundle val)

writeList

public final void writeList(List val)

writeArray

public final void writeArray(Object[] val)

writeSparseArray

public final void writeSparseArray(SparseArray<Object> val)

writeSparseBooleanArray

public final void writeSparseBooleanArray(SparseBooleanArray val)

writeBooleanArray

public final void writeBooleanArray(boolean[] val)

createBooleanArray

public final boolean[] createBooleanArray()

readBooleanArray

public final void readBooleanArray(boolean[] val)

writeCharArray

public final void writeCharArray(char[] val)

createCharArray

public final char[] createCharArray()

readCharArray

public final void readCharArray(char[] val)

writeIntArray

public final void writeIntArray(int[] val)

createIntArray

public final int[] createIntArray()

readIntArray

public final void readIntArray(int[] val)

writeLongArray

public final void writeLongArray(long[] val)

createLongArray

public final long[] createLongArray()

readLongArray

public final void readLongArray(long[] val)

writeFloatArray

public final void writeFloatArray(float[] val)

createFloatArray

public final float[] createFloatArray()

readFloatArray

public final void readFloatArray(float[] val)

writeDoubleArray

public final void writeDoubleArray(double[] val)

createDoubleArray

public final double[] createDoubleArray()

readDoubleArray

public final void readDoubleArray(double[] val)

writeStringArray

public final void writeStringArray(String[] val)

createStringArray

public final String[] createStringArray()

readStringArray

public final void readStringArray(String[] val)

writeBinderArray

public final void writeBinderArray(IBinder[] val)

createBinderArray

public final IBinder[] createBinderArray()

readBinderArray

public final void readBinderArray(IBinder[] val)

writeTypedList

public final <T extends Parcelable> void writeTypedList(List<T> val)

writeStringList

public final void writeStringList(List<String> val)

writeBinderList

public final void writeBinderList(List<IBinder> val)

writeTypedArray

public final <T extends Parcelable> void writeTypedArray(T[] val,                                                         int parcelableFlags)

writeValue

public final void writeValue(Object v)

writeParcelable

public final void writeParcelable(Parcelable p,                                  int parcelableFlags)

writeSerializable

public final void writeSerializable(Serializable s)

writeException

public final void writeException(Exception e)

writeNoException

public final void writeNoException()

readException

public final void readException()

readException

public final void readException(int code,                                String msg)

readInt

public final int readInt()

readLong

public final long readLong()

readFloat

public final float readFloat()

readDouble

public final double readDouble()

readString

public final String readString()

readStrongBinder

public final IBinder readStrongBinder()

readFileDescriptor

public final ParcelFileDescriptor readFileDescriptor()

readByte

public final byte readByte()

readMap

public final void readMap(Map outVal,                          ClassLoader loader)

readList

public final void readList(List outVal,                           ClassLoader loader)

readHashMap

public final HashMap readHashMap(ClassLoader loader)

readBundle

public final Bundle readBundle()

readBundle

public final Bundle readBundle(ClassLoader loader)

createByteArray

public final byte[] createByteArray()

readByteArray

public final void readByteArray(byte[] val)

readArrayList

public final ArrayList readArrayList(ClassLoader loader)

readArray

public final Object[] readArray(ClassLoader loader)

readSparseArray

public final SparseArray readSparseArray(ClassLoader loader)

readSparseBooleanArray

public final SparseBooleanArray readSparseBooleanArray()

createTypedArrayList

public final <T> ArrayList<T> createTypedArrayList(Parcelable.Creator<T> c)

readTypedList

public final <T> void readTypedList(List<T> list,                                    Parcelable.Creator<T> c)

createStringArrayList

public final ArrayList<String> createStringArrayList()

createBinderArrayList

public final ArrayList<IBinder> createBinderArrayList()

readStringList

public final void readStringList(List<String> list)

readBinderList

public final void readBinderList(List<IBinder> list)

createTypedArray

public final <T> T[] createTypedArray(Parcelable.Creator<T> c)

readTypedArray

public final <T> void readTypedArray(T[] val,                                     Parcelable.Creator<T> c)

writeParcelableArray

public final <T extends Parcelable> void writeParcelableArray(T[] value,                                                              int parcelableFlags)

readValue

public final Object readValue(ClassLoader loader)

readParcelable

public final <T extends Parcelable> T readParcelable(ClassLoader loader)

readParcelableArray

public final Parcelable[] readParcelableArray(ClassLoader loader)

readSerializable

public final Serializable readSerializable()

obtain

protected static final Parcel obtain(int obj)

finalize

protected void finalize()                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008-2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14