com.versionone.apiclient

## Class MimeType

- java.lang.Object
- - com.versionone.apiclient.MimeType

-     public class MimeType
      extends Object

  Provides a method to determine a file's MIME type based on its filename

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MimeType()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `resolve(String fileName)` Return the file's MIME type, based on it's name.

    - ### 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

    - #### resolve

          public static String resolve(String fileName)

      Return the file's MIME type, based on it's name.
      Parameters:
        `fileName` - Name of the file
      Returns:
        MIME type

Copyright © 2016 VersionOne, Inc.. All rights reserved.