Java File Size Get getFileSize(File file)

Here you can find the source of getFileSize(File file)

Description

get File Size

License

Open Source License

Declaration

public static long getFileSize(File file) 

Method Source Code


//package com.java2s;

import java.io.File;

public class Main {
    public static long getFileSize(File file) {
        return file.length();
    }//from   www . ja  va 2s  . c om
}

Related

  1. getFileSize(@Nonnull File file)
  2. getFileSize(File dir)
  3. getFileSize(File element)
  4. getFileSize(File f)
  5. getFileSize(File file)
  6. getFileSize(File file)
  7. getFileSize(File file)
  8. getFileSize(File file)
  9. getFileSize(File file)