}
private class InqubusGeneralProfile implements GeneralProfile {
-// private final String replaceFrom;
+ private final String replaceFrom;
+ private final String replaceTo;
private InqubusGeneralProfile() {
final Config p = Config.INSTANCE;
- // TODO 置換文字設定コンフィグが無い
-// this.replaceFrom = p.get
+ this.replaceFrom = p.getReplaceFrom();
+ this.replaceTo = p.getReplaceTo();
}
@Override
public String getReplaceFrom() {
-// return this.replaceFrom;
- throw new UnsupportedOperationException("Not supported yet.");
+ return this.replaceFrom;
}
@Override
public String getReplaceTo() {
- throw new UnsupportedOperationException("Not supported yet.");
+ return this.replaceTo;
}
}