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.
getStream()Gets or sets the stream used to store the resource.
setStream(OutputStream value)Gets or sets the stream used to store the resource.
getKeepStreamOpen()Gets or sets a value indicating whether keep stream open.
setKeepStreamOpen(boolean value)Gets or sets a value indicating whether keep stream open.
getUri()Gets or sets the uri to access stored 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

getStream()

public final OutputStream getStream()

Gets or sets the stream used to store the resource.

Returns: java.io.OutputStream

setStream(OutputStream value)

public final void setStream(OutputStream value)

Gets or sets the stream used to store the resource.

Parameters:

ParameterTypeDescription
valuejava.io.OutputStream

getKeepStreamOpen()

public final boolean getKeepStreamOpen()

Gets or sets a value indicating whether keep stream open.

Returns: boolean

setKeepStreamOpen(boolean value)

public final void setKeepStreamOpen(boolean value)

Gets or sets a value indicating whether keep stream open.

Parameters:

ParameterTypeDescription
valueboolean

getUri()

public final String getUri()

Gets or sets the uri to access stored resource.

Returns: java.lang.String

setUri(String value)

public final void setUri(String value)

Gets or sets the uri to access stored resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String