comparison src/main/java/jp/ac/u_ryukyu/ie/cr/bbs/local/GetAttributeImp.java @ 1:64a72a7a0491

add local bbs
author tatsuki
date Mon, 27 Jun 2016 04:24:25 +0900
parents
children 4a66328f0141
comparison
equal deleted inserted replaced
0:d04e3e9069aa 1:64a72a7a0491
1 package jp.ac.u_ryukyu.ie.cr.bbs.local;
2
3
4 import jp.ac.u_ryukyu.ie.cr.jungle.store.impl.TreeNode;
5
6 import java.util.Iterator;
7
8 public class GetAttributeImp {
9 private final TreeNode node;
10
11 public GetAttributeImp(TreeNode _node) {
12 node = _node;
13 }
14
15 public String getMessage(String key) {
16 return node.getAttributes().getString(key);
17 }
18
19 public Iterator<String> getKeys() {
20 return node.getAttributes().getKeys();
21 }
22
23 }