dk.apaq.vfs.mime
Class MimeType

java.lang.Object
  extended by dk.apaq.vfs.mime.MimeType

public class MimeType
extends Object

Author:
michael

Constructor Summary
MimeType()
           
 
Method Summary
static void add(String suffix, String mimetype)
           
static void remove(String suffix)
           
static String retrieve(File file)
          Retrieves the mimetype.
static String retrieve(String suffix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeType

public MimeType()
Method Detail

retrieve

public static String retrieve(File file)
Retrieves the mimetype.

Parameters:
file - The file.
Returns:
The mimetype.

retrieve

public static String retrieve(String suffix)

add

public static void add(String suffix,
                       String mimetype)

remove

public static void remove(String suffix)


Copyright © 2011. All Rights Reserved.