A C D E G H I M O R S T U

A

AbstractMimeHandler - Class in eu.medsea.mimeutil.handler
 
AbstractMimeHandler(Collection) - Constructor for class eu.medsea.mimeutil.handler.AbstractMimeHandler
 
addKnownEncoding(String) - Static method in class eu.medsea.mimeutil.TextMimeType
Add a new encoding to the internal encodings this class knows about.
addKnownMimeType(MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
While MimeType(s) are being loaded by the MimeDetector(s) they should be added to the list of known mime types.
addKnownMimeType(String) - Static method in class eu.medsea.mimeutil.MimeUtil
While MimeType(s) are being loaded by the MimeDetector(s) they should be added to the list of known mime types.
addKnownMimeType(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. While all of the property files and magic.mime files are being loaded the utility keeps a list of mime types it's seen.
addMimeDetector(MimeDetector) - Static method in class eu.medsea.mimeutil.MimeUtil
Add a MimeDetector to the MimeDetector registry.
addMimeHandler(MimeHandler) - Method in class eu.medsea.mimeutil.detector.MimeDetector
Add a mime handler to this MimeDetector.

C

compareTo(Object) - Method in class eu.medsea.mimeutil.MimeType
Allows us to use MimeType(s) in Sortable Set's such as the TreeSet.

D

DIRECTORY_MIME_TYPE - Static variable in class eu.medsea.mimeutil.MimeUtil
Mime type used to identify a directory
DIRECTORY_MIME_TYPE - Static variable in class eu.medsea.util.MimeUtil
Deprecated. Mime type used to identify a directory
dump() - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
 

E

equals(Object) - Method in class eu.medsea.mimeutil.MimeType
Overrides the equals method of java.lang.Object.
eu.medsea.mimeutil - package eu.medsea.mimeutil
 
eu.medsea.mimeutil.detector - package eu.medsea.mimeutil.detector
 
eu.medsea.mimeutil.handler - package eu.medsea.mimeutil.handler
 
eu.medsea.util - package eu.medsea.util
 
ExtensionMimeDetector - Class in eu.medsea.mimeutil.detector
The extension mime mappings are loaded in the following way.
ExtensionMimeDetector() - Constructor for class eu.medsea.mimeutil.detector.ExtensionMimeDetector
 

G

getDescription() - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
 
getDescription() - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
 
getDescription() - Method in class eu.medsea.mimeutil.detector.MimeDetector
Abstract method to be implement by concrete MimeDetector(s).
getDescription() - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
 
getEncoding() - Method in class eu.medsea.mimeutil.TextMimeType
Get the encoding currently set for this TextMimeType.
getExtension(File) - Static method in class eu.medsea.mimeutil.MimeUtil
Get the extension part of a file name defined by the file parameter.
getExtension(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Get the extension part of a file name defined by the fileName parameter.
getExtensionMimeTypes(File) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of a file using file extension mappings.
getExtensionMimeTypes(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of a file using file extension mappings.
getFileExtension(File) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the extension part of a file name defined by the file parameter.
getFileExtension(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the extension part of a file name defined by the fname parameter.
getFirstMimeType(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Get the first in a comma separated list of mime types.
getFirstMimeType(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the first in a comma separated list of mime types.
getHexString(byte[]) - Static method in class eu.medsea.util.StringUtil
Convert a byte array into a hex string representation
getKnownEncodings() - Method in class eu.medsea.mimeutil.TextMimeType
Get the list of currently known encodings.
getMagicMimeType(File) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of a file using the magic.mime rules files.
getMagicMimeType(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of a file using the magic.mime rules files.
getMajorComponent(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Utility method to get the major part of a mime type i.e.
getMediaType() - Method in class eu.medsea.mimeutil.MimeType
Get the media type part of the mime type.
getMediaType(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Utility method to get the major or media part of a mime type i.e.
getMimeDetector(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Get a registered MimeDetector by name.
getMimeHandlers() - Method in class eu.medsea.mimeutil.detector.MimeDetector
Return the Set of MimeHandler(s).
getMimeQuality(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Utility method to get the quality part of a mime type.
getMimeQuality(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Utility method to get the quality part of a mime type.
getMimeType(InputStream) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of the data in the specified InputStream.
getMimeType(String, boolean) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of a file using a path which can be relative to the JVM or an absolute path.
getMimeType(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. This is a convenience method where the order of lookup is set to extension mapping first.
getMimeType(File, boolean) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the mime type of a file using a File object which can be relative to the JVM or an absolute path.
getMimeType(File) - Static method in class eu.medsea.util.MimeUtil
Deprecated. This is a convenience method where the order of lookup is set to extension mapping first.
getMimeTypes(byte[]) - Method in class eu.medsea.mimeutil.detector.MimeDetector
This method is called by the MimeUtil getMimeTypes(byte []) method via the MimeUtil.MimeUtilMimeDetectorRegistry class.
getMimeTypes(URLConnection) - Method in class eu.medsea.mimeutil.detector.MimeDetector
This method is called by the MimeUtil getMimeTypes(URLConnection) method via the MimeUtil.MimeUtilMimeDetectorRegistry class.
getMimeTypes(File) - Method in class eu.medsea.mimeutil.detector.MimeDetector
This method is called by the MimeUtil getMimeTypes(File) method via the MimeUtil.MimeUtilMimeDetectorRegistry class.
getMimeTypes(String) - Method in class eu.medsea.mimeutil.detector.MimeDetector
This method is called by the MimeUtil getMimeTypes(fileName) method via the MimeUtil.MimeUtilMimeDetectorRegistry class.
getMimeTypes(InputStream) - Method in class eu.medsea.mimeutil.detector.MimeDetector
This method is called by the MimeUtil getMimeTypes(InputStream) method via the MimeUtil.MimeUtilMimeDetectorRegistry class.
getMimeTypes() - Method in class eu.medsea.mimeutil.handler.AbstractMimeHandler
 
getMimeTypes() - Method in interface eu.medsea.mimeutil.handler.MimeHandler
 
getMimeTypes(byte[]) - Static method in class eu.medsea.mimeutil.MimeUtil
TODO: Add description
getMimeTypes(byte[], MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
TODO: Add desription
getMimeTypes(File) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this file object.
getMimeTypes(File, MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this file object.
getMimeTypes(InputStream) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this InputStream object.
getMimeTypes(InputStream, MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this InputStream object.
getMimeTypes(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this file name.
getMimeTypes(String, MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this file name .
getMimeTypes(URLConnection) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this URLConnection object.
getMimeTypes(URLConnection, MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
Get all of the matching mime types for this URLConnection object.
getMimeTypesByteArray(byte[]) - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
This method is required by the abstract MimeDetector class.
getMimeTypesByteArray(byte[]) - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
Get the mime types that may be contained in the data array.
getMimeTypesByteArray(byte[]) - Method in class eu.medsea.mimeutil.detector.MimeDetector
Abstract method that must be implemented by concrete MimeDetector(s).
getMimeTypesByteArray(byte[]) - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
This method is unable to perform glob matching as no name is available.
getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
Get the mime type of a file using file extension mappings.
getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
Try to get the mime types of a file using the magic.mime rules files.
getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.MimeDetector
Abstract method that must be implemented by concrete MimeDetector(s).
getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
This method resolves mime types closely in accordance with the RECOMENDED order of detection detailed in the Opendesktop shared mime database specification http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html See the Recommended checking order.
getMimeTypesInputStream(InputStream) - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
This method is required by the abstract MimeDetector class.
getMimeTypesInputStream(InputStream) - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
Get the mime types of the data in the specified InputStream.
getMimeTypesInputStream(InputStream) - Method in class eu.medsea.mimeutil.detector.MimeDetector
Abstract method that must be implemented by concrete MimeDetector(s).
getMimeTypesInputStream(InputStream) - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
This method is unable to perform glob matching as no name is available.
getMinorComponent(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Utility method to get the minor part of a mime type i.e.
getMostSpecificMimeType(Collection) - Static method in class eu.medsea.mimeutil.MimeUtil
Get the most specific match of the Collection of mime types passed in.
getName() - Method in class eu.medsea.mimeutil.detector.MimeDetector
Gets the name of this MimeDetector
getNativeOrder() - Static method in class eu.medsea.mimeutil.MimeUtil
Get the native byte order of the OS on which you are running.
getNativeOrder() - Static method in class eu.medsea.util.MimeUtil
Deprecated. Get the native byte order of the OS on which you are running.
getPreferedMimeType(String, String) - Static method in class eu.medsea.mimeutil.MimeUtil
Gives you the best match for your requirements.
getPreferedMimeType(String, String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Gives you the best match for your requirements.
getQuality(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Get the quality parameter of this mime type i.e.
getSpecificity() - Method in class eu.medsea.mimeutil.MimeType
This indicates how specific the mime types is i.e.
getSubType() - Method in class eu.medsea.mimeutil.MimeType
Get the sub type of the mime type
getSubType(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Utility method to get the minor part of a mime type i.e.

H

handle(Collection) - Method in interface eu.medsea.mimeutil.handler.MimeHandler
 
hashCode() - Method in class eu.medsea.mimeutil.MimeType
Get the hashCode of this MimeType.

I

isKnownEncoding(String) - Method in class eu.medsea.mimeutil.TextMimeType
Utility method to see if the passed in encoding is known to this class.
isMimeTypeKnown(MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
Check to see if this mime type is one of the types seen during initialisation or has been added at some later stage using addKnownMimeType(...)
isMimeTypeKnown(String) - Static method in class eu.medsea.mimeutil.MimeUtil
Check to see if this mime type is one of the types seen during initialisation or has been added at some later stage using addKnownMimeType(...)
isMimeTypeKnown(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. Check to see if this mime type is one of the types seen during initialisation or has been added at some later stage using addKnownMimeType(...)
isTextMimeType(MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
Utility convenience method to check if a particular MimeType instance is actually a TextMimeType.

M

MagicMimeMimeDetector - Class in eu.medsea.mimeutil.detector
The magic mime rules files are loaded in the following way.
MagicMimeMimeDetector() - Constructor for class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
 
main(String[]) - Static method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
CAUSION: This is a TEST ONLY method and will not run on anybody else's environment without serious modifications to paths and file names
MimeDetector - Class in eu.medsea.mimeutil.detector
ALL MimeDetector(s) must extend this class.
MimeDetector() - Constructor for class eu.medsea.mimeutil.detector.MimeDetector
 
MimeException - Exception in eu.medsea.mimeutil
This exception is thrown by methods that fail while checking a file to determine the mime types.
MimeException(String) - Constructor for exception eu.medsea.mimeutil.MimeException
 
MimeException(Throwable) - Constructor for exception eu.medsea.mimeutil.MimeException
 
MimeException(String, Throwable) - Constructor for exception eu.medsea.mimeutil.MimeException
 
MimeException - Exception in eu.medsea.util
Deprecated. Use MimeException instead!
MimeException(String) - Constructor for exception eu.medsea.util.MimeException
Deprecated.  
MimeException(Throwable) - Constructor for exception eu.medsea.util.MimeException
Deprecated.  
MimeException(String, Throwable) - Constructor for exception eu.medsea.util.MimeException
Deprecated.  
MimeHandler - Interface in eu.medsea.mimeutil.handler
 
MimeType - Class in eu.medsea.mimeutil
This class represents a simple MimeType object.
MimeType(MimeType) - Constructor for class eu.medsea.mimeutil.MimeType
Construct a MimeType from another MimeType instance
MimeType(String) - Constructor for class eu.medsea.mimeutil.MimeType
Construct a mime type from a String such as text/plain.
MimeUtil - Class in eu.medsea.mimeutil
The MimeUtil utility is a utility class that allows applications to detect, work with and manipulate mime types.
MimeUtil() - Constructor for class eu.medsea.mimeutil.MimeUtil
 
MimeUtil - Class in eu.medsea.util
Deprecated. Use MimeUtil instead!
MimeUtil() - Constructor for class eu.medsea.util.MimeUtil
Deprecated.  

O

OpendesktopMimeDetector - Class in eu.medsea.mimeutil.detector
 
OpendesktopMimeDetector(String) - Constructor for class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
 
OpendesktopMimeDetector() - Constructor for class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
 

R

removeMimeDetector(MimeDetector) - Static method in class eu.medsea.mimeutil.MimeUtil
Remove a previously registered MimeDetector
removeMimeHandler(MimeHandler) - Method in class eu.medsea.mimeutil.detector.MimeDetector
remove a mime handler to this MimeDetector.

S

setEncoding(String) - Method in class eu.medsea.mimeutil.TextMimeType
Set the encoding used for the file or stream this MimeType is associated with
setUnknownMimeType(String) - Static method in class eu.medsea.util.MimeUtil
Deprecated. The default mime type returned by a no match i.e.
StringUtil - Class in eu.medsea.util
A string utility class with various string manipulation functions
StringUtil() - Constructor for class eu.medsea.util.StringUtil
 

T

TextMimeType - Class in eu.medsea.mimeutil
This class can be used to represent a mime type for a text file.
TextMimeType(MimeType) - Constructor for class eu.medsea.mimeutil.TextMimeType
Construct a new TestMimeType from an existing MimeType
TextMimeType(String) - Constructor for class eu.medsea.mimeutil.TextMimeType
Construct a new TextMimeType from a string representation of a MimeType
TextMimeType(String, String) - Constructor for class eu.medsea.mimeutil.TextMimeType
Construct a TextMimeType from a string representation of a MimeType and an encoding that should be one of the known encodings.
toString() - Method in class eu.medsea.mimeutil.MimeType
Overrides the toString method of java.lang.Object.

U

UNKNOWN_MIME_TYPE - Static variable in class eu.medsea.mimeutil.MimeUtil
Mime type used to identify a directory
UNKNOWN_MIME_TYPE - Static variable in class eu.medsea.util.MimeUtil
Deprecated. Mime type used to identify no match

A C D E G H I M O R S T U

Copyright © 2007-2009 Medsea Business Solutions S.L.. All Rights Reserved.