newsfeedconfigurer.java
来自「spring的源代码」· Java 代码 · 共 28 行
JAVA
28 行
package org.springframework.samples.tiles;
import java.util.Properties;
import java.util.Set;
/**
* News feed configurator. See tiles-servlet.xml for more info.
*
* @author Alef Arendsen.
*/
public class NewsFeedConfigurer {
private Properties feeds;
public void setFeeds(Properties feeds) {
this.feeds = feeds;
}
public String feedUri(String feedName) {
return this.feeds.getProperty(feedName);
}
public Set allNames() {
return this.feeds.keySet();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?