public class MediaTypeUtils extends Object
SpeechToText
service.SpeechToText
Constructor and Description |
---|
MediaTypeUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getMediaTypeFromFile(File file)
Returns the media type for a given file.
|
static Boolean |
isValidMediaType(String mediaType)
Checks if the media type is supported by the service.
|
Copyright © 2015–2016. All rights reserved.