From 5f70da71c8e71990715dcb4be5cc433284abdede Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 05 Apr 2021 12:35:50 +0000
Subject: [PATCH] Lesen und neu fuer Ablageort fertig

---
 src/de/uhilger/mediaz/api/StoreTestHandler.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/mediaz/api/StoreTestHandler.java b/src/de/uhilger/mediaz/api/StoreTestHandler.java
index af7f54c..156e06c 100644
--- a/src/de/uhilger/mediaz/api/StoreTestHandler.java
+++ b/src/de/uhilger/mediaz/api/StoreTestHandler.java
@@ -35,7 +35,7 @@
     FileStorage store = new FileStorage(App.getInitParameter(App.getRs(App.RB_AP_CONF)));
     File file = store.writeToFile(ort);
     try {
-      Entity elem = store.readFromFile(file);
+      Entity elem = store.entityFromFile(file);
       logger.log(Level.INFO, "Typ: {0}, Name: {1}", 
               new Object[]{elem.getClass().getSimpleName(), elem.getName()});
     } catch (ClassNotFoundException ex) {

--
Gitblit v1.9.3