|
Sep
23
|
You can get the size of a file (in bytes) using the length() method of the File class.
File file = new File(filename); long fileLength = file.length();
|
|
You can get the size of a file (in bytes) using the length() method of the File class. File file = new File(filename); long fileLength = file.length(); Leave a Reply |
|
Recent Comments