diff options
Diffstat (limited to 'src/instrumentationTest/de/test/antennapod/util/syndication/feedgenerator/GeneratorUtil.java')
-rw-r--r-- | src/instrumentationTest/de/test/antennapod/util/syndication/feedgenerator/GeneratorUtil.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/instrumentationTest/de/test/antennapod/util/syndication/feedgenerator/GeneratorUtil.java b/src/instrumentationTest/de/test/antennapod/util/syndication/feedgenerator/GeneratorUtil.java deleted file mode 100644 index d8bef2354..000000000 --- a/src/instrumentationTest/de/test/antennapod/util/syndication/feedgenerator/GeneratorUtil.java +++ /dev/null @@ -1,21 +0,0 @@ -package instrumentationTest.de.test.antennapod.util.syndication.feedgenerator; - -import org.xmlpull.v1.XmlSerializer; - -import java.io.IOException; - -/** - * Utility methods for FeedGenerator - */ -public class GeneratorUtil { - - public static void addPaymentLink(XmlSerializer xml, String paymentLink, boolean withNamespace) throws IOException { - String ns = (withNamespace) ? "http://www.w3.org/2005/Atom" : null; - xml.startTag(ns, "link"); - xml.attribute(null, "rel", "payment"); - xml.attribute(null, "title", "Flattr this!"); - xml.attribute(null, "href", paymentLink); - xml.attribute(null, "type", "text/html"); - xml.endTag(ns, "link"); - } -} |