public class ConversionPair extends ValueObject
Modifier and Type | Field and Description |
---|---|
static ConversionPair |
NULL |
Modifier and Type | Method and Description |
---|---|
static ConversionPair |
createPrimary(FileType source,
FileType target)
Creates primary conversion pair
|
static List<ConversionPair> |
createPrimary(List<? extends FileType> sources,
List<? extends FileType> targets)
Creates primary conversion pairs
|
static List<ConversionPair> |
createPrimary(List<? extends FileType> sources,
List<? extends FileType> targets,
com.groupdocs.conversion.contracts.Pair<FileType,FileType>[] excludedPairs) |
static ConversionPair |
createSecondary(FileType source,
FileType target)
Creates secondary conversion pair
|
static List<ConversionPair> |
createSecondary(Iterable<? extends FileType> sources,
Iterable<? extends FileType> targets)
Creates secondary conversion pairs
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
getEqualityComponents()
Equality components
|
FileType |
getSource()
Source file format
|
FileType |
getTarget()
Target file format
|
boolean |
isPrimary()
Primary conversion pair or not
|
String |
toString()
Conversion pair string representation
|
equals, equals, hashCode, op_Equality, op_Inequality
public static final ConversionPair NULL
public static ConversionPair createPrimary(FileType source, FileType target)
source
- sourcetarget
- targetpublic static List<ConversionPair> createPrimary(List<? extends FileType> sources, List<? extends FileType> targets)
sources
- sources file typetargets
- targets file typepublic static List<ConversionPair> createPrimary(List<? extends FileType> sources, List<? extends FileType> targets, com.groupdocs.conversion.contracts.Pair<FileType,FileType>[] excludedPairs)
public static ConversionPair createSecondary(FileType source, FileType target)
source
- source file typetarget
- target file typepublic static List<ConversionPair> createSecondary(Iterable<? extends FileType> sources, Iterable<? extends FileType> targets)
sources
- sources file typetargets
- targets file typepublic com.aspose.ms.System.Collections.Generic.IGenericEnumerable getEqualityComponents()
public String toString()
public FileType getSource()
public FileType getTarget()
public boolean isPrimary()