Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Getting Enclosure Contents using Rome RSS parser Date: Wed, 01 May 2013 11:11:25 -0400 Organization: A noiseless patient Spider Lines: 68 Message-ID: References: <0d99efd2-92b9-47da-b9b7-8e7f6ed8231c@googlegroups.com> <70df5682-1803-478c-9268-0a08cb382333@googlegroups.com> <1ea27315-72c5-420e-9c31-02f3b4b19759@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 1 May 2013 15:07:25 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="11940"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EX0nzw/NM+3SYzi2Y/PoRmYZ2RnkSGiM=" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130121 Icedove/10.0.12 In-Reply-To: Cancel-Lock: sha1:suS757Vd44ttCbLEed0PzEoHiXg= Xref: csiph.com comp.lang.java.programmer:23763 On 05/01/2013 10:19 AM, Chuck Johnson wrote: > On Wednesday, May 1, 2013 2:18:37 AM UTC-5, Jeff Higgins wrote: >> On 05/01/2013 01:59 AM, lipska the kat wrote: >> >>> On 30/04/13 21:59, Lew wrote: >> >>>> Chuck Johnson wrote: >> >>> >> >>> [snip] >> >>> > > >> >>>> And I didn't ask for all your code, I asked for an SSCCE. >> >>> >> >>> How much smaller and more self contained do you imagine it could be? >> >>> >> >> Chuck hasn't provided any SSCCE, at lease not anything in the true spirit. > > 1) I wasn't being snarky in the least. I was sincerely thankful. I don't recall anyone accusing you of being snarky. > 2) I'm a working student who is just working on a personal project for fun; I don't have lots of time. I did this same project in Python and it took me nowhere near the time it is taking me in Java. Python is a great programming environment. Java is a great programming environment. I guess it's my naive belief that a programmer should be able to reuse someone's code without spending as much time studying it as it would to just write my own. ?? > 3) As for the SSCCE, I don't know what more I can give you. Like I said before in my first post, you have all the code I've wrote, save the import statements and class declaration, which I didn't include because I was trying to adhere to SSCCE. > > Ill ask again. What does .getEnclosures() return? Have you found the Javadocs. Javadocs are the key to programming with Java libraries. What happens when you: System.out.println(new ArrayList()); In the code you provided you reference: SyndFeed SyndFeedInput SyndEntry What are these classes, what method do they expose? I don't need to know, you do. getEnclosures() presumably there is an Enclosure class. Does it provide a getScent() method? The Javadocs will answer. Study the Collections API. You can google it. Study Java Generics, and her relation to the Collections API. You can google it.