How to Design and Develop a Virtual File System?

vfs

Project Overview:

A program developed in Java that depicts a file system, which allows you allocate memory to your file system and make local drives, it presents a uniform view of the files from various different sources, such as the files on local disk etc. You can create multiple partitions and folders, you can also import/export files from VFS to your physical file system or hard drive. You can assign as much size to virtual drives as you like.

Developing Environment & Tools:

The project was developed in JAVA using NetBeans 8.0.2 and API used was java.io, utilizing VFS-Core-Lib & java.util.vector.

The VFS interface provides access to VFS. Using this interface you can locate files and create file systems. There are a number of ways to obtain a VFS instance. The simplest is to use the VFSCoreLIB() method, which returns the default Commons VFS implementation.

Output Screens:

1.      Main Screen (GUI):

This is the main screen of the file system. Where root folder is present at all times, that serves like a myComputer on regular Windows OS. It helps navigate back & forth. On left side there is ‘File Folder Task’ menu where general operations like copy, edit or delete folders and rename object like functionalities are present and below that details section gives you the details of data items and drives.

vfs

2.      Creating a VFS

To create a VFS simple hover your mouse over VFS label in top left corner & select ‘Allocate Memory’

vfs

3.      Allocate Memory:

When you are creating a VFS, you need to allocate memory first, you have to input desired space in MBs.

vfs

When space is allocated pop-up message confirms:

vfs

4.      Create Partition

Navigate to VFS from main screen again and choose second option ‘create partition’ after allocating memory.

vfs

When a partition is created message pops up, in the similar way you can create multiple partitions

vfs

5.      VFS Partitions

When partitions have been created they appear on the screen like this:

vfs

6.      Create Folder

Whenever you want to create folders, simply click on create a new folder, the message will pop up where you have to enter the directory name you want to create folder in.

vfs

7.      FolderView

When a folder is created it would appear like this:

vfs

8.      Delete a Folder

To delete a folder click the folder click delete file/folder option from menu on left

vfs

9.      Import a file

To import any file open a folder and click import and then select file to import

vfs

After you select file it is imported

vfs

10.      Export a file

To export a file simple click the file and export it to the desired location:

vfs

Confirmation of file import

vfs

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here