Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public String | Returns: The name used to display this shell folderImplements abstract sun. |
public String | Returns: The executable type as a stringImplements abstract sun. |
public String | Returns: The type of shell folder as a stringImplements abstract sun. |
public ShellFolder | Returns: The shell folder linked to by this shell folder, or null if this shell folder is not a linkImplements abstract sun. |
public boolean | Returns: Whether this shell folder is marked as hiddenOverrides java. |
public boolean | Returns: Whether this shell folder is a linkImplements abstract sun. |
public File[] | Returns: An array of shell folders that are children of this shell folder object, null if this shell folder is empty.Overrides sun. |
protected Object | Returns: a java.io.File replacement object.Implements abstract sun. ShellFolder are ever serialized.
|
DefaultShellFolder | back to summary |
---|---|
pack-priv DefaultShellFolder(ShellFolder parent, File f) Create a file system shell folder from a file |
getDisplayName | back to summary |
---|---|
public String getDisplayName() Implements abstract sun.
|
getExecutableType | back to summary |
---|---|
public String getExecutableType() Implements abstract sun.
|
getFolderType | back to summary |
---|---|
public String getFolderType() Implements abstract sun.
|
getLinkLocation | back to summary |
---|---|
public ShellFolder getLinkLocation() Implements abstract sun.
|
isHidden | back to summary |
---|---|
public boolean isHidden() Overrides java. Doc from java. Tests whether the file named by this abstract pathname is a hidden
file. The exact definition of hidden is system-dependent. On
UNIX systems, a file is considered to be hidden if its name begins with
a period character (
|
isLink | back to summary |
---|---|
public boolean isLink() Implements abstract sun.
|
listFiles | back to summary |
---|---|
public File[] listFiles() Overrides sun. Doc from java. Returns an array of abstract pathnames denoting the files in the directory denoted by this abstract pathname. If this abstract pathname does not denote a directory, then this
method returns There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order. Note that the
|
writeReplace | back to summary |
---|---|
protected Object writeReplace() throws ObjectStreamException Implements abstract sun. This method is implemented to make sure that no instances
of |