GetFileX extension

on

Properties

fileName String
return the file name of file path.
no setter
fileNameWithoutType String
return the file name without type.
no setter
fileType String
return the file type without dot i.e. pdf.
no setter
gif String
no setter
isAudio bool
Checks if string is an audio file name.
no setter
isDocument bool
Checks if string is a document file name.
no setter
isGIF bool
no setter
isImage bool
Checks if string is an image file name.
no setter
isJPG bool
no setter
isMediaOrDocs bool
Checks if string is an image, video, audio or document file name.
no setter
isPDF bool
no setter
isPNG bool
no setter
isSVG bool
no setter
isVideo bool
Checks if string is a video file name.
no setter
isWMVFile bool
Checks if string is a wmv file name.
no setter
jpeg String
no setter
jpg String
no setter
mediaType MediaType?
Parses a string to media type.
no setter
mimeDescription String?
return the mime type description i.e. Image.
no setter
mimeType String?
Parses a string to mime type.
no setter
pdf String
no setter
png String
no setter
svg String
no setter

Methods

fileDescription([String? append]) String?
return the mime type description with type i.e. Image.jpg.