com.groupdocs.search.results

Class DocumentInfo



  • public class DocumentInfo
    extends Object

    Represents a descriptor for an indexed document.

    • Constructor Detail

      • DocumentInfo

        protected DocumentInfo(String filePath,
                    FileType fileType,
                    String[] innerPathParts,
                    int[] partIds)

        Initializes a new instance of the DocumentInfo class.

        Parameters:
        filePath - The file path.
        fileType - The file type
        innerPathParts - The path parts.
        partIds - The part IDs.
    • Method Detail

      • toString

        public String toString()

        Returns a System.String that represents the current DocumentInfo.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents the current DocumentInfo.
      • getFilePath

        public final String getFilePath()

        Gets the file path.

        Returns:
        The file path.
      • getFileType

        public final FileType getFileType()

        Gets the file type.

        Returns:
        The file type.
      • getFormatFamily

        public final FormatFamily getFormatFamily()

        Gets the document format family.

        Returns:
        The document format family.
      • getInnerPath

        public final String getInnerPath()

        Gets the inner path for container document item.

        Returns:
        The inner path.
      • getInnerPathParts

        protected static final String[] getInnerPathParts(DocumentInfo info)
      • getPartIds

        protected static final int[] getPartIds(DocumentInfo info)