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

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