cop3xxx33

cop3xxx33 -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Write a Java program to imitate a certain file system and certain utility programs of an operating system.   Design a class called  BasicFile  to accomplish the following:  File Operations Select a file from a file dialog box, using the class J FileChooser . List the absolute path of the file List all files, directories and subdirectories in the path of the file selected. State the size of the selected file. File security Make a backup copy of the selected file, immediately after it has been selected. Use the class  J FileChooser  to select/specify the backup filename. Use the  DataInputStream  and  DataOutputStream  classes and the  readByte  and  writeByte  methods for this activity. File Contents- account for the following information: The number of lines in the file The number of words in the file, and  The number of characters in the file excluding blanks. Numbers must be treated as strings. Use the 
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/06/2012 for the course COP 3804 taught by Professor Staff during the Fall '08 term at FIU.

Ask a homework question - tutors are online