Code example for ObjectInputStream

Methods: defaultReadObjectreadObject

0
	} 
 
	private void readObject(ObjectInputStream in) throws IOException,
			ClassNotFoundException { 
		// transient 以外 
		in.defaultReadObject();
 
		// transient 
		SerializableBitmapWrapper sBitmap = (SerializableBitmapWrapper) in
				.readObject();
		if (sBitmap != null) {
			icon = new BitmapDrawable(sBitmap.getBitmap());
		} 
	} 
 
	private String toString(CharSequence charSeq) {
		return charSeq != null ? charSeq.toString() : null;
	} 
 
	@Override 
Stop searching for code, let great code find you!  Add Codota to your java IDE