From 6e70be4f54f3482801d579407846810926cd9997 Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Fri, 31 Mar 2017 06:16:56 +0000
Subject: [PATCH] wbx-lib ausgebaut

---
 src/java/de/uhilger/filecms/data/FileRef.java |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/java/de/uhilger/filecms/data/FileRef.java b/src/java/de/uhilger/filecms/data/FileRef.java
index 149f957..22bbe3e 100644
--- a/src/java/de/uhilger/filecms/data/FileRef.java
+++ b/src/java/de/uhilger/filecms/data/FileRef.java
@@ -1,5 +1,5 @@
 /*
-    Dateiverwaltung - File management in your browser
+    WebBox - Dein Server.
     Copyright (C) 2017 Ulrich Hilger, http://uhilger.de
 
     This program is free software: you can redistribute it and/or modify
@@ -14,7 +14,7 @@
 
     You should have received a copy of the GNU Affero General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
+ */
 
 package de.uhilger.filecms.data;
 
@@ -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