ResourceSavingArgs

Inheritance: java.lang.Object

public class ResourceSavingArgs

Provides data for ResourceSaving event.

Methods

MethodDescription
getDocument()Gets the saving document.
getFileName()Gets the file name.
getKeepStreamOpen()Gets or sets a value indicating whether keep stream open.
getStream()Gets or sets the stream used to store the resource.
getUri()Gets or sets the uri to access stored resource.
setKeepStreamOpen(boolean value)Gets or sets a value indicating whether keep stream open.
setStream(OutputStream value)Gets or sets the stream used to store the resource.
setUri(String value)Gets or sets the uri to access stored resource.

getDocument()

public final Document getDocument()

Gets the saving document.

Returns: Document

getFileName()

public final String getFileName()

Gets the file name.

Returns: java.lang.String

getKeepStreamOpen()

public final boolean getKeepStreamOpen()

Gets or sets a value indicating whether keep stream open.

Returns: boolean

getStream()

public final OutputStream getStream()

Gets or sets the stream used to store the resource.

Returns: java.io.OutputStream

getUri()

public final String getUri()

Gets or sets the uri to access stored resource.

Returns: java.lang.String

setKeepStreamOpen(boolean value)

public final void setKeepStreamOpen(boolean value)

Gets or sets a value indicating whether keep stream open.

Parameters:

ParameterTypeDescription
valueboolean

setStream(OutputStream value)

public final void setStream(OutputStream value)

Gets or sets the stream used to store the resource.

Parameters:

ParameterTypeDescription
valuejava.io.OutputStream

setUri(String value)

public final void setUri(String value)

Gets or sets the uri to access stored resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String