norvos
norvos copied to clipboard
Add MIME-type detection
Currently
All files are detected as "application/octet-stream".
After fixing
The method differentiates between the files that are common to be sent with this program and returns the correct corresponding MIME-type. An external library could be used for this.
Relevant code
- String de.norvos.communication.Communicator.getMimeType(File file)