commit | author | age
|
cc154b
|
1 |
/* |
U |
2 |
http-cm - File management extensions to jdk.httpserver |
|
3 |
Copyright (C) 2021 Ulrich Hilger |
|
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.httpserver.cm; |
|
19 |
|
|
20 |
import de.uhilger.httpserver.image.Datei; |
|
21 |
import java.util.List; |
|
22 |
|
|
23 |
/** |
|
24 |
* Einfache Transportklasse fuer eine Verzeichnisliste |
|
25 |
* |
|
26 |
* @author Ulrich Hilger, 15. Januar 2024 |
|
27 |
*/ |
|
28 |
public class DirList { |
|
29 |
private String pfad; |
|
30 |
private List<Datei> dateien; |
|
31 |
|
|
32 |
public String getPfad() { |
|
33 |
return pfad; |
|
34 |
} |
|
35 |
|
|
36 |
public void setPfad(String pfad) { |
|
37 |
this.pfad = pfad; |
|
38 |
} |
|
39 |
|
|
40 |
public List<Datei> getDateien() { |
|
41 |
return dateien; |
|
42 |
} |
|
43 |
|
|
44 |
public void setDateien(List<Datei> dateien) { |
|
45 |
this.dateien = dateien; |
|
46 |
} |
|
47 |
|
|
48 |
|
|
49 |
} |