com.groupdocs.viewer.domain.options

Class FileListOptions



  • public class FileListOptions
    extends Object

    Provides options for loading the list of files.

    • Constructor Detail

      • FileListOptions

        public FileListOptions(String path)

        Initializes a new instance of the FileListOptions class.

        Parameters:
        path - The path
      • FileListOptions

        public FileListOptions(String path,
                       int sortBy,
                       int orderBy)

        Initializes a new instance of the FileListOptions class.

        Parameters:
        path - The path
        sortBy - The sort by field
        orderBy - The order by field
    • Method Detail

      • getOrderBy

        public int getOrderBy()

        The order of files ascending or descending.

        Returns:
        a int.
      • getPath

        public String getPath()

        The custom path to retrieve the files and folders.

        Returns:
        a String object.
      • getSortBy

        public int getSortBy()

        The parameter to sort by.

        Returns:
        a int.