jaugment2.helpers
Interface FileMimeIdentifier

All Known Implementing Classes:
ExtensionFileMimeIdentifier

public interface FileMimeIdentifier

Interface for a bean capable of identifiing the mime-type of some files


Method Summary
 boolean equals(java.lang.Object obj)
          checks if this FileMimeIdentifier does the same OR A SUBSET OF what obj does to identify files and such need noot be used if the obj is avaliable.
 java.lang.String identifyMimeType(java.io.File f)
          identify the Mime-type of the file
 

Method Detail

identifyMimeType

public java.lang.String identifyMimeType(java.io.File f)
                                  throws java.io.IOException
identify the Mime-type of the file

equals

public boolean equals(java.lang.Object obj)
checks if this FileMimeIdentifier does the same OR A SUBSET OF what obj does to identify files and such need noot be used if the obj is avaliable. Often it is enough to check if it is of the same class. (HINT)
Overrides:
equals in class java.lang.Object