public class VirtualFileSystemDescriptor
extends java.lang.Object
implements java.io.Serializable
Describes a VirtualFileSystem.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
static java.lang.String[] |
EMPTY_STRING_ARRAY |
Constructor and Description |
---|
VirtualFileSystemDescriptor(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
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
|
public static java.lang.String CLASS_VERSION
public static final java.lang.String[] EMPTY_STRING_ARRAY
public VirtualFileSystemDescriptor(java.lang.String name)
public void setName(java.lang.String pName)
public java.lang.String getName()
public void setDisplayName(java.lang.String pDisplayName)
public java.lang.String getDisplayName()
public void setReadOnly(boolean pReadOnly)
public boolean isReadOnly()
public java.lang.Object getAttribute(java.lang.String key)
public void setAttribute(java.lang.String key, java.lang.Object value)
public java.util.Enumeration listAttributeNames()
protected void setAttributeDictionary(java.util.Dictionary dict)
public void setAllFileTypes(java.lang.String[] strings)
strings
- all the available file types for this VFSpublic java.lang.String[] getAllFileTypes()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object