public final class PagedDescriptorImport extends Object
For details on the implemented workflow see doc/overlap-pdi-workflow.uxf file.
Modifier and Type | Method and Description |
---|---|
static DescriptorComparator |
comparatorFromString(String comparatorClassName)
Create descriptor comparator from String.
|
static DescriptorGenerator |
generatorFromString(boolean verbose,
String s,
Optional<String> xmlConfig,
Optional<Integer> bitsPerPattern,
Optional<Integer> bondCount,
Optional<Integer> diameter)
Construct a
DescriptorGenerator instance from a String representation. |
static String |
generatorToString(DescriptorGenerator<?> gen)
Deprecated.
|
static void |
main(String[] args)
Main method.
|
public static DescriptorGenerator generatorFromString(boolean verbose, String s, Optional<String> xmlConfig, Optional<Integer> bitsPerPattern, Optional<Integer> bondCount, Optional<Integer> diameter)
DescriptorGenerator
instance from a String representation.
A String returned by generatorToString(com.chemaxon.descriptors.common.DescriptorGenerator)
method can be parsed by this method. Note that new DescriptorGenerator
instance is returned, so
descriptors generated by the returned instance and the serialized instance will be incompatible.
verbose
- If true print verbose messages to stderrs
- String representation, currently name of associated DescriptorParameters
class.xmlConfig
- When present pass this argument to builder's setXmlConfig(String)
.bitsPerPattern
- When present pass this argument to builder's bitsPerPattern(int)
bondCount
- When present pass this argument to builder's bondCount(int)
diameter
- When present pass this argument to builder's diameter(int)
IllegalArgumentException
- when something goes wrong.public static DescriptorComparator comparatorFromString(String comparatorClassName)
Simply dereference class name.
comparatorClassName
- Comparator to use@Deprecated public static String generatorToString(DescriptorGenerator<?> gen)
DescriptorGenerator
instance.
The returned String can be parsed with #generatorFromString(java.lang.String)
method.
gen
- Generator to serializepublic static void main(String[] args) throws FileNotFoundException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, ExecutionException
args
- Refer to help printed when passing "-h"FileNotFoundException
IOException
ClassNotFoundException
InstantiationException
IllegalAccessException
ExecutionException