private final File dataPath;
private final File attachmentsPath;
private final File avatarsPath;
+ private final File stickerPacksPath;
public static PathConfig createDefault(final File settingsPath) {
return new PathConfig(new File(settingsPath, "data"),
new File(settingsPath, "attachments"),
- new File(settingsPath, "avatars"));
+ new File(settingsPath, "avatars"),
+ new File(settingsPath, "stickers"));
}
- private PathConfig(final File dataPath, final File attachmentsPath, final File avatarsPath) {
+ private PathConfig(
+ final File dataPath, final File attachmentsPath, final File avatarsPath, final File stickerPacksPath
+ ) {
this.dataPath = dataPath;
this.attachmentsPath = attachmentsPath;
this.avatarsPath = avatarsPath;
+ this.stickerPacksPath = stickerPacksPath;
}
public File getDataPath() {
public File getAvatarsPath() {
return avatarsPath;
}
+
+ public File getStickerPacksPath() {
+ return stickerPacksPath;
+ }
}