|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FxMimeType | |
|---|---|
| com.flexive.shared.media | Utility classes for dealing with media data. |
| com.flexive.shared.media.impl | Media engine implementations (pure Java and ImageMagick). |
| Uses of FxMimeType in com.flexive.shared.media |
|---|
| Methods in com.flexive.shared.media that return types with arguments of type FxMimeType | |
|---|---|
java.util.List<FxMimeType> |
FxMimeTypeWrapper.getMimeTypes()
Retrieve the List of all MimeTypes, returns an empty list if none were registered |
| Methods in com.flexive.shared.media with parameters of type FxMimeType | |
|---|---|
void |
FxMimeTypeWrapper.addMimeType(FxMimeType mimeType)
Add a mime type by providing an instance of the MimeType enum |
boolean |
FxMimeTypeWrapper.contains(FxMimeType mimeType)
Check if a given mimeType exists within the FxMimeType obj. |
boolean |
FxMimeTypeWrapper.contains(FxMimeType mimeType,
boolean mainTypeOnly)
Check if the given mime type exists, optionally for the main type only |
boolean |
FxMimeTypeWrapper.removeMimeType(FxMimeType mimeType)
Remove a mime type by providing an instance of the MimeType enum |
| Method parameters in com.flexive.shared.media with type arguments of type FxMimeType | |
|---|---|
void |
FxMimeTypeWrapper.setMimeTypes(java.util.List<FxMimeType> mimeTypes)
Set a the internal List of MimeTypes FxMimeType by providing a List of MimeType |
| Constructors in com.flexive.shared.media with parameters of type FxMimeType | |
|---|---|
FxMimeTypeWrapper(FxMimeType mimeType)
Construct using a single MimeType |
|
| Uses of FxMimeType in com.flexive.shared.media.impl |
|---|
| Methods in com.flexive.shared.media.impl that return FxMimeType | |
|---|---|
static FxMimeType |
FxMimeType.detectMimeType(byte[] header,
java.lang.String fileName)
This is a helper method for mime type detection based on medsea's mimeutils Mime type detection based on header bytes and filenames, the latter is used as a fallback if header detection fails |
static FxMimeType |
FxMimeType.getMimeType(java.lang.String mimeType)
Construct a MimeType from a given String. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||