| | |
| | | /* |
| | | 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 |
| | |
| | | |
| | | 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; |
| | | |
| | |
| | | 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 |
| | |
| | | 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 |