Foxit PDF SDK

Public Member Functions | List of all members
com.foxit.sdk.fts.DocumentsSource Class Reference
Inheritance diagram for com.foxit.sdk.fts.DocumentsSource:

## Public Member Functions
| DocumentsSource (DocumentsSource other)
| Constructor, with another documents source object. More...
| DocumentsSource (String directory) throws com.foxit.sdk.PDFException
| Constructor, with a directory. More...
synchronized void | delete ()
| Clean up related C++ resources immediately. More...
boolean | isEmpty ()
| Check whether current object is empty or not. More...

## Detailed Description

This class is used to represent a specified directory, which contains PDF files and user wants to search among these PDF files.

## Constructor & Destructor Documentation

## ◆ DocumentsSource() [1/2]

com.foxit.sdk.fts.DocumentsSource.DocumentsSource | ( | String | directory | ) | throws com.foxit.sdk.PDFException

Constructor, with a directory.

Parameters

  [in] | directory | A path string that represents a directory.

## ◆ DocumentsSource() [2/2]

com.foxit.sdk.fts.DocumentsSource.DocumentsSource | ( | DocumentsSource | other | ) |

Constructor, with another documents source object.

Parameters

  [in] | other | Another documents source object.

## Member Function Documentation

## ◆ delete()

synchronized void com.foxit.sdk.fts.DocumentsSource.delete | ( |  | ) |

Clean up related C++ resources immediately.

Returns
  None.

Note
  Once this function is called, current object cannot be used anymore.

Reimplemented from com.foxit.sdk.common.Base.

## ◆ isEmpty()

boolean com.foxit.sdk.fts.DocumentsSource.isEmpty | ( |  | ) |

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
  true means current object is empty, while false means not.