From b3d917571a5f952531ce3e060861e1a158bc04c7 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Tue, 19 Nov 2024 17:25:47 +0000
Subject: [PATCH] Dokumentation in Arbeit: FileCreator fertig dokumentiert, kleinere Anpassungen

---
 src/de/uhilger/neon/fm/FileList.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/de/uhilger/neon/fm/FileList.java b/src/de/uhilger/neon/fm/FileList.java
index e0be963..2e6348e 100644
--- a/src/de/uhilger/neon/fm/FileList.java
+++ b/src/de/uhilger/neon/fm/FileList.java
@@ -22,7 +22,7 @@
 import de.uhilger.neon.FileServer;
 import de.uhilger.neon.HttpHelper;
 import de.uhilger.neon.HttpResponder;
-import de.uhilger.fm.Lister;
+import de.uhilger.fm.Catalog;
 import java.io.IOException;
 
 /**
@@ -34,7 +34,7 @@
 
   public void run(HttpExchange exchange) {
     try {
-      super.run(exchange);
+      init(exchange);
       HttpContext ctx = exchange.getHttpContext();
       String base = ctx.getAttributes().getOrDefault(FileServer.ATTR_FILE_BASE, "").toString();
       if(base.length() == 0) {
@@ -42,7 +42,7 @@
       } else {
         String fName = new HttpHelper().getFileName(exchange);
         if (fName.endsWith(FileServer.STR_SLASH)) { // Ordnerliste erzeugen
-          String json = new Lister().liste(fName, ctx.getPath(), base);
+          String json = new Catalog().list(fName, ctx.getPath(), base);
           if (null != json) {
             new HttpResponder().antwortSenden(exchange, HttpResponder.SC_OK, json);
           } else {

--
Gitblit v1.9.3