Package org.citydb.plugin.cli
Class CliOptionBuilder
- java.lang.Object
-
- org.citydb.plugin.cli.CliOptionBuilder
-
public class CliOptionBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CliOptionBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BoundingBox
boundingBox(java.lang.String bbox, picocli.CommandLine commandLine)
static CounterFilter
counterFilter(java.lang.Long count, java.lang.Long startIndex, picocli.CommandLine commandLine)
static DatabaseIdOperator
databaseIdOperator(java.lang.Long[] ids, picocli.CommandLine commandLine)
static FeatureTypeFilter
featureTypeFilter(java.lang.String[] typeNames, javax.xml.namespace.NamespaceContext namespaceContext, picocli.CommandLine commandLine)
static java.util.List<java.nio.file.Path>
inputFiles(java.lang.String[] files, java.nio.file.Path baseDir)
static javax.xml.namespace.NamespaceContext
namespaceContext(java.util.Map<java.lang.String,java.lang.String> namespaces)
static ResourceIdOperator
resourceIdOperator(java.lang.String[] ids)
static SelectOperator
selectOperator(java.lang.String select)
static ThreadPool
threadPool(java.lang.String threads, picocli.CommandLine commandLine)
-
-
-
Method Detail
-
inputFiles
public static java.util.List<java.nio.file.Path> inputFiles(java.lang.String[] files, java.nio.file.Path baseDir) throws java.io.IOException
- Throws:
java.io.IOException
-
boundingBox
public static BoundingBox boundingBox(java.lang.String bbox, picocli.CommandLine commandLine)
-
namespaceContext
public static javax.xml.namespace.NamespaceContext namespaceContext(java.util.Map<java.lang.String,java.lang.String> namespaces)
-
featureTypeFilter
public static FeatureTypeFilter featureTypeFilter(java.lang.String[] typeNames, javax.xml.namespace.NamespaceContext namespaceContext, picocli.CommandLine commandLine)
-
resourceIdOperator
public static ResourceIdOperator resourceIdOperator(java.lang.String[] ids)
-
databaseIdOperator
public static DatabaseIdOperator databaseIdOperator(java.lang.Long[] ids, picocli.CommandLine commandLine)
-
threadPool
public static ThreadPool threadPool(java.lang.String threads, picocli.CommandLine commandLine)
-
selectOperator
public static SelectOperator selectOperator(java.lang.String select)
-
counterFilter
public static CounterFilter counterFilter(java.lang.Long count, java.lang.Long startIndex, picocli.CommandLine commandLine)
-
-