📄 technoratitagsdecorator.java
字号:
package net.sourceforge.pebble.decorator;import net.sourceforge.pebble.domain.BlogEntry;/** * Generates Technorati tag links for inclusion in the body of blog entries, * when rendered as HTML and newsfeeds. * * @author Simon Brown */public class TechnoratiTagsDecorator extends AbstractTagsDecorator { /** * Gets the base URL for tag links, complete with trailing slash. * * @param blogEntry the owning BlogEntry * @return a URL as a String */ public String getBaseUrl(BlogEntry blogEntry) { return "http://technorati.com/tag/"; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -