public class FileWrapper extends Object
| 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 wrappedCopyright © 2022. All rights reserved.