Transpiled version (5146L) is out of date.
1 | sclass ImageFileFilter extends javax.swing.filechooser.FileFilter { |
2 | settable bool allowDirectories; |
3 | |
4 | public bool accept(File f) { |
5 | if (isDirectory(f)) ret allowDirectories; |
6 | ret isImageFile(f); |
7 | } |
8 | |
9 | public S getDescription() { ret "Images"; } |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034635 |
Snippet name: | ImageFileFilter |
Eternal ID of this version: | #1034635/6 |
Text MD5: | c3734b2ac7551a969f8627a18a066082 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-24 21:18:32 |
Source code size: | 269 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 219 / 299 |
Version history: | 5 change(s) |
Referenced in: | [show references] |