136137138139140141142143
public boolean isFileSystemRoot(final File dir) { return isDrive(dir); } public boolean isDrive(final File dir) { PlatformFile ef = getPlatformFile(dir); return ef != null ? ef.isDrive() : super.isFileSystemRoot(dir); }
141142143144145146147148
PlatformFile ef = getPlatformFile(dir); return ef != null ? ef.isDrive() : super.isFileSystemRoot(dir); } public boolean isFloppyDrive(final File dir) { PlatformFile ef = getPlatformFile(dir); return ef != null ? ef.isFloppyDrive() : false; }
146147148149150151152153
PlatformFile ef = getPlatformFile(dir); return ef != null ? ef.isFloppyDrive() : false; } public boolean isHiddenFile(final File f) { PlatformFile ef = getPlatformFile(f); return ef != null ? ef.isHidden() : false; }
152153154155156157158159
return ef != null ? ef.isHidden() : false; } public boolean isComputerNode(final File dir) { PlatformFile ef = getPlatformFile(dir); return ef != null ? ef.isComputerNode() : false; }
105106107108109110111112
public String getSystemDisplayName(final File f) { if (f == null) { return null; } PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getDisplayName() : super.getSystemDisplayName(f); }
114115116117118119120121
public String getSystemTypeDescription(final File f) { if (f == null) { return null; } PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getTypeName() : super.getSystemTypeDescription(f); }
123124125126127128129130
public Icon getSystemIcon(final File f) { if (f == null) { return null; } PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getIcon() : super.getSystemIcon(f); }
128129130131132133134135
PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getIcon() : super.getSystemIcon(f); } public boolean isFileSystem(final File f) { PlatformFile ef = getPlatformFile(f); return ef != null ? ef.isFileSystem() : true; }
137138139140141142143144
142143144145146147148149