com.groupdocs.conversion.contracts

Class ConversionPair

    • Method Detail

      • createPrimary

        public static ConversionPair createPrimary(FileType source,
                                   FileType target)
        Creates primary conversion pair
        Parameters:
        source - source
        target - target
        Returns:
        ConversionPair
      • createPrimary

        public static List<ConversionPair> createPrimary(List<? extends FileType> sources,
                                         List<? extends FileType> targets)
        Creates primary conversion pairs
        Parameters:
        sources - sources file type
        targets - targets file type
        Returns:
        primary conversion pairs
      • createSecondary

        public static ConversionPair createSecondary(FileType source,
                                     FileType target)
        Creates secondary conversion pair
        Parameters:
        source - source file type
        target - target file type
        Returns:
        secondary conversion pair
      • createSecondary

        public static List<ConversionPair> createSecondary(Iterable<? extends FileType> sources,
                                           Iterable<? extends FileType> targets)
        Creates secondary conversion pairs
        Parameters:
        sources - sources file type
        targets - targets file type
        Returns:
        secondary conversion pairs
      • getEqualityComponents

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerable getEqualityComponents()
        Equality components
        Returns:
        equality components
      • toString

        public String toString()
        Conversion pair string representation
        Overrides:
        toString in class Object
        Returns:
        string
      • getSource

        public FileType getSource()
        Source file format
        Returns:
        source file format
      • getTarget

        public FileType getTarget()
        Target file format
        Returns:
        target file format
      • isPrimary

        public boolean isPrimary()
        Primary conversion pair or not
        Returns:
        true if primary, else if not