org.favabeans.file
Class IdentityDirectory

java.lang.Object
  |
  +--org.favabeans.file.IdentityFile
        |
        +--org.favabeans.file.IdentityDirectory
All Implemented Interfaces:
Collection, Faceted

public class IdentityDirectory
extends IdentityFile
implements Collection


Method Summary
 boolean add(Object x)
           
 boolean addAll(Collection c)
           
 boolean addAll(int i, Collection c)
           
 void clear()
           
 boolean contains(Object x)
           
 boolean containsAll(Collection c)
           
 boolean containsName(String filename)
           
 void delete()
          Delete this file.
 IdentityFile findByName(String filename)
           
 Facet getFacet(Type type)
          Obtain a Facet of the requested Type for this object.
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object x)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[] a)
           
 
Methods inherited from class org.favabeans.file.IdentityFile
addFileListener, addPropertyChangeListener, addPropertyChangeListener, equals, exists, fireFileContentsChanged, fireFileDeleted, firePropertyChange, fireStateChanged, getFileRepresentation, getLastModified, getName, getParent, getPath, hashCode, isHidden, isReadable, isWriteable, moveTo, removeFileListener, removePropertyChangeListener, removePropertyChangeListener, setName, setParent, toString, updateFileRepresentation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Method Detail

delete

public void delete()
            throws FileOperationException
Description copied from class: IdentityFile
Delete this file.
Overrides:
delete in class IdentityFile
Following copied from class: org.favabeans.file.IdentityFile
Throws:
FileOperationException - if the file could not be deleted.
RuntimeException - if an irrecoverable logic error occurred.

getFacet

public Facet getFacet(Type type)
Description copied from interface: Faceted
Obtain a Facet of the requested Type for this object.
Overrides:
getFacet in class IdentityFile
Following copied from interface: org.favabeans.base.Faceted
Parameters:
type - the Type of Facet requested for this object.
Returns:
a Facet, or null if none can be created as requested.

containsName

public boolean containsName(String filename)

findByName

public IdentityFile findByName(String filename)

size

public int size()
Specified by:
size in interface Collection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection

contains

public boolean contains(Object x)
Specified by:
contains in interface Collection

iterator

public Iterator iterator()
Specified by:
iterator in interface Collection

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection

toArray

public Object[] toArray(Object[] a)
Specified by:
toArray in interface Collection

add

public boolean add(Object x)
Specified by:
add in interface Collection

remove

public boolean remove(Object x)
Specified by:
remove in interface Collection

containsAll

public boolean containsAll(Collection c)
Specified by:
containsAll in interface Collection

addAll

public boolean addAll(Collection c)
Specified by:
addAll in interface Collection

addAll

public boolean addAll(int i,
                      Collection c)

removeAll

public boolean removeAll(Collection c)
Specified by:
removeAll in interface Collection

retainAll

public boolean retainAll(Collection c)
Specified by:
retainAll in interface Collection

clear

public void clear()
Specified by:
clear in interface Collection


Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.