|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.datamodel.ifs.MCRFileContentType
public class MCRFileContentType
Instances of this class represent information about the content type of a file.
| Field Summary | |
|---|---|
protected String |
ID
The unique ID of this file content type |
protected String |
label
The label of this file content type |
protected String |
mimeType
The MIME type used to deliver this file type to a client browser |
protected String |
url
The URL where information such as a plug-in download page can be found |
| Constructor Summary | |
|---|---|
MCRFileContentType(String ID,
String label,
String url,
String mimeType)
Constructs a new file content type instance. |
|
| Method Summary | |
|---|---|
String |
getID()
Returns the unique ID of this file content type |
String |
getLabel()
Returns the label of this file content type |
String |
getMimeType()
Returns the MIME type used to deliver this file type to a client browser. |
String |
getURL()
Returns the URL where additional information like a plug-in download page can be found |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String ID
protected String label
protected String url
protected String mimeType
| Constructor Detail |
|---|
MCRFileContentType(String ID,
String label,
String url,
String mimeType)
ID - the unique content type IDlabel - the label of this content typeurl - the url where information like a plug-in can be foundmimeType - the MIME type used for this content typeMCRFileContentTypeFactory| Method Detail |
|---|
public String getID()
public String getLabel()
public String getMimeType()
public String getURL()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||