norvos icon indicating copy to clipboard operation
norvos copied to clipboard

Add MIME-type detection

Open connorlanigan opened this issue 9 years ago • 0 comments

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)

connorlanigan avatar Jul 02 '15 17:07 connorlanigan