SyntaxFix
Write A Post
Hire A Developer
Questions
No; instances of class File represent a path in a filesystem. Therefore, you can use that function only with a file. But perhaps there is an overload that takes an InputStream instead?
File
InputStream