In Java is there any way to check the size of a file without reading it into memory? The use case is just validation before any malicious activity, before handing over to another thread to do the parsing.
Thank you.
In Java is there any way to check the size of a file without reading it into memory? The use case is just validation before any malicious activity, before handing over to another thread to do the parsing.
Thank you.