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<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
|
TargetConversion |
getTargetConversion(FileType target)
Returns target conversion for specified target file type
|
TargetConversion |
getTargetConversion(String extension) |
equals, equals, hashCode, op_Equality, op_Inequalitypublic static final PossibleConversions NULL
public PossibleConversions(FileType source)
source - source file typepublic LoadOptions getLoadOptions()
public Iterable<TargetConversion> getAll()
TargetConversionpublic TargetConversion getTargetConversion(FileType target)
target - target file typepublic 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()
Copyright © 2025. All rights reserved.