Interface SaveAsCookie

  • All Superinterfaces:
    org.openide.nodes.Node.Cookie
    All Known Implementing Classes:
    SVGEditorSupport

    public interface SaveAsCookie
    extends org.openide.nodes.Node.Cookie
    Cookie for SaveAs operation
    Author:
    KIYUT
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void saveAs()
      Invoke saveAs operation, it is up to the implementation to provide the operation eg: open JFileChooser
      void saveAs​(String path, boolean compress)
      Invoke saveAs operation based on the param
    • Method Detail

      • saveAs

        void saveAs()
             throws IOException
        Invoke 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 path
        compress - true or false
        Throws:
        IOException - if an I/O error occured