Package | Description |
---|---|
org.apache.jetspeed.capabilities |
Modifier and Type | Method and Description |
---|---|
MimeType |
Capabilities.createMimeType(String mimeTypeName)
Create a new mimetype in the system or return the existing one if already exists
|
MimeType |
Capabilities.getMimeType(String mimeType)
Given a mime type string, look up the corresponding mime type object.
|
MimeType |
CapabilityMap.getPreferredType() |
Modifier and Type | Method and Description |
---|---|
Collection<MimeType> |
MediaType.getMimetypes()
Returns all supported mimetypes as
MimeTypeMap . |
Collection<MimeType> |
Client.getMimetypes()
Returns all supported mimetypes as
MimeTypeMap . |
Iterator<MimeType> |
CapabilityMap.getMimeTypes()
Get the mime types that this CapabilityMap supports.
|
Iterator<MimeType> |
Capabilities.getMimeTypes()
Obtain an iterator of all existing mime types.
|
Modifier and Type | Method and Description |
---|---|
void |
MediaType.addMimetype(MimeType mimeType)
Add MimeType to the MimeType map
|
void |
CapabilityMap.addMimetype(MimeType mimetype)
Add Mimetype to the MimetypeMap
|
void |
Capabilities.deleteMimeType(MimeType mimeType)
delete existing mime type from backend storage
|
void |
Capabilities.storeMimeType(MimeType mimeType)
Save mime type to backend storage
|
boolean |
CapabilityMap.supportsMimeType(MimeType mimeType) |
Modifier and Type | Method and Description |
---|---|
Collection<MediaType> |
Capabilities.getMediaTypesForMimeTypes(Iterator<MimeType> mimeTypes)
Returns a collection of MediaTypes that matches the MimeTypes defined in the mimetype parameter
|
void |
MediaType.setMimetypes(Collection<MimeType> mimetypes)
Set mime types
|
void |
Client.setMimetypes(Collection<MimeType> mimetypes)
Set MimeTypes
|
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.