Exemplo n.º 1
0
 // returns the length of the given file in bytes
 public static long length(java.io.File file) throws ServiceException {
   return file == null ? 0 : file.length();
 }