

 /*______________________________________________________________________________
                                                       WWS Coding Team

    Dir.java
      7/31/98

      Directory object.   Distinquishes between a file and a directory
      
      Developed by:     David Wagstaff
                        Jeff Sabin

      Disclaimer:

            This program is an unpublished copyrighted work which is proprietary
            to Novell, Inc. and contains confidential information that is not
            to be reproduced or disclosed to any other person or entity without
            prior written consent from Novell, Inc. in each and every instance.

            WARNING:  Unauthorized reproduction of this program as well as
            unauthorized preparation of derivative works based upon the
            program or distribution of copies by sale, rental, lease or
            lending are violations of federal copyright laws and state trade
            secret laws, punishable by civil and criminal penalties.

______________________________________________________________________________*/

import java.io.File;

/**
  *
  * Directory object.   Distinquishes between a file and a directory
  * 
  * @version 1.0 7/31/98
  * @author Jeff Sabin/David Wagstaff
  *
  */
class Dir extends File 
	{
	public String[] fileList;
	public int filesLeft;

	private void initFileList()
		{
		fileList=list();
		filesLeft=fileList.length;
		}

	public Dir()
		{
		super(".");
		initFileList();
		}

	public Dir(String dirName)
		{
		super(dirName);
		initFileList();
		}

   	public Dir(Dir dir, String fileName)
		{
		super(dir,fileName);
		initFileList();
		}

   	public Dir(String dirName, String fileName)
		{
		super(dirName,fileName);
		initFileList();
		}
	}

