FileInfoAccessor
public class FileInfoAccessor
FileInfoAccessor gets information related to a file.
Version
1.5.0Date
29/03/2019-
Get the MIME type of the file.
Declaration
Swift
public var mimeType: String { get } -
Get the file name.
Declaration
Swift
public var filename: String { get } -
Get the file extension.
Declaration
Swift
public var fileExtension: String { get } -
Initialize the object.
Declaration
Swift
public init(path: String)Parameters
pathThe path of the file.
FileInfoAccessor Class Reference