atg.vfs
Class VirtualFileSystemDescriptor

java.lang.Object
  extended by atg.vfs.VirtualFileSystemDescriptor
All Implemented Interfaces:
java.io.Serializable

public class VirtualFileSystemDescriptor
extends java.lang.Object
implements java.io.Serializable

Describes a VirtualFileSystem.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
static java.lang.String[] EMPTY_STRING_ARRAY
           
 
Constructor Summary
VirtualFileSystemDescriptor(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equality test
 java.lang.String[] getAllFileTypes()
          Return all the available file types for the VFS.
 java.lang.Object getAttribute(java.lang.String key)
          Return an attribute of this file system
 java.lang.String getDisplayName()
          Returns property DisplayName
 java.lang.String getName()
          Returns property Name
 int hashCode()
          Hashcode
 boolean isReadOnly()
          Returns property ReadOnly
 java.util.Enumeration listAttributeNames()
          Set an attribute of this file system
 void setAllFileTypes(java.lang.String[] strings)
           
 void setAttribute(java.lang.String key, java.lang.Object value)
          Set an attribute of this file system
protected  void setAttributeDictionary(java.util.Dictionary dict)
          Set the attributes of this file system as a dictionary
 void setDisplayName(java.lang.String pDisplayName)
          Sets property DisplayName
 void setName(java.lang.String pName)
          Sets property Name
 void setReadOnly(boolean pReadOnly)
          Sets property ReadOnly
 java.lang.String toString()
          Return a user readable string -- the display name, that is
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION

EMPTY_STRING_ARRAY

public static final java.lang.String[] EMPTY_STRING_ARRAY
Constructor Detail

VirtualFileSystemDescriptor

public VirtualFileSystemDescriptor(java.lang.String name)
Method Detail

setName

public void setName(java.lang.String pName)
Sets property Name


getName

public java.lang.String getName()
Returns property Name


setDisplayName

public void setDisplayName(java.lang.String pDisplayName)
Sets property DisplayName


getDisplayName

public java.lang.String getDisplayName()
Returns property DisplayName


setReadOnly

public void setReadOnly(boolean pReadOnly)
Sets property ReadOnly


isReadOnly

public boolean isReadOnly()
Returns property ReadOnly


getAttribute

public java.lang.Object getAttribute(java.lang.String key)
Return an attribute of this file system


setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.Object value)
Set an attribute of this file system


listAttributeNames

public java.util.Enumeration listAttributeNames()
Set an attribute of this file system


setAttributeDictionary

protected void setAttributeDictionary(java.util.Dictionary dict)
Set the attributes of this file system as a dictionary


setAllFileTypes

public void setAllFileTypes(java.lang.String[] strings)
Parameters:
strings - all the available file types for this VFS

getAllFileTypes

public java.lang.String[] getAllFileTypes()
Return all the available file types for the VFS.


toString

public java.lang.String toString()
Return a user readable string -- the display name, that is

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Hashcode

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Equality test

Overrides:
equals in class java.lang.Object