|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermalinkProvider
An interface implemented by any class that generates permalinks.
Method Summary | |
---|---|
Blog |
getBlog()
Gets the blog associated with this provider instance. |
BlogEntry |
getBlogEntry(java.lang.String uri)
Gets the blog entry referred to by the specified URI. |
Day |
getDay(java.lang.String uri)
Gets the day referred to by the specified URI. |
Month |
getMonth(java.lang.String uri)
Gets the monthly blog referred to by the specified URI. |
java.lang.String |
getPermalink(BlogEntry blogEntry)
Gets the permalink for a blog entry. |
java.lang.String |
getPermalink(Day day)
Gets the permalink for a day. |
java.lang.String |
getPermalink(Month month)
Gets the permalink for a monthly blog. |
boolean |
isBlogEntryPermalink(java.lang.String uri)
Determines whether the specified URI is a blog entry permalink. |
boolean |
isDayPermalink(java.lang.String uri)
Determines whether the specified URI is a day permalink. |
boolean |
isMonthPermalink(java.lang.String uri)
Determines whether the specified URI is a monthly blog permalink. |
void |
setBlog(Blog blog)
Sets the blog associated with this provider instance. |
Method Detail |
---|
Blog getBlog()
void setBlog(Blog blog)
blog
- a Blog instancejava.lang.String getPermalink(BlogEntry blogEntry)
blogEntry
- a BlogEntry instance
boolean isBlogEntryPermalink(java.lang.String uri)
uri
- a relative URI
BlogEntry getBlogEntry(java.lang.String uri)
uri
- a relative URI
java.lang.String getPermalink(Month month)
month
- a Month instance
boolean isMonthPermalink(java.lang.String uri)
uri
- a relative URI
Month getMonth(java.lang.String uri)
uri
- a relative URI
java.lang.String getPermalink(Day day)
day
- a Day instance
boolean isDayPermalink(java.lang.String uri)
uri
- a relative URI
Day getDay(java.lang.String uri)
uri
- a relative URI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |