|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
jdbreport.view.ReportFileFilter
public class ReportFileFilter
| Constructor Summary | |
|---|---|
ReportFileFilter(FileType fileType)
|
|
| Method Summary | |
|---|---|
boolean |
accept(File f)
|
void |
addExtension(String extension)
Adds a filetype "dot" extension to filter against. |
String |
getDescription()
Returns the human readable description of this filter. |
String |
getExtension(File f)
Returns the extension portion of the file's name . |
FileType |
getFileType()
|
ReportReader |
getReader()
|
ReportWriter |
getWriter()
|
boolean |
isExtensionListInDescription()
|
void |
setDescription(String description)
Sets the human readable description of this filter. |
void |
setExtensionListInDescription(boolean b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportFileFilter(FileType fileType)
| Method Detail |
|---|
public boolean accept(File f)
accept in class FileFilterpublic String getExtension(File f)
public void addExtension(String extension)
public String getDescription()
getDescription in class FileFilterpublic void setDescription(String description)
public void setExtensionListInDescription(boolean b)
public boolean isExtensionListInDescription()
public ReportReader getReader()
public ReportWriter getWriter()
public FileType getFileType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||