Foxit PDF SDK
com.foxit.sdk.fts.DocumentsSource Class Reference
Inheritance diagram for com.foxit.sdk.fts.DocumentsSource:
com.foxit.sdk.common.Base

Public Member Functions

 DocumentsSource (String directory) throws com.foxit.sdk.PDFException
 Constructor, with a directory. More...
 
 DocumentsSource (DocumentsSource other)
 Constructor, with another documents source object. More...
 
synchronized void delete ()
 Clean up related resources immediately. More...
 
boolean isEmpty ()
 Check whether current object is empty or not. More...
 
- Public Member Functions inherited from com.foxit.sdk.common.Base
synchronized void delete ()
 Clean up related resources immediately. 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]directoryA 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]otherAnother documents source object.

Member Function Documentation

◆ delete()

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

Clean up related resources immediately.

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

◆ 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.