Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 459 Bytes

File metadata and controls

19 lines (12 loc) · 459 Bytes

FileWrapper

Class to wrap file and contentType to be sent as part of a HTTP request.

Constructors

Name Description
FileWrapper(File file) Initialization constructor.
FileWrapper(File file, String contentType) Initialization constructor.

Methods

Name Description Return Type
getFile() File instance. File
getContentType() Content type of the file. String