CodeAnalysis
Class ExtensionSet

java.lang.Object
  extended by CodeAnalysis.ExtensionSet

public class ExtensionSet
extends java.lang.Object


Constructor Summary
ExtensionSet(ExtensionSet set)
           
ExtensionSet(java.lang.String newname)
          Creates a new instance of ExtensionSet
 
Method Summary
 void add(Extension newExt)
           
 boolean equals(java.lang.Object obj)
           
 boolean fileMatches(java.io.File file)
           
 boolean fileMatches(java.lang.String file)
           
 int getCount()
           
 Extension getExtension(java.io.File file)
           
 java.util.Vector getExtensionVector()
           
 int getMatchingIndex(java.io.File file)
           
 java.lang.String getPropertyValue()
           
 void remove(Extension oldExt)
           
 void setPropertyValue(java.lang.String value, java.util.Vector commSets)
           
 java.lang.String showContents()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionSet

public ExtensionSet(java.lang.String newname)
Creates a new instance of ExtensionSet


ExtensionSet

public ExtensionSet(ExtensionSet set)
Method Detail

getCount

public int getCount()

getExtensionVector

public java.util.Vector getExtensionVector()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getExtension

public Extension getExtension(java.io.File file)

getMatchingIndex

public int getMatchingIndex(java.io.File file)

add

public void add(Extension newExt)

showContents

public java.lang.String showContents()

remove

public void remove(Extension oldExt)

fileMatches

public boolean fileMatches(java.io.File file)

fileMatches

public boolean fileMatches(java.lang.String file)

getPropertyValue

public java.lang.String getPropertyValue()

setPropertyValue

public void setPropertyValue(java.lang.String value,
                             java.util.Vector commSets)