Difference between two locations

31 views
Skip to first unread message

chetna chaudhari

unread,
May 13, 2014, 9:19:32 AM5/13/14
to jour...@googlegroups.com
Hi ,
     I am new to journal.io.api and facing some issues, can someone help me out please .

1) Do we have any way to access the last know location of journal. One way here is that maintaining the return value of journal.write function. But facing issue, how to fetch it on the start of application.

2) Is there any way to get exact difference between two Locations? I can see the Location.compareTo(Location) function, but it either returns difference between file Id's or if file Id's are same then difference between file pointers.

Thanks.
Reply all
Reply to author
Forward
0 new messages