All Packages  This Package  Class Hierarchy  Class Search  Index

Class COM.tolstoy.jconfig.GenDiskFilter
java.lang.Object
   |
   +----COM.tolstoy.jconfig.GenDiskFilter

  Summary

public class  GenDiskFilter
     extends java.lang.Object
     implements COM.tolstoy.jconfig.DiskFilter
{
          // Constructors 1
     public GenDiskFilter(int);

          // Methods 2
     public DiskObject[] getArray();
     public boolean visit(DiskObject);
}

A generic implementation of the DiskFilter interface. When the 'visit()' method is called, it saves the DiskObject passed to this method in an array. This array can be retrieved with the 'getArray()' method. See the DiskBrowser application for an example of how to use this.

Author:
Copyright (c) 1997,1998 Samizdat Productions. All Rights Reserved.




  Constructors

· GenDiskFilter

Summary  |  Top

   public GenDiskFilter(int n) 

This object will store up to 'n' DiskObjects.



  Methods

· getArray

Summary  |  Top
   public DiskObject[] getArray() 

Return the array of saved DiskObjects. May return null if no objects were stored.



· visit

Summary  |  Top
   public boolean visit(DiskObject diskObj) 
Implements:
visit in interface DiskFilter


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7