com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IOutputSaver



  • public interface IOutputSaver

    Represents an output saving service.

    • Method Detail

      • save

        void save(java.lang.String path,
                  IOutputFile outputFile)

        Saves the output file to the given path.


        Saving into the FileStream implementation example:
         
         public void save(String path, IOutputFile outputFile)
         {
             FileOutputStream stream = new FileOutputStream(path);
             try {
                 outputFile.write(stream);
             } catch (IOException e) {
             } finally {
                 if (stream != null) stream.close();
             }
         }
         
        Parameters:
        path - Path to save the file to.
        outputFile - Output file.