public interface SaveableFilter
Modifier and Type | Method and Description |
---|---|
javax.swing.filechooser.FileNameExtensionFilter |
getPreferredFileType()
Specify the preferred filetype for files saving this Filter's data set.
|
boolean |
isSaveable()
Indicate if this Filter is saveable.
|
void |
saveFilterToFile(java.io.BufferedOutputStream out)
Save the contents of the Filter to the specified DataOutput object.
|
boolean isSaveable()
javax.swing.filechooser.FileNameExtensionFilter getPreferredFileType()
void saveFilterToFile(java.io.BufferedOutputStream out) throws java.io.IOException
out
- DataOutput implementing object for writing the file contents in its preferred formatjava.io.IOException
- if the write failed for some reason