Skip to content

Commit

Permalink
Java APIのsaveが漏れていた
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Sep 24, 2024
1 parent 360f4ea commit e557ead
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,26 @@ public void load(String path) throws LoadUserDictException {
rsLoad(path);
}

/**
* ユーザー辞書を保存する。
*
* @param path ユーザー辞書のパス。
* @throws SaveUserDictException ユーザー辞書を保存できなかった場合。
*/
public void save(Path path) throws SaveUserDictException {
rsSave(path.toString());
}

/**
* ユーザー辞書を保存する。
*
* @param path ユーザー辞書のパス。
* @throws SaveUserDictException ユーザー辞書を保存できなかった場合。
*/
public void save(File path) throws SaveUserDictException {
rsSave(path.toString());
}

/**
* ユーザー辞書を保存する。
*
Expand Down

0 comments on commit e557ead

Please sign in to comment.