|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.actions.podcast.VideoFeedFile
public class VideoFeedFile
A vidoe base feed file
Constructor Summary | |
---|---|
VideoFeedFile(java.io.File file,
MediaDirConfig dirConfig,
java.lang.String title,
java.lang.String description,
java.lang.String baseUrl,
java.lang.String contentType)
The constructor |
Method Summary | |
---|---|
int |
compareTo(IFeedFile o)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getContentType()
Used to get the content type |
java.lang.String |
getDescription()
Used to get the description of the file |
java.io.File |
getFile()
Used to get the location of the file |
java.util.Date |
getLastModified()
Used to get the date the file was last modified |
java.net.URL |
getLink()
Used to get the URL of the file |
java.lang.String |
getTitle()
Used to get the title of the file |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VideoFeedFile(java.io.File file, MediaDirConfig dirConfig, java.lang.String title, java.lang.String description, java.lang.String baseUrl, java.lang.String contentType) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
file
- The location of the filedirConfig
- The media directory configurationtitle
- The title of the filedescription
- The description of the filebaseUrl
- The base URL of the feedcontentType
- The content type of the file
java.net.MalformedURLException
- Thrown if their is a problem create URL's
java.io.UnsupportedEncodingException
- Thrown if the URL can't be encodedMethod Detail |
---|
public java.lang.String getContentType()
getContentType
in interface IFeedFile
public java.io.File getFile()
getFile
in interface IFeedFile
public java.util.Date getLastModified()
getLastModified
in interface IFeedFile
public java.lang.String getTitle()
getTitle
in interface IFeedFile
public java.net.URL getLink()
getLink
in interface IFeedFile
public java.lang.String getDescription()
getDescription
in interface IFeedFile
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(IFeedFile o)
compareTo
in interface java.lang.Comparable<IFeedFile>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |