public interface IOutputSaver
Represents an output saving service.
| Modifier and Type | Method and Description |
|---|---|
void |
save(java.lang.String path,
IOutputFile outputFile)
Saves the output file to the given path.
|
void save(java.lang.String path,
IOutputFile outputFile)
Saves the output file to the given path.
Saving into theFileStreamimplementation 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(); } }
path - Path to save the file to.outputFile - Output file.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.