Package kiyut.sketsa.cookies
Interface SaveAsCookie
-
- All Superinterfaces:
org.openide.nodes.Node.Cookie
- All Known Implementing Classes:
SVGEditorSupport
public interface SaveAsCookie extends org.openide.nodes.Node.CookieCookie for SaveAs operation- Author:
- KIYUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsaveAs()Invoke saveAs operation, it is up to the implementation to provide the operation eg: open JFileChooservoidsaveAs(String path, boolean compress)Invoke saveAs operation based on the param
-
-
-
Method Detail
-
saveAs
void saveAs() throws IOExceptionInvoke saveAs operation, it is up to the implementation to provide the operation eg: open JFileChooser- Throws:
IOException- if an I/O error occured
-
saveAs
void saveAs(String path, boolean compress) throws IOException
Invoke saveAs operation based on the param- Parameters:
path- absolute pathcompress- true or false- Throws:
IOException- if an I/O error occured
-
-