Newer
Older
IrisServer / src / main / java / com / ntlab / irisserver / models / KeywordManager.java
package com.ntlab.irisserver.models;

import org.springframework.stereotype.Component;

@Component
public class KeywordManager {
    private static KeywordManager theInstance = null;
    String[] keywords = {"りんご",
    "ごりら","らっぱ","ぱんつ","つみき"};


    public static KeywordManager getInstance() {
        if(theInstance == null) {
            theInstance = new KeywordManager();
        }
        return theInstance;
    }

    public String[] getKeywords(){
        return keywords;
    }
}