A C D E G H I M O R S T U W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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(MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
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.mimeutil.MimeUtil2
-
While MimeType(s) are being loaded by the MimeDetector(s) they should be added to the list of known MIME types.
C
- closeStream(InputStream) - Static method in class eu.medsea.mimeutil.detector.MimeDetector
- compareByteArrays(byte[], int, byte[], int, int) - Static method in class eu.medsea.util.EncodingGuesser
-
Utility method to compare a region of two byte arrays for equality
- compareTo(Object) - Method in class eu.medsea.mimeutil.MimeType
-
Allows us to use MimeType(s) in Sortable Set's such as the TreeSet.
- contains(String, String) - Static method in class eu.medsea.util.StringUtil
D
- defaultLocations - Static variable in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
- delete() - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
You can override this method if for instance you allocated any resources in the init() method that need to be closed or deallocated specially.
- delete() - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
- DIRECTORY_MIME_TYPE - Static variable in class eu.medsea.mimeutil.MimeUtil2
-
Mime type used to identify a directory
- dump() - Method in class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
E
- EncodingGuesser - Class in eu.medsea.util
-
This class contains a list of known encodings used by TextMimeType.
- EncodingGuesser() - Constructor for class eu.medsea.util.EncodingGuesser
- 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
- getByteArraySubArray(byte[], int, int) - Static method in class eu.medsea.util.EncodingGuesser
-
Get a sub array of this byte array starting at offset until length
- getCanonicalEncodingNamesSupportedByJVM() - Static method in class eu.medsea.util.EncodingGuesser
-
Utility method to get all of the current encoding names, in canonical format, supported by your JVM at the time this is called.
- getDefaultEncoding() - Static method in class eu.medsea.util.EncodingGuesser
-
Get the JVM default canonical encoding.
- 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
- getDescription() - Method in class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
- getDescription() - Method in class eu.medsea.mimeutil.TextMimeDetector
- getEncoding() - Method in class eu.medsea.mimeutil.TextMimeType
-
Get the encoding currently set for this TextMimeType.
- getEntries(File) - Static method in class eu.medsea.util.ZipJarUtil
-
Get all entries from a Zip or Jar file.
- getEntries(String) - Static method in class eu.medsea.util.ZipJarUtil
-
Get all entries from a Zip or Jar file.
- getEntries(URL) - Static method in class eu.medsea.util.ZipJarUtil
-
Get all entries from a Zip or Jar file identified by a URL.
- getEntries(ZipFile) - Static method in class eu.medsea.util.ZipJarUtil
-
Get all entries from a zip or jar file.
- getExtension(File) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get the extension part of a file name defined by the file parameter.
- getExtension(File) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
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.
- getExtension(String) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
Get the extension part of a file name defined by the fileName 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.mimeutil.MimeUtil2
-
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
- getInputStreamForURL(URL) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Utility method to get the InputStream from a URL.
- getInputStreamForURL(URL) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
Utility method to get the InputStream from a URL.
- getInputStreamForURL(URL) - Static method in class eu.medsea.util.ZipJarUtil
-
Get an InputStream from the zip file capable of reading from
- getKnownMimeTypes() - Static method in class eu.medsea.mimeutil.MimeUtil2
-
Returns a copy of the Collection of currently known MIME types as strings that have been registered either by the initialisation methods of the MimeDetector(s) or by the user.
- getLengthBOM(String, byte[]) - Static method in class eu.medsea.util.EncodingGuesser
-
Get the length of a BOM for this this encoding and byte array
- 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.
- getMediaType(String) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
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.
- getMimeDetector(String) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get a registered MimeDetector by name.
- 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.mimeutil.MimeUtil2
-
Utility method to get the quality part of a mime type.
- getMimeTypes(byte[]) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Called by MimeUtil.MimeDetectorRegistry.getMimeTypes(byte [] data) {}
- getMimeTypes(byte[]) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get a Collection of possible MimeType(s) that this byte array could represent according to the registered MimeDetector(s).
- getMimeTypes(byte[]) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get a Collection of possible MimeType(s) that this byte array could represent according to the registered MimeDetector(s).
- getMimeTypes(byte[], MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get a Collection of possible MimeType(s) that this byte array could represent according to the registered MimeDetector(s).
- getMimeTypes(byte[], MimeType) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get a Collection of possible MimeType(s) that this byte array could represent according to the registered MimeDetector(s).
- getMimeTypes(File) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Called by MimeUtil.MimeDetectorRegistry.getMimeTypes(File file) {}
- getMimeTypes(File) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get all of the matching mime types for this file object.
- getMimeTypes(File) - Method in class eu.medsea.mimeutil.MimeUtil2
-
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(File, MimeType) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get all of the matching mime types for this file object.
- getMimeTypes(InputStream) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Called by MimeUtil.MimeDetectorRegistry.getMimeTypes(InputStream in) {} The InputStream must support the mark() and reset() methods.
- getMimeTypes(InputStream) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get all of the matching mime types for this InputStream object.
- getMimeTypes(InputStream) - Method in class eu.medsea.mimeutil.MimeUtil2
-
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(InputStream, MimeType) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get all of the matching mime types for this InputStream object.
- getMimeTypes(String) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Called by MimeUtil.MimeDetectorRegistry.getMimeTypes(String fileName) {}
- getMimeTypes(String) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get all of the matching mime types for this file name.
- getMimeTypes(String) - Method in class eu.medsea.mimeutil.MimeUtil2
-
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(String, MimeType) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get all of the matching mime types for this file name .
- getMimeTypes(URL) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Called by MimeUtil.MimeDetectorRegistry.getMimeTypes(URL url) {}
- getMimeTypes(URL) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get all of the matching mime types for this URL object.
- getMimeTypes(URL) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Get all of the matching mime types for this URL object.
- getMimeTypes(URL, MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil
- getMimeTypes(URL, MimeType) - Method in class eu.medsea.mimeutil.MimeUtil2
- 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.
- getMimeTypesByteArray(byte[]) - Method in class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
-
Content detection not supported
- getMimeTypesByteArray(byte[]) - Method in class eu.medsea.mimeutil.TextMimeDetector
- getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
-
Get the mime type of a file using extension mappings.
- getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
-
Defer this call to the InputStream method
- 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.
- getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
- getMimeTypesFile(File) - Method in class eu.medsea.mimeutil.TextMimeDetector
-
We only want to deal with the stream for the file
- getMimeTypesFileName(String) - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
-
Get the mime type of a file name using file name extension mappings.
- getMimeTypesFileName(String) - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
-
Defer this call to the File method
- getMimeTypesFileName(String) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Abstract method that must be implemented by concrete MimeDetector(s).
- getMimeTypesFileName(String) - 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.
- getMimeTypesFileName(String) - Method in class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
- getMimeTypesFileName(String) - Method in class eu.medsea.mimeutil.TextMimeDetector
-
This MimeDetector requires content so defer to the file method
- 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.
- getMimeTypesInputStream(InputStream) - Method in class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
-
Content detection not supported
- getMimeTypesInputStream(InputStream) - Method in class eu.medsea.mimeutil.TextMimeDetector
- getMimeTypesURL(URL) - Method in class eu.medsea.mimeutil.detector.ExtensionMimeDetector
-
Get the mime type of a URL using extension mappings.
- getMimeTypesURL(URL) - Method in class eu.medsea.mimeutil.detector.MagicMimeMimeDetector
-
Defer this call to the InputStream method
- getMimeTypesURL(URL) - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
Abstract method that must be implemented by concrete MimeDetector(s).
- getMimeTypesURL(URL) - 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.
- getMimeTypesURL(URL) - Method in class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
- getMimeTypesURL(URL) - Method in class eu.medsea.mimeutil.TextMimeDetector
-
We only want to deal with the stream from the URL
- getMostSpecificMimeType(Collection) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Get the most specific match of the Collection of mime types passed in.
- getMostSpecificMimeType(Collection) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
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.mimeutil.MimeUtil2
-
Get the native byte order of the OS on which you are running.
- getPossibleEncodings(byte[]) - Static method in class eu.medsea.util.EncodingGuesser
-
Get a Collection of all the possible encodings this byte array could be used to represent.
- 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.mimeutil.MimeUtil2
-
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.
- getQuality(String) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
Get the quality parameter of this mime type i.e.
- getRegisteredTextMimeHandlers() - Static method in class eu.medsea.mimeutil.TextMimeDetector
-
Get the current Collection of registered TexMimeHandler(s)
- 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.
- getSubType(String) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
Utility method to get the minor part of a mime type i.e.
- getSupportedEncodings() - Static method in class eu.medsea.util.EncodingGuesser
-
Get the Collection of currently supported encodings
- getValidEncodings(String[]) - Static method in class eu.medsea.util.EncodingGuesser
-
Get a Collection containing entries in both the supported encodings and the passed in String [] of encodings.
H
- handle(TextMimeType, String) - Method in interface eu.medsea.mimeutil.handler.TextMimeHandler
-
All TextMimeHandler(s) will have this method that has a chance to re-handle what the TextMimeDetector has decided
- hashCode() - Method in class eu.medsea.mimeutil.MimeType
-
Get the hashCode of this MimeType.
I
- init() - Method in class eu.medsea.mimeutil.detector.MimeDetector
-
You can override this method if you have any special one off initialisation to perform such as allocating resources etc.
- isKnownEncoding(String) - Static method in class eu.medsea.util.EncodingGuesser
-
Check if the encoding String is one of the encodings supported.
- 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(MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
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.mimeutil.MimeUtil2
-
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.
- isTextMimeType(MimeType) - Static method in class eu.medsea.mimeutil.MimeUtil2
-
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.util.ZipJarUtil
- mediaType - Variable in class eu.medsea.mimeutil.MimeType
- 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(String, Throwable) - Constructor for exception eu.medsea.mimeutil.MimeException
- MimeException(Throwable) - Constructor for exception eu.medsea.mimeutil.MimeException
- 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
-
NOTE: Since version 2.1 this class delegates ALL calls to a static instance of the new MimeUtil2 implementation.
- MimeUtil() - Constructor for class eu.medsea.mimeutil.MimeUtil
- MimeUtil2 - Class in eu.medsea.mimeutil
-
The
MimeUtil2
is a utility class that allows applications to detect, work with and manipulate MIME types. - MimeUtil2() - Constructor for class eu.medsea.mimeutil.MimeUtil2
O
- OpendesktopMimeDetector - Class in eu.medsea.mimeutil.detector
-
The Opendesktop shared mime database contains glob rules and magic number lookup information to enable applications to detect the mime types of files.
- OpendesktopMimeDetector() - Constructor for class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
- OpendesktopMimeDetector(String) - Constructor for class eu.medsea.mimeutil.detector.OpendesktopMimeDetector
R
- registerMimeDetector(String) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Register a MimeDetector and add it to the MimeDetector registry.
- registerMimeDetector(String) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Register a MimeDetector and add it to the MimeDetector registry.
- registerTextMimeHandler(TextMimeHandler) - Static method in class eu.medsea.mimeutil.TextMimeDetector
-
Register a TexMimeHandler(s)
- removeEncoding(String) - Static method in class eu.medsea.util.EncodingGuesser
-
Allows you to remove an encoding from the supported encodings you are not interested in.
- removeEncodings(String[]) - Static method in class eu.medsea.util.EncodingGuesser
-
Remove all valid encodings in the string array
S
- setEncoding(String) - Method in class eu.medsea.mimeutil.TextMimeType
- setMediaType(String) - Method in class eu.medsea.mimeutil.TextMimeType
- setMimeType(MimeType) - Method in class eu.medsea.mimeutil.TextMimeType
- setPreferredEncodings(String[]) - Static method in class eu.medsea.mimeutil.TextMimeDetector
-
Change the list of preferred encodings.
- setSubType(String) - Method in class eu.medsea.mimeutil.TextMimeType
- setSupportedEncodings(Collection) - Static method in class eu.medsea.util.EncodingGuesser
-
Set the supported encodings
- StringUtil - Class in eu.medsea.util
-
A string utility class with various string manipulation functions
- StringUtil() - Constructor for class eu.medsea.util.StringUtil
- subType - Variable in class eu.medsea.mimeutil.MimeType
T
- TextMimeDetector - Class in eu.medsea.mimeutil
-
This MimeDetector cannot be registered, unregistered or subclassed.
- TextMimeHandler - Interface in eu.medsea.mimeutil.handler
-
This interface is to be implemented by all TextMmeDetector(s) that are registered with the TextMimeDetector
- 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
- TextMimeType(MimeType, String) - Constructor for class eu.medsea.mimeutil.TextMimeType
- 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
. - toString() - Method in class eu.medsea.mimeutil.TextMimeType
- toStringArrayToString(String[]) - Static method in class eu.medsea.util.StringUtil
U
- UNKNOWN_MIME_TYPE - Static variable in class eu.medsea.mimeutil.MimeUtil2
-
Mime type used to identify an unknown MIME type
- unregisterMimeDetector(MimeDetector) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Remove a previously registered MimeDetector
- unregisterMimeDetector(MimeDetector) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Remove a previously registered MimeDetector
- unregisterMimeDetector(String) - Static method in class eu.medsea.mimeutil.MimeUtil
-
Remove a previously registered MimeDetector
- unregisterMimeDetector(String) - Method in class eu.medsea.mimeutil.MimeUtil2
-
Remove a previously registered MimeDetector
- unregisterTextMimeHandler(TextMimeHandler) - Static method in class eu.medsea.mimeutil.TextMimeDetector
-
Unregister a TextMimeHandler
W
- WindowsRegistryMimeDetector - Class in eu.medsea.mimeutil.detector
-
Get the content type for a file extension as stored in the Windows Registry The extensions are stored at "HKEY_CLASSES_ROOT"
- WindowsRegistryMimeDetector() - Constructor for class eu.medsea.mimeutil.detector.WindowsRegistryMimeDetector
Z
- ZipJarUtil - Class in eu.medsea.util
-
Utility class providing methods to work with Zip and Jar Files
- ZipJarUtil() - Constructor for class eu.medsea.util.ZipJarUtil
All Classes All Packages