Background
In a previous article we’ve seen that the Backup
Manager on Android can be a viable option for automagically backing up data. Although it is a bit of a black
box, it is eas… Read More
If an atom entry copied from one feed to another, then source element is used to preserve original entry metadata.If you got the feed instance, then you can call ‘getAsSource’ me… Read More
Abdera provides parser api, to parse an atom document. Following step by step procedure explains how to parse an atom document using Abdera library.Step 1: Get the instance of Abdera.Abdera… Read More
Feed interface provides getEntries method, it return all the entries of the Feed Object.Following application get all the entries from the url ‘http://self-learning-java-tutorial.blogs… Read More
If an atom entry copied from one feed to another, then source element is used to preserve original entry metadata.If you got the feed instance, then you can call ‘getAsSource’ me… Read More
Feed interface provides sortEntriesByUpdated method, by calling this function you can sort the entries in their updated date.Feed sortEntriesByUpdated(boolean new_first);If the flag new_firs… Read More
Feed interface provides ‘sortEntriesByEdited’ method to sort the entries by edited date.Feed sortEntriesByEdited(boolean new_first)If new_first is set to true, then the latest ed… Read More
Feed interface provides 'sortEntries' method, it takes a comparator and sort the entries by using comparator.Examplefeed.sortEntries(new Comparator(){ &nbs… Read More
Feed interface provides ‘getEntry’ method, it return the entry by id.Entry getEntry(String id)Retrieves the first entry in the feed with the given id value.Feedutil.javaimport ja… Read More
Class GZIPInputStream in Java GZIPInputStream class is a subclass of InflaterInputStream that reads and uncompresses data compressed in gzip format. To create a GZIPInputStream, we need to s… Read More
Class InflaterInputStream in Java The InflaterInputStream class represents an InputStream with an associated Inflater. In other words, an InflaterInputStream wraps a regular input stream, so… Read More
In this post we'll see a Java program showing how to untar a tar file. It has both the steps to first decompress a .tar.gz file and later untar it. Refer Creating tar file and GZipping mult… Read More