public class FileWrapper extends Object implements io.apimatic.coreinterfaces.type.CoreFileWrapper
| Constructor and Description |
|---|
FileWrapper(File file)
Initialization constructor.
|
FileWrapper(File file,
String contentType)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Getter for content type.
|
File |
getFile()
Getter for file.
|
public FileWrapper(File file, String contentType)
file - File object to be wrappedcontentType - content type of filepublic FileWrapper(File file)
file - File object to be wrappedpublic File getFile()
getFile in interface io.apimatic.coreinterfaces.type.CoreFileWrapperpublic String getContentType()
getContentType in interface io.apimatic.coreinterfaces.type.CoreFileWrapperCopyright © 2023. All rights reserved.