
**Inheritance:**
java.lang.Object
```
public class ResourceSavingArgs
```

Provides data for ResourceSaving event.
## Methods

| Method | Description |
| --- | --- |
| [getDocument()](#getDocument--) | Gets the saving document. |
| [getFileName()](#getFileName--) | Gets the file name. |
| [getKeepStreamOpen()](#getKeepStreamOpen--) | Gets or sets a value indicating whether keep stream open. |
| [getStream()](#getStream--) | Gets or sets the stream used to store the resource. |
| [getUri()](#getUri--) | Gets or sets the uri to access stored resource. |
| [setKeepStreamOpen(boolean value)](#setKeepStreamOpen-boolean-) | Gets or sets a value indicating whether keep stream open. |
| [setStream(OutputStream value)](#setStream-java.io.OutputStream-) | Gets or sets the stream used to store the resource. |
| [setUri(String value)](#setUri-java.lang.String-) | Gets or sets the uri to access stored resource. |
### getDocument() {#getDocument--}
```
public final Document getDocument()
```


Gets the saving document.

**Returns:**
[Document](../../com.aspose.note/document)
### getFileName() {#getFileName--}
```
public final String getFileName()
```


Gets the file name.

**Returns:**
java.lang.String
### getKeepStreamOpen() {#getKeepStreamOpen--}
```
public final boolean getKeepStreamOpen()
```


Gets or sets a value indicating whether keep stream open.

**Returns:**
boolean
### getStream() {#getStream--}
```
public final OutputStream getStream()
```


Gets or sets the stream used to store the resource.

**Returns:**
java.io.OutputStream
### getUri() {#getUri--}
```
public final String getUri()
```


Gets or sets the uri to access stored resource.

**Returns:**
java.lang.String
### setKeepStreamOpen(boolean value) {#setKeepStreamOpen-boolean-}
```
public final void setKeepStreamOpen(boolean value)
```


Gets or sets a value indicating whether keep stream open.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setStream(OutputStream value) {#setStream-java.io.OutputStream-}
```
public final void setStream(OutputStream value)
```


Gets or sets the stream used to store the resource.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.io.OutputStream |  |

### setUri(String value) {#setUri-java.lang.String-}
```
public final void setUri(String value)
```


Gets or sets the uri to access stored resource.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

