com.notuvy.podcast
Class PodcastFactory

java.lang.Object
  extended by com.notuvy.podcast.PodcastFactory

public class PodcastFactory
extends Object

Logic to extract a PodcastChannel from any of the possible sources. This is basically a factory.

Author:
murali

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
PodcastFactory()
           
 
Method Summary
 PodcastChannel from(String pGenericString)
           
 PodcastChannel fromFile(File pFile)
           
 PodcastChannel fromFilename(String pFilename)
           
 PodcastChannel fromStringContent(String pString)
           
 PodcastChannel fromURL(URL pUrl)
           
 PodcastChannel fromUrlString(String pUrlString)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

PodcastFactory

public PodcastFactory()
Method Detail

fromFilename

public PodcastChannel fromFilename(String pFilename)

fromFile

public PodcastChannel fromFile(File pFile)

fromUrlString

public PodcastChannel fromUrlString(String pUrlString)

fromURL

public PodcastChannel fromURL(URL pUrl)

from

public PodcastChannel from(String pGenericString)

fromStringContent

public PodcastChannel fromStringContent(String pString)

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.