| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | getDisplayName()
Implements abstract sun. Returns: The name used to display this shell folder |
| public String | getExecutableType()
Implements abstract sun. Returns: The executable type as a string |
| public String | getFolderType()
Implements abstract sun. Returns: The type of shell folder as a string |
| public ShellFolder | getLinkLocation()
Implements abstract sun. Returns: The shell folder linked to by this shell folder, or null if this shell folder is not a link |
| public boolean | Returns: Whether this shell folder is marked as hiddenOverrides java. Tests whether the file located by this abstract pathname is a hidden file. |
| public boolean | isLink()
Implements abstract sun. Returns: Whether this shell folder is a link |
| 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. Returns an array of abstract pathnames locating the files in the directory located by this abstract pathname. |
| protected Object | Returns: a java.io.File replacement object.Implements abstract sun. This method is implemented to make sure that no instances
of |
| 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 located 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 locating the files in the directory located by this abstract pathname. If this abstract pathname does not locate 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 | |