commit | author | age
|
e369b9
|
1 |
/* |
c45b52
|
2 |
fm - File management class library |
e369b9
|
3 |
Copyright (C) 2024 Ulrich Hilger |
U |
4 |
|
|
5 |
This program is free software: you can redistribute it and/or modify |
|
6 |
it under the terms of the GNU Affero General Public License as |
|
7 |
published by the Free Software Foundation, either version 3 of the |
|
8 |
License, or (at your option) any later version. |
|
9 |
|
|
10 |
This program is distributed in the hope that it will be useful, |
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
GNU Affero General Public License for more details. |
|
14 |
|
|
15 |
You should have received a copy of the GNU Affero General Public License |
|
16 |
along with this program. If not, see <https://www.gnu.org/licenses/>. |
|
17 |
*/ |
|
18 |
package de.uhilger.fm; |
|
19 |
|
|
20 |
import java.util.List; |
|
21 |
|
|
22 |
/** |
|
23 |
* Einfache Transportklasse fuer eine Verzeichnisliste |
|
24 |
* |
|
25 |
* @author Ulrich Hilger, 15. Januar 2024 |
|
26 |
*/ |
|
27 |
public class DirList { |
8bde6f
|
28 |
private String dir; |
U |
29 |
private List<FileRef> dateien; |
e369b9
|
30 |
|
8bde6f
|
31 |
public String getDirectory() { |
U |
32 |
return dir; |
e369b9
|
33 |
} |
U |
34 |
|
8bde6f
|
35 |
public void setDirectory(String path) { |
U |
36 |
this.dir = path; |
e369b9
|
37 |
} |
U |
38 |
|
8bde6f
|
39 |
public List<FileRef> getFiles() { |
e369b9
|
40 |
return dateien; |
U |
41 |
} |
|
42 |
|
8bde6f
|
43 |
public void setFiles(List<FileRef> files) { |
U |
44 |
this.dateien = files; |
e369b9
|
45 |
} |
U |
46 |
|
|
47 |
|
|
48 |
} |