package testtool.File;

import testtool.Tests.*;
import testtool.Database.*;
import testtool.StudentFunctionality.*;

import java.util.Collection;

/**
 *
 * 
        A File is an abstraction of a file stored in the file space.  It ha
 *s a
        name, permissions, type, and data.  These are the components
 * sufficient
        to specify the behavior of Calendar Tool file operations.
     * 
 * @author 
 * @version 
 *
 **/

public class File {

     /** Default Constructor **/
     public File() {

     }

     /** 
        Add a new empty test to the workspace and make it current.
     **/
     protected UserWorkSpace fileNew(UserWorkSpace uws) {
          return null;
     }

     /** 
        Open an test file of the given name and put the data from
        that file in the workspace.
     **/
     protected UserWorkSpace fileOpen(String fs, FileSpace[] fn, 
               UserWorkSpace uws) {
          return null;
     }

     /** 
        If the tests or question database in the given workspace requires 
	saving, save it in the given file space.
     **/
     protected UserWorkSpace fileSave(FileSpace[] fs, UserWorkSpace uws) {
          return null;
     }

     /** 
        If the tests or question database in the given workspace requires 
	saving, save it in the given file space.
     **/
     protected UserWorkSpace fileSaveAs(String fs, FileSpace[] fn, 
               UserWorkSpace uws) {
          return null;
     }

     protected String name;

     protected FilePermissions permissions;

     protected FileType file_type;

     protected int size;

     protected FileData data;

}