From 41e9f0d04b3eb3df0f5f371aa0079c4cc248ca77 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Fri, 10 Mar 2017 06:05:01 +0000 Subject: [PATCH] UploadServlet in Package web verscoben --- 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