Uses of Class
gate.corpora.MimeType

Packages that use MimeType
gate This package contains the public interface to the GATE Java API.  
 

Uses of MimeType in gate
 

Fields in gate declared as MimeType
private  MimeType DocumentFormat.mimeType
          The MIME type of this format.
 

Methods in gate that return MimeType
private static MimeType DocumentFormat.getMimeType(String fileSufix)
          Returns a MimeType having as input a fileSufix.
private static MimeType DocumentFormat.getMimeType(URL url)
          Returns a MymeType having as input a URL object.
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
private static MimeType DocumentFormat.getTypeFromContent(String aContent)
           
 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