FileDocCategorySizeDatePackage
FileDeleteExample.javaAPI DocExample1370Wed May 18 09:39:00 BST 2005com.discursive.jccook.io

FileDeleteExample

public class FileDeleteExample extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		new FileDeleteExample().start();
	
public voidstart()

		File file = new File( "project.xml" );
		String display = FileUtils.byteCountToDisplaySize( file.length() );
		System.out.println( "project.xml is " + display );
		System.out.println( "Byte in KB: " + FileUtils.ONE_GB );

		display = FileUtils.byteCountToDisplaySize( 12073741824l );
		System.out.println( "size: " + display );