]>
nmode's Git Repositories - signal-cli/blob - src/main/java/org/asamk/signal/manager/PathConfig.java
d96034dfd169cdce3cc5057df02b5ee2c405f1dd
1 package org
.asamk
.signal
.manager
;
5 public class PathConfig
{
7 private final File dataPath
;
8 private final File attachmentsPath
;
9 private final File avatarsPath
;
11 public static PathConfig
createDefault(final File settingsPath
) {
12 return new PathConfig(new File(settingsPath
, "data"),
13 new File(settingsPath
, "attachments"),
14 new File(settingsPath
, "avatars"));
17 private PathConfig(final File dataPath
, final File attachmentsPath
, final File avatarsPath
) {
18 this.dataPath
= dataPath
;
19 this.attachmentsPath
= attachmentsPath
;
20 this.avatarsPath
= avatarsPath
;
23 public File
getDataPath() {
27 public File
getAttachmentsPath() {
28 return attachmentsPath
;
31 public File
getAvatarsPath() {