BlinkenArea - GitList
Repositories
Blog
Wiki
Blimp
Code
Commits
Branches
Tags
Search
Tree:
3ea07c8
Branches
Tags
master
1.4.4
v.1.4.3
v0.2
v0.3
v0.4
v0.5
v0.6
v1.0
v1.1
v1.2
v1.2.1
v1.3
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.4.0
v1.4.1
v1.4.2
v1.4.4
Blimp
BlinkenFileFilter.java
Blimp v.0.4 (2004-11-15)
Christian Heimke
commited
3ea07c8
at 2011-07-15 09:16:10
BlinkenFileFilter.java
Blame
History
Raw
/* BlinkenLightsInteractiveMovieProgram * version 0.4 date 2004-11-15 * Copyright (C) 2004: Stefan Schuermans <1stein@schuermans.info> * Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html * a blinkenarea.org project * powered by eventphone.de */ import java.io.*; public class BlinkenFileFilter extends javax.swing.filechooser.FileFilter { public boolean accept( File file ) { if( file.isDirectory( ) ) return true; String fileName = file.getPath( ); return fileName.endsWith( ".blm" ) || fileName.endsWith( ".bmm" ) || fileName.endsWith( ".bml" ) || fileName.endsWith( ".bbm" ); } public String getDescription( ) { return "BlinkenLights movie files (*.blm, *.bmm, *.bml, *.bbm)"; } }