jaugment2.helpers
Class ExtensionFileMimeIdentifier

java.lang.Object
  |
  +--jaugment2.helpers.ExtensionFileMimeIdentifier

public class ExtensionFileMimeIdentifier
extends java.lang.Object
implements FileMimeIdentifier

A FileMimeIdentifier checking just the filenames


Constructor Summary
ExtensionFileMimeIdentifier()
           
 
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
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ExtensionFileMimeIdentifier

public ExtensionFileMimeIdentifier()
Method Detail

identifyMimeType

public java.lang.String identifyMimeType(java.io.File f)
                                  throws java.io.IOException
identify the Mime-type of the file
Specified by:
identifyMimeType in interface FileMimeIdentifier

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.
Specified by:
equals in interface FileMimeIdentifier
Overrides:
equals in class java.lang.Object