From 81b69fceca934a69828c80e95b860dcd13091718 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 14 Nov 2024 10:24:56 +0000
Subject: [PATCH] Aenderungen an fm eingebaut

---
 src/de/uhilger/neon/fm/FileList.java        |    4 ++--
 src/de/uhilger/neon/fm/FileManipulator.java |    2 +-
 2 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..de4d279 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;
 
 /**
@@ -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 {
diff --git a/src/de/uhilger/neon/fm/FileManipulator.java b/src/de/uhilger/neon/fm/FileManipulator.java
index 5565c3a..a9aebda 100644
--- a/src/de/uhilger/neon/fm/FileManipulator.java
+++ b/src/de/uhilger/neon/fm/FileManipulator.java
@@ -65,7 +65,7 @@
         switch (params[0]) {
           case P_RENAME:
             h.inspectFileName(params[1]);
-            String neuerDateiName = new Renamer().umbenennen(fileName, params[1], file);
+            String neuerDateiName = new Renamer().rename(/*fileName, */params[1], file);
             antwort(exchange, HttpResponder.SC_OK, neuerDateiName);
             break;
           case P_COPY:

--
Gitblit v1.9.3