public interface IContentTypeHandler
| Modifier and Type | Method and Description |
|---|---|
String |
getContentTypeFromFile(File file)
Renvoi le content Type d'un fichier à partir
|
String |
getContentTypeFromFile(String filePath)
Renvoi le content Type d'un fichier à partir de son chemin physique
|
String |
getContentTypeFromStream(InputStream filePath) |
String getContentTypeFromFile(String filePath)
filePath - String getContentTypeFromFile(File file)
file - String getContentTypeFromStream(InputStream filePath)
filePath - Copyright © 2016. All rights reserved.