From 3ca75f77ca7cb539573ca559b6cfc9a0bec6b1c0 Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Sun, 19 Mar 2017 09:19:26 +0000 Subject: [PATCH] Fehlerseite 'nicht erlaubt' --- src/java/de/uhilger/filecms/data/FileRef.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/java/de/uhilger/filecms/data/FileRef.java b/src/java/de/uhilger/filecms/data/FileRef.java index 149f957..735d014 100644 --- a/src/java/de/uhilger/filecms/data/FileRef.java +++ b/src/java/de/uhilger/filecms/data/FileRef.java @@ -41,6 +41,7 @@ private Boolean isHidden; private Long lastModified; private Long length; + private String mimetype; /** * create a new instance of <code>FileRef</code>. Note that the created FileRef is @@ -93,6 +94,14 @@ this(absolutePath, isDirectory, false, 0, 0); } + public String getMimetype() { + return mimetype; + } + + public void setMimetype(String mimetype) { + this.mimetype = mimetype; + } + /** * get the absolute path that denotes this file * @return the path -- Gitblit v1.9.3