public final class PossibleConversions extends ValueObject
Modifier and Type | Field and Description |
---|---|
static PossibleConversions |
NULL |
Constructor and Description |
---|
PossibleConversions(FileType source)
Creates possible conversion list for specified source file format
|
Modifier and Type | Method and Description |
---|---|
void |
add(ConversionPair pair)
Add conversion pair
|
ConversionPair |
forTarget(FileType target)
Find conversion pair in current list for target file type
|
Iterable<com.groupdocs.conversion.contracts.TargetConversion> |
getAll()
All target file types and primary/secondary flag
|
LoadOptions |
getLoadOptions()
Predefined load options which could be used to convert from current type
|
Iterable<FileType> |
getPrimary()
Primary target file types
|
Iterable<FileType> |
getSecondary()
Secondary target file types
|
FileType |
getSource()
Source file formats
|
com.groupdocs.conversion.contracts.TargetConversion |
getTargetConversion(FileType target)
Returns target conversion for specified target file type
|
com.groupdocs.conversion.contracts.TargetConversion |
getTargetConversion(String extension) |
equals, equals, hashCode, op_Equality, op_Inequality
public static final PossibleConversions NULL
public PossibleConversions(FileType source)
source
- source file typepublic LoadOptions getLoadOptions()
public Iterable<com.groupdocs.conversion.contracts.TargetConversion> getAll()
TargetConversion
public com.groupdocs.conversion.contracts.TargetConversion getTargetConversion(FileType target)
target
- target file typepublic com.groupdocs.conversion.contracts.TargetConversion getTargetConversion(String extension)
public Iterable<FileType> getPrimary()
public Iterable<FileType> getSecondary()
public void add(ConversionPair pair)
pair
- conversion pairpublic ConversionPair forTarget(FileType target)
target
- target file typepublic FileType getSource()