From df91dc8763f98634a94ace518b615e61b1be95c9 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Tue, 6 Apr 2021 22:34:01 +0200 Subject: Add Dir class --- .../java/it/alessandroiezzi/genwebsite/Dir.java | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/main/java/it/alessandroiezzi/genwebsite/Dir.java diff --git a/src/main/java/it/alessandroiezzi/genwebsite/Dir.java b/src/main/java/it/alessandroiezzi/genwebsite/Dir.java new file mode 100644 index 0000000..1d2c970 --- /dev/null +++ b/src/main/java/it/alessandroiezzi/genwebsite/Dir.java @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2021 Alessandro Iezzi dev@alessandroiezzi.it + * + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +package it.alessandroiezzi.genwebsite; + +import lombok.Getter; +import lombok.Setter; +import org.apache.commons.lang3.StringUtils; + +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.List; + +public class Dir { + @Getter @Setter private String name = ""; + + public Dir(String name) { + this.name = name; + } +} -- cgit v1.2.3