From cfa85894465dbf2d286e083d962babdf14641582 Mon Sep 17 00:00:00 2001 From: ulrich Date: Sun, 04 Apr 2021 14:30:21 +0000 Subject: [PATCH] UI begonnen --- src/de/uhilger/mediaz/api/StoreTestHandler.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/de/uhilger/mediaz/api/StoreTestHandler.java b/src/de/uhilger/mediaz/api/StoreTestHandler.java index 9735b8e..8e040a0 100644 --- a/src/de/uhilger/mediaz/api/StoreTestHandler.java +++ b/src/de/uhilger/mediaz/api/StoreTestHandler.java @@ -8,7 +8,7 @@ import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import de.uhilger.mediaz.conf.Store; -import de.uhilger.mediaz.entity.Ablage; +import de.uhilger.mediaz.entity.Ablageort; import de.uhilger.mediaz.entity.ConfigurationElement; import java.io.File; import java.io.IOException; @@ -27,11 +27,11 @@ @Override public void handle(HttpExchange e) throws IOException { - Ablage ablage = new Ablage(); - ablage.setName("Katalog"); - ablage.setOrt("/home/ulrich/Videos"); + Ablageort ort = new Ablageort(); + ort.setName("Katalog"); + ort.setOrt("/home/ulrich/Videos"); Store store = new Store(); - File file = store.writeToFile(ablage); + File file = store.writeToFile(ort); try { ConfigurationElement elem = store.readFromFile(file); logger.log(Level.INFO, "Typ: {0}, Name: {1}", -- Gitblit v1.9.3