|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter jpicedt.ui.dialog.PEFileFilter
public class PEFileFilter
a concrete implementation of FileFilter for LaTeX and rel. file extensions
Constructor Summary | |
---|---|
PEFileFilter()
Construct a new empty file filter |
|
PEFileFilter(String extension)
Construct a new file filter with the given extension, e.g. |
|
PEFileFilter(String[] filters)
Construct a new file filter with the given array of extensions, e.g. |
|
PEFileFilter(String[] filters,
String description)
Construct a new file filter with the given array of extensions and the given description. |
|
PEFileFilter(String extension,
String description)
Construct a new file filter with the given extension (e.g. |
Method Summary | |
---|---|
boolean |
accept(File f)
|
void |
addExtension(String extension)
Add a new extension to the file filter |
String |
getDescription()
|
String |
getExtension(File f)
Renvoie l'extension d'un fichier, sans le point et éventuellement avec le prefixe "jpe." |
boolean |
isExtensionListInDescription()
|
void |
setDescription(String description)
Set the description string for this filter |
void |
setExtensionListInDescription(boolean b)
Set whether the list of extensions is included in the description string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PEFileFilter()
public PEFileFilter(String extension)
public PEFileFilter(String extension, String description)
public PEFileFilter(String[] filters)
public PEFileFilter(String[] filters, String description)
Method Detail |
---|
public boolean accept(File f)
accept
in class FileFilter
public String getExtension(File f)
"jpe."
. Par exemple pour "tex"
, alors
que pour "jpe.tex"
.
f
- le fichier dont on cherche l'extension
f
passé en paramètrepublic void addExtension(String extension)
public String getDescription()
getDescription
in class FileFilter
public void setDescription(String description)
public void setExtensionListInDescription(boolean b)
public boolean isExtensionListInDescription()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |