| java.lang.Object org.enhydra.dm.util.MimeUtility
MimeUtility | public class MimeUtility (Code) | | Mime type mapper class. Use editablemimetypes.properties with editable mime types list
author: Svjetlana Milidrag |
isEditableDocument | public static boolean isEditableDocument(Properties editableMT, String mimetype)(Code) | | Method that search for mime type in editablemimetypes.properties file.
Parameters: editableMT - Parameters: mimetype - true if file is editable, false otherwise |
mimeTypeMapper | public static String mimeTypeMapper(Properties editableMT, String documentName)(Code) | | Methos for extracting mime type for corresponding file extension
Parameters: editableMT - Parameters: documentName - |
|
|