- Enclosing class:
- TdApi
Returns the extension of a file,
guessed by its MIME type. Returns an
empty string on failure. Can be called synchronously.
Returns
Text-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe MIME type of the file. -
Constructor Summary
ConstructorsConstructorDescriptionReturns the extension of a file, guessed by its MIME type.GetFileExtension(DataInput input) Returns the extension of a file, guessed by its MIME type.GetFileExtension(String mimeType) Returns the extension of a file, guessed by its MIME type. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
mimeType
The MIME type of the file. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetFileExtension
public GetFileExtension()Returns the extension of a file, guessed by its MIME type. Returns an empty string on failure. Can be called synchronously. ReturnsText -
GetFileExtension
Returns the extension of a file, guessed by its MIME type. Returns an empty string on failure. Can be called synchronously. ReturnsText- Parameters:
mimeType- String The MIME type of the file.
-
GetFileExtension
Returns the extension of a file, guessed by its MIME type. Returns an empty string on failure. Can be called synchronously. ReturnsText- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-