BlinkenArea - GitList
Repositories
Blog
Wiki
Blimp
Code
Commits
Branches
Tags
Search
Tree:
c1b58a7
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.1.2.1 (2006-08-01)
Christian Heimke
commited
c1b58a7
at 2011-07-15 09:18:32
BlinkenFileFilter.java
Blame
History
Raw
/* BlinkenLightsInteractiveMovieProgram * version 1.2.1 date 2006-08-01 * Copyright (C) 2004-2005: 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)"; } }