# FileIterator

## Extends

- `FileIterator`

### getBook()

```ts
getBook(): Book;
```

Gets the Book that originate the iterator

#### Returns

`Book`

#### Inherited from

```ts
Bkper.FileIterator.getBook
```

***

### getContinuationToken()

```ts
getContinuationToken(): string;
```

Gets a token that can be used to resume this iteration at a later time.

#### Returns

`string`

#### Inherited from

```ts
Bkper.FileIterator.getContinuationToken
```

***

### hasNext()

```ts
hasNext(): boolean;
```

Determines whether calling next() will return a file.

#### Returns

`boolean`

#### Inherited from

```ts
Bkper.FileIterator.hasNext
```

***

### next()

```ts
next(): File;
```

Gets the next file in the collection of files.

#### Returns

`File`

#### Inherited from

```ts
Bkper.FileIterator.next
```

***

### setContinuationToken()

```ts
setContinuationToken(continuationToken): void;
```

Sets a continuation token from previous paused iteration.

#### Parameters

| Parameter | Type |
| :------ | :------ |
| `continuationToken` | `string` |

#### Returns

`void`

#### Inherited from

```ts
Bkper.FileIterator.setContinuationToken
```
