Class MimetypeDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.mimetype.service.MimetypeDescriptor
-
public class MimetypeDescriptor extends Object
MimetypeEntry extension definition.- Author:
- Julien Anguenot
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
binary
protected Element
extensions
protected String
iconPath
protected Element
mimetypes
protected String
normalized
protected boolean
oleSupported
protected boolean
onlineEditable
-
Constructor Summary
Constructors Constructor Description MimetypeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getExtensions()
String
getIconPath()
MimetypeEntry
getMimetype()
List<String>
getMimetypes()
String
getNormalized()
boolean
isBinary()
boolean
isOleSupported()
boolean
isOnlineEditable()
void
setBinary(boolean binary)
void
setExtensions(Element extensions)
void
setIconPath(String iconPath)
void
setMimetypes(Element mimetypes)
void
setNormalized(String normalized)
void
setOleSupported(boolean oleSupported)
void
setOnlineEditable(boolean onlineEditable)
-
-
-
Field Detail
-
normalized
protected String normalized
-
binary
protected boolean binary
-
onlineEditable
protected boolean onlineEditable
-
oleSupported
protected boolean oleSupported
-
extensions
protected Element extensions
-
-
Constructor Detail
-
MimetypeDescriptor
public MimetypeDescriptor()
-
-
Method Detail
-
isBinary
public boolean isBinary()
-
setBinary
public void setBinary(boolean binary)
-
isOnlineEditable
public boolean isOnlineEditable()
-
setOnlineEditable
public void setOnlineEditable(boolean onlineEditable)
-
isOleSupported
public boolean isOleSupported()
-
setOleSupported
public void setOleSupported(boolean oleSupported)
-
getExtensions
public List<String> getExtensions()
-
setExtensions
public void setExtensions(Element extensions)
-
getIconPath
public String getIconPath()
-
setIconPath
public void setIconPath(String iconPath)
-
getMimetypes
public List<String> getMimetypes()
-
setMimetypes
public void setMimetypes(Element mimetypes)
-
getMimetype
public MimetypeEntry getMimetype()
-
getNormalized
public String getNormalized()
-
setNormalized
public void setNormalized(String normalized)
-
-