All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.StreamProviderOptions.html Maven / Gradle / Ivy






StreamProviderOptions




com.aspose.cells
Class StreamProviderOptions

java.lang.Object
    extended by com.aspose.cells.StreamProviderOptions

public class StreamProviderOptions 
extends java.lang.Object

Represents the stream options.


Constructor Summary
StreamProviderOptions(int loadingType, java.lang.String defaultPath)
           Initializes a new instance of the StreamProviderOptions class.
StreamProviderOptions()
           Initializes a new instance of the StreamProviderOptions class.
 
Property Getters/Setters Summary
voidsetCustomPath(java.lang.String)
           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""
intgetResourceLoadingType()
voidsetResourceLoadingType(int)
           Gets and sets the type of loading resource. The value of the property is ResourceLoadingType integer constant.
java.io.OutputStreamgetStream()
voidsetStream(java.io.OutputStream)
           Gets/Sets the output stream to write saved data
 

Constructor Detail

StreamProviderOptions

public StreamProviderOptions(int loadingType, java.lang.String defaultPath)
Initializes a new instance of the StreamProviderOptions class.
Parameters:
loadingType - A ResourceLoadingType value. The type to load the linked resource.
defaultPath - The default path.

StreamProviderOptions

public StreamProviderOptions()
Initializes a new instance of the StreamProviderOptions class.

Property Getters/Setters Detail

getResourceLoadingType/setResourceLoadingType

public int getResourceLoadingType() / public void setResourceLoadingType(int value)
Gets and sets the type of loading resource. The value of the property is ResourceLoadingType integer constant.

setResourceLoadingType

public void setResourceLoadingType(int value)
Gets and sets the type of loading resource. The value of the property is ResourceLoadingType integer constant.

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

setStream

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

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy