Back to project page latrobe-datacapture-dir.
The source code is released under:
MIT License
If you think the Android project latrobe-datacapture-dir listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.DataCaptureApp.transforms; //w w w . ja v a 2 s.co m import com.example.DataCaptureApp.utils.SerialisationUtils; import com.example.DataCaptureApp.data.Data; import com.example.DataCaptureApp.data.DataTransform; /** * Created by Tom on 9/09/2014. */ public class DeserialiseDataTransform extends DataTransform { @Override public Data transform(Data d) { Data deserialised = (Data)SerialisationUtils.deserialise((byte[])d.get("bytes")); return deserialised; } @Override public synchronized Data[] transform(Data... d) { for(int i = 0; i < d.length; ++i) { d[i] = transform(d[i]); } return d; } }