|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MimeType | |
gate | This package contains the public interface to the GATE Java API. |
Uses of MimeType in gate |
Methods in gate that return MimeType | |
protected static MimeType |
DocumentFormat.decideBetweenThreeMimeTypes(MimeType aMimeTypeFromWebServer,
MimeType aMimeTypeFromFileSuffix,
MimeType aMimeTypeFromMagicNumbers)
This method decides what mimeType is in majority |
protected static MimeType |
DocumentFormat.decideBetweenTwoMimeTypes(MimeType aMimeType,
MimeType anotherMimeType)
Decide between two mimeTypes. |
protected static MimeType |
DocumentFormat.guessTypeUsingMagicNumbers(InputStream aInputStream,
String anEncoding)
This method tries to guess the mime Type using some magic numbers. |
protected static MimeType |
DocumentFormat.runMagicNumbers(InputStreamReader aReader)
Performs magic over Gate Document |
MimeType |
DocumentFormat.getMimeType()
Gets the mime Type |
Methods in gate with parameters of type MimeType | |
protected static MimeType |
DocumentFormat.decideBetweenThreeMimeTypes(MimeType aMimeTypeFromWebServer,
MimeType aMimeTypeFromFileSuffix,
MimeType aMimeTypeFromMagicNumbers)
This method decides what mimeType is in majority |
protected static MimeType |
DocumentFormat.decideBetweenTwoMimeTypes(MimeType aMimeType,
MimeType anotherMimeType)
Decide between two mimeTypes. |
protected static boolean |
DocumentFormat.areEqual(MimeType aMimeType,
MimeType anotherMimeType)
Tests if two MimeType objects are equal. |
static DocumentFormat |
DocumentFormat.getDocumentFormat(Document aGateDocument,
MimeType mimeType)
Find a DocumentFormat implementation that deals with a particular MIME type, given that type. |
void |
DocumentFormat.setMimeType(MimeType aMimeType)
Set the mime type |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |