public class MimetypeDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
binary |
protected Element |
extensions |
protected String |
iconPath |
protected Element |
mimetypes |
protected String |
normalized |
protected boolean |
oleSupported |
protected boolean |
onlineEditable |
Constructor and Description |
---|
MimetypeDescriptor() |
Modifier and Type | Method and 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) |
protected String normalized
protected boolean binary
protected boolean onlineEditable
protected boolean oleSupported
protected Element extensions
public MimetypeDescriptor()
public boolean isBinary()
public void setBinary(boolean binary)
public boolean isOnlineEditable()
public void setOnlineEditable(boolean onlineEditable)
public boolean isOleSupported()
public void setOleSupported(boolean oleSupported)
public List<String> getExtensions()
public void setExtensions(Element extensions)
public String getIconPath()
public void setIconPath(String iconPath)
public List<String> getMimetypes()
public void setMimetypes(Element mimetypes)
public MimetypeEntry getMimetype()
public String getNormalized()
public void setNormalized(String normalized)
Copyright © 2017 Nuxeo. All rights reserved.