com.aspose.diagram

Class StreamProviderOptions

  • java.lang.Object
    • com.aspose.diagram.StreamProviderOptions
public class StreamProviderOptions 
extends java.lang.Object

Represents the stream options.

Constructor Summary
 
Property Getters/Setters Summary
voidsetCustomPath(java.lang.String value)
The user custom path(URL) saved in generated html file for the referred source. If not defined by user, DefaultPath will be used. For example, the sheet data will be saved by user to d:/sheet001.htm, the url used in the main html file should be "d:/sheet001.htm" or other valid relative path that can be accessed by the main html file.
java.lang.StringgetDefaultPath()
The default path(URL) saved in generated html file for the referred source. For example, the sheet data saved in xxx_files/sheet001.htm, the url used in the main html file should be like "src="xxx_files/sheet001.htm""
java.io.OutputStreamgetStream()
void
setStream(java.io.OutputStreamvalue)
           Gets/Sets the output stream to write saved data
 

    • Constructor Detail

      • StreamProviderOptions

        public StreamProviderOptions()
    • Property Getters/Setters Detail

      • getDefaultPath

        public java.lang.String getDefaultPath()
        
        The default path(URL) saved in generated html file for the referred source. For example, the sheet data saved in xxx_files/sheet001.htm, the url used in the main html file should be like "src="xxx_files/sheet001.htm""
      • setCustomPath

        public void setCustomPath(java.lang.String value)
        
        The user custom path(URL) saved in generated html file for the referred source. If not defined by user, DefaultPath will be used. For example, the sheet data will be saved by user to d:/sheet001.htm, the url used in the main html file should be "d:/sheet001.htm" or other valid relative path that can be accessed by the main html file.
      • getStream/setStream

        public java.io.OutputStream getStream() / public void setStream(java.io.OutputStream value)
        
        Gets/Sets the output stream to write saved data