103104105106107108109110
public String getSystemDisplayName(final File f) { if (f == null) { return null; } PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getDisplayName() : super.getSystemDisplayName(f); }
112113114115116117118119
public String getSystemTypeDescription(final File f) { if (f == null) { return null; } PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getTypeName() : super.getSystemTypeDescription(f); }
121122123124125126127128
public Icon getSystemIcon(final File f) { if (f == null) { return null; } PlatformFile ef = getPlatformFile(f); return ef != null ? ef.getIcon() : super.getSystemIcon(f); }
126127128129130131132133
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; }
135136137138139140141142
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); }
140141142143144145146147
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; }
145146147148149150151152
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; }
151152153154155156157158
return ef != null ? ef.isHidden() : false; } public boolean isComputerNode(final File dir) { PlatformFile ef = getPlatformFile(dir); return ef != null ? ef.isComputerNode() : false; }
105106107108109110111112
114115116117118119120121