Modifier and Type | Method and Description |
---|---|
TypedKeyValue<FieldDef,DataSet> |
DataSet.addField(String fieldName,
int fieldType,
String nativeType,
Object value,
String... separator)
Add the field and the value to the data set.
|
TypedKeyValue<FieldDef,DataSet> |
DataSet.addField(String fieldName,
Object value,
String... separator)
Add the field and the value to the data set.
|
TypedKeyValue<FieldDef,DataSet> |
DataSet.addFieldWithType(String fieldName,
int fieldType,
String nativeType,
Object value)
Add the field and the value to the data set.
|
TypedKeyValue<FieldDef,DataSet> |
DataSet.findField(String fieldName,
String... separator)
Find field.
|
TypedKeyValue<FieldDef,Object> |
DataSet.getFieldValueWithNested(DataSetRecord record,
String fieldName)
Gets the field value from the nested dataset.
|
TypedKeyValue<FieldDef,Object> |
DataSet.getFieldValueWithNested(int row,
String fieldName)
Gets the field value from the nested dataset.
|
static TypedKeyValue<String,String> |
CommonEtlUtils.getFrom(String sql)
Gets the from and modified SQL statement without from.
|
TypedKeyValue<Point,Point> |
Variable.getLocation(String key)
Gets the location of the collection artifact such UI items.
|
TypedKeyValue<FieldDef,Object> |
DataSet.getNullableFieldValueWithNested(DataSetRecord record,
String fieldName)
Gets the field value from the nested dataset.
|
TypedKeyValue<FieldDef,Object> |
DataSet.getNullableFieldValueWithNested(int row,
String fieldName)
Gets the field value from the nested dataset.
|
TypedKeyValue<String,String> |
IoProcessorCallable.getUrlPath()
Gets the url and path.
|
TypedKeyValue<List<String>,List<String>> |
DataSet.updateFromMetadata(LinkedHashMap<String,FieldDef> metadata,
boolean source,
boolean dest,
boolean create,
boolean alter,
boolean orderAndType,
boolean typeOnly,
ListHashMap<String,Variable> variables)
Update fields from metadata.
|
Modifier and Type | Method and Description |
---|---|
Map<String,TypedKeyValue<String,String>> |
DataSet.getDisplayFunctions()
Gets the display functions.
|
Map<String,TypedKeyValue<Point,Point>> |
Variable.getLocations()
The the locations of the collection artifacts such UI items.
|
static List<TypedKeyValue<Integer,FieldDef>> |
CommonEtlUtils.reorderFields(DataSetFields fields,
String pattern)
Reorder fields according to the pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
IoProcessorCallable.configure(Alias alias,
TypedKeyValue<String,String> urlPath,
IoProcessor ioProcessor)
Configure callable.
|
static DataSet |
CommonEtlUtils.executeSql(DataSet dataSet,
String sql,
TypedKeyValue<String,Object>... args)
Execute sql on any data set.
|
static DataSet |
CommonEtlUtils.executeSql(String sql,
TypedKeyValue<String,Object>[] args,
DataSet... dataSets)
Execute sql on arrays of data sets.
|
static Object |
CommonEtlUtils.getFieldValue(DataSet dataSet,
String sql,
String fieldName,
TypedKeyValue<String,Object>... args)
Execute sql on any data set and return value of the given field.
|
static DataSet |
CommonEtlUtils.getSelectedDataSet(DataSet dataSet,
TypedKeyValue<int[],int[]> selected)
Gets the selected data set.
|
static DataSet |
CommonEtlUtils.join(DataSet drivingDataSet,
String keys,
String include,
String exclude,
TypedKeyValue<DataSet,Boolean>... dataSetsToJoin)
Joins data sets.
|
void |
Variable.setLocation(boolean doSet,
String key,
TypedKeyValue<Point,Point> location)
Set the location for the artifacts such UI items.
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.setDisplayFunctions(Map<String,TypedKeyValue<String,String>> functions)
Sets the display functions.
|
void |
DataSetData.sort(List<TypedKeyValue<Integer,DataSetData.SortType>> orderBy,
List<FieldDef> fields)
Sorts data using given order by list with field indexes.
|
void |
DataSet.sortByFieldIndex(List<TypedKeyValue<Integer,DataSetData.SortType>> orderBy)
Sorts data using given order by list with field indexes.
|
void |
DataSet.sortByFieldName(List<TypedKeyValue<String,DataSetData.SortType>> orderBy)
Sorts data using given order by list with field names.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<Boolean,String> |
FileConnectorParams.getFileNameIfFileSystem(String fileName,
String ownerName,
Alias alias,
IoProcessor ioProcessor)
Gets the file name if IO processor is a file system.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileConnectorParams.deserializeToInputStream(IoProcessorCallable ioProcessorCallable,
String fileName,
Alias alias,
TypedKeyValue<String,String> fileNameToRead)
Deserialize data into inputstream.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<String,String> |
ExcelConnectorParams.getFileAndObjectName(String name)
Gets the file and object name.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<Long,Long> |
XmlSplitProcessor.split(IoProcessor destination,
File file,
Map<String,String> paths,
String destinationDir,
int max,
boolean includeHeader)
Split the XML file to files on specified repeating elements.
|
TypedKeyValue<Long,Long> |
XmlSplitProcessor.split(IoProcessor destination,
InputStream stream,
Map<String,com.toolsverse.etl.connector.xml.XmlSplitProcessor.RepeatedElement> paths,
int max,
boolean includeHeader)
Split the XML input stream to files on specified repeating elements.
|
TypedKeyValue<Long,Long> |
XmlSplitProcessor.split(IoProcessor destination,
InputStream stream,
String fileName,
Map<String,String> paths,
String destinationDir,
int max,
boolean includeHeader)
Split the XML input stream to files on specified repeating elements
|
TypedKeyValue<Long,Long> |
XmlSplitProcessor.split(IoProcessor destination,
String file,
Map<String,String> paths,
String destinationDir,
int max,
boolean includeHeader)
Split the XML file to files on specified repeating elements
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<String,EtlConfig.CREATE_CONFIG_ERRORS> |
EtlConfig.createConfig(String fileName,
String scriptName,
Map<String,Alias> connections,
Map<String,String> vars,
int action,
boolean override)
Create ETL configuration file.
|
TypedKeyValue<String,EtlConfig.CREATE_CONFIG_ERRORS> |
EtlConfig.createConfig(String fileName,
String scriptName,
Map<String,Alias> connections,
Map<String,String> vars,
int action,
boolean override,
String scenarioXml)
Create ETL configuration file.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<Object,String> |
BaseMetrics.getFieldValue(String name)
Gets the field value.
|
TypedKeyValue<Point,Point> |
Task.getLocation(String key)
Gets the location of the collection artifact such as sources, destinations, variables, etc.
|
TypedKeyValue<Point,Point> |
Source.getLocation(String key) |
TypedKeyValue<Point,Point> |
Scenario.getLocation(String key)
Gets the location of the collection artifact such as sources,
destinations, variables, etc.
|
TypedKeyValue<Point,Point> |
Destination.getLocation(String key) |
TypedKeyValue<Point,Point> |
Block.getLocation(String key)
Gets the location of the collection artifact such as tasks, variables, etc.
|
TypedKeyValue<String,String> |
EtlMetricsTracker.prepareTrackingExtract(Scenario scenario,
Source source,
Destination destination,
String sql,
EtlConfig config)
Prepare tracking extract.
|
Modifier and Type | Method and Description |
---|---|
Map<String,TypedKeyValue<Point,Point>> |
Task.getLocations()
The the locations of the collection artifacts such as sources, destinations, etc.
|
Map<String,TypedKeyValue<Point,Point>> |
Source.getLocations() |
Map<String,TypedKeyValue<Point,Point>> |
Scenario.getLocations()
The the locations of the collection artifacts such as sources,
destinations, etc.
|
Map<String,TypedKeyValue<Point,Point>> |
Destination.getLocations() |
Map<String,TypedKeyValue<Point,Point>> |
Block.getLocations()
The the locations of the collection artifacts such as tasks, variables, etc.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Extractor.lookup(EtlConfig config,
Scenario scenario,
String connectionName,
String name,
String fieldName,
String sql,
TypedKeyValue<String,Object>... args)
Extract data set, execute provided SQL statement and return the value of
the provided field.This method is thread safe.
|
static DataSet |
Extractor.lookup(EtlConfig config,
Scenario scenario,
String connectionName,
String name,
String sql,
TypedKeyValue<String,Object>... args)
Extract data set, and optionally execute provided SQL statement.
|
static Object |
Extractor.lookupNoCache(EtlConfig config,
Scenario scenario,
String connectionName,
String name,
String fieldName,
String sql,
TypedKeyValue<String,Object>... args)
Extract data set, execute provided SQL statement and return the value of
the provided field.
|
static DataSet |
Extractor.lookupNoCache(EtlConfig config,
Scenario scenario,
String connectionName,
String name,
String sql,
TypedKeyValue<String,Object>... args)
Extract data set, and optionally execute provided SQL statement.
|
void |
Task.setLocation(boolean doSet,
String key,
TypedKeyValue<Point,Point> location)
Set the location for the artifacts such as variables, etc.
|
void |
Source.setLocation(boolean doSet,
String key,
TypedKeyValue<Point,Point> location) |
void |
Scenario.setLocation(boolean doSet,
String key,
TypedKeyValue<Point,Point> location)
Set the location for the artifacts such as sources, destinations, etc.
|
void |
Destination.setLocation(boolean doSet,
String key,
TypedKeyValue<Point,Point> location) |
void |
Block.setLocation(boolean doSet,
String key,
TypedKeyValue<Point,Point> location)
Set the location for the artifacts such as tasks, variables, etc.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<String,String> |
Driver.getConnectionFile(Alias alias)
Gets the connection aliases file for the database, for example
tnsnames.ora.
|
TypedKeyValue<String,String> |
AbstractDriver.getConnectionFile(Alias alias) |
TypedKeyValue<String,Integer> |
SimpleDriver.getDestinationInfo(String sql) |
TypedKeyValue<String,Integer> |
Driver.getDestinationInfo(String sql)
Gets the destination name and exception handler type from the sql.
|
TypedKeyValue<String,Integer> |
CallableDriver.getDestinationInfo(String sql) |
Modifier and Type | Method and Description |
---|---|
String |
Driver.getDeleteStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key)
Gets the delete statement.
|
String |
AbstractDriver.getDeleteStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
String |
Driver.getInsertStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName)
Gets the insert statement.
|
String |
AbstractDriver.getInsertStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName) |
String |
SimpleDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
String |
Driver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key)
Gets the merge statement.
|
String |
AbstractDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
String |
Driver.getSelectStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName)
Gets the select statement.
|
String |
AbstractDriver.getSelectStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName) |
String |
Driver.getUpdateStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key)
Gets the update statement.
|
String |
AbstractDriver.getUpdateStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
Db2Driver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
InformixDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
MySqlDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<String,String> |
OracleDriver.getConnectionFile(Alias alias) |
Modifier and Type | Method and Description |
---|---|
String |
OracleDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
RedshiftDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
String |
PostgresDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
SnowflakeDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
MsSqlDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
String |
AzureSynapseAnalyticsDriver.getMergeStatement(TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String tableName,
String key) |
Modifier and Type | Method and Description |
---|---|
List<TypedKeyValue<String,String>> |
NamedParameterPreparedStatement.getOrderedParameters()
Gets the ordered parameters.
|
List<TypedKeyValue<String,String>> |
NamedParameterPreparedStatement.ParseResult.getOrderedParameters() |
Constructor and Description |
---|
ParseResult(String sql,
List<TypedKeyValue<String,String>> orderedParameters) |
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ConnectionCallback.before(Alias alias,
Properties properties)
The callback function executed before connection is established.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ConnectionCallback.before(Alias alias,
Properties properties)
The callback function executed before connection is established.
|
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
MySqlConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
HubspotConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ExchangeConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ConfluenceConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ApiDriverConnectionCallback.before(Alias alias,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
MySqlConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
HubspotConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ExchangeConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ConfluenceConnectionCallback.before(Alias alias,
Properties properties) |
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
ApiDriverConnectionCallback.before(Alias alias,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
static TypedKeyValue<ResultSet,Statement> |
SqlUtils.executeScriptAndReturnResultSet(Connection con,
String script,
Driver driver,
OnException onException,
Map<String,Object> bindVariables,
String using,
boolean commit)
Executes SQL script for all rows of the data set if its not empty or just
once if it is.
|
static TypedKeyValue<ResultSet,Statement> |
SqlUtils.executeScriptAndReturnResultSetAndSaveException(Connection con,
String script,
Driver driver,
OnException onException,
Map<String,Object> bindVariables,
String using,
boolean commit,
InfoLogger infoLogger)
Executes SQL script for all rows of the data set if its not empty or just
once if it is.
|
static TypedKeyValue<Integer,TypedKeyValue<ResultSet,Statement>> |
SqlUtils.executeSqlAndReturnResultSet(Connection con,
String sql,
int action,
String exception,
Map<String,Object> bindVars,
Driver driver)
Prepares sql, set bind variables using given
bindVars and
finally executes sql. |
static TypedKeyValue<Integer,TypedKeyValue<ResultSet,Statement>> |
SqlUtils.executeSqlAndReturnResultSet(Connection con,
String sql,
int action,
String exception,
Map<String,Object> bindVars,
Driver driver,
boolean supportsPrepared)
Prepares sql, set bind variables using given
bindVars and
finally executes sql. |
static TypedKeyValue<Integer,TypedKeyValue<ResultSet,Statement>> |
SqlUtils.executeSqlAndReturnResultSetAndSaveException(Connection con,
String sql,
int action,
String exception,
Map<String,Object> bindVars,
Driver driver,
boolean supportsPrepared,
InfoLogger infoLogger)
Prepares sql, set bind variables using given
bindVars and
finally executes sql. |
static TypedKeyValue<Integer,Integer> |
SqlUtils.getScaleAndPrecision(String nativeType)
Gets the scale (value) and precision (key).
|
Modifier and Type | Method and Description |
---|---|
static TypedKeyValue<Integer,TypedKeyValue<ResultSet,Statement>> |
SqlUtils.executeSqlAndReturnResultSet(Connection con,
String sql,
int action,
String exception,
Map<String,Object> bindVars,
Driver driver)
Prepares sql, set bind variables using given
bindVars and
finally executes sql. |
static TypedKeyValue<Integer,TypedKeyValue<ResultSet,Statement>> |
SqlUtils.executeSqlAndReturnResultSet(Connection con,
String sql,
int action,
String exception,
Map<String,Object> bindVars,
Driver driver,
boolean supportsPrepared)
Prepares sql, set bind variables using given
bindVars and
finally executes sql. |
static TypedKeyValue<Integer,TypedKeyValue<ResultSet,Statement>> |
SqlUtils.executeSqlAndReturnResultSetAndSaveException(Connection con,
String sql,
int action,
String exception,
Map<String,Object> bindVars,
Driver driver,
boolean supportsPrepared,
InfoLogger infoLogger)
Prepares sql, set bind variables using given
bindVars and
finally executes sql. |
IndexList<TypedKeyValue<SqlHistory.SqlHistoryKey,SqlHistory.SqlHistoryValue>> |
SqlHistory.getSqlHistory()
Gets the sql history.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SqlUtils.exists(Connection con,
String table,
Driver driver,
TypedKeyValue<List<String>,List<Object>> fieldsAndValues,
String fields,
boolean useBindVariables)
Checks if record exists for the given dataset and list of fields.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SqlUtils.exists(Connection con,
String table,
Driver driver,
List<TypedKeyValue<String,Object>> fieldAndValues,
boolean useBindVariables)
Checks if record exists.
|
static String |
SqlUtils.getConditions(List<TypedKeyValue<String,Object>> fieldAndValues,
Driver driver,
boolean useBindVariables)
Gets the where clause conditions for the list of fields.
|
static PreparedStatement |
SqlUtils.getPreparedStatementAndSetBindVars(Connection con,
String sql,
List<TypedKeyValue<String,Object>> fieldAndValues,
Driver driver,
boolean useBindVariables)
Gets the prepared statement and set bind variables.
|
static void |
SqlUtils.setBindVars(PreparedStatement statement,
List<TypedKeyValue<String,Object>> fieldAndValues,
Driver driver)
Sets the bind variables.
|
Modifier and Type | Class and Description |
---|---|
static class |
StorageProvider.StorageObject
The Class StorageObject.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyValue
KeyValue is the key-value class where the key and the value are objects. |
Modifier and Type | Method and Description |
---|---|
static TypedKeyValue<String,TypedKeyValue<Integer,Integer>> |
Script.findBestOperand(String value,
String[] ops)
Find best operand.
|
static TypedKeyValue<String,Integer> |
Utils.getCellRef(String value)
Gets the spreadsheet cell reference.
|
static TypedKeyValue<String,TypedKeyValue<String,String>> |
UrlUtils.getHostPortAndFile(String url)
Gets the host port and file.
|
static TypedKeyValue<Point,Point> |
PositionalXmlReader.getLocation(org.w3c.dom.Node treesNode)
Gets the location information (start and end) from the DOM node.
|
static TypedKeyValue<String,String> |
UrlUtils.getNotSupportedProtocols(String url)
Get the not supported protocols such as IMAP, etc from the url.
|
static TypedKeyValue<String,String> |
FileUtils.getRootFolderAndTheRest(String folder)
Gets the root folder and the rest.
|
static TypedKeyValue<String,String> |
UrlUtils.getUrlAndPath(String source)
Gets the url and path from the source.
|
static TypedKeyValue<String,String> |
UrlUtils.getUrlAndPath(String url,
boolean isFileSystem)
Parse url and return part of the url before path and path.
|
static TypedKeyValue<String,TypedKeyValue<String,String>> |
UrlUtils.getUrlFolderFile(String url)
Gets the url, folder and file name from the url.
|
static TypedKeyValue<String,String> |
UrlUtils.getUrlWithPathAndFile(String url,
boolean isFileSystem)
Parse url and return part of the url before path and path.
|
static TypedKeyValue<String,String> |
UrlUtils.parseUrlWithPath(String source)
Parse url with path.
|
static TypedKeyValue<String,Long> |
FileUtils.readTextFile(String fileName,
long maxSize)
Reads text file into the string.
|
static TypedKeyValue<String,Long> |
FileUtils.readTextFromStream(InputStream inputStream,
long maxSize)
Reads input stream into the string.
|
static TypedKeyValue<String,String> |
FileUtils.updateFolderAndFilename(String folder,
String fileName)
Update folder and filename with path by removing path from the file name
and adding it to the folder
Examples: updateFolderAndFilename("c:\temp", "test.txt") --> c:\temp\ test.txt updateFolderAndFilename("c:\temp", "\abc\test.txt") --> c:\temp\abc test.txt updateFolderAndFilename(null, "\abc\test.txt") --> abc test.txt |
Modifier and Type | Method and Description |
---|---|
static TypedKeyValue<String,TypedKeyValue<Integer,Integer>> |
Script.findBestOperand(String value,
String[] ops)
Find best operand.
|
static TypedKeyValue<String,TypedKeyValue<String,String>> |
UrlUtils.getHostPortAndFile(String url)
Gets the host port and file.
|
static TypedKeyValue<String,TypedKeyValue<String,String>> |
UrlUtils.getUrlFolderFile(String url)
Gets the url, folder and file name from the url.
|
static List<TypedKeyValue<String,String>> |
Utils.getVarAndFunction(String input)
Parses the
input string which can be in a format
key1=value,key2,key3=value ... |
static List<TypedKeyValue<String,TypedKeyValue<String,String>>> |
Utils.getVarAndFunctionAndParams(String input)
Parses the
input string which can be in a format
key1=value(params),key2,key3=value(params) ... |
static List<TypedKeyValue<String,TypedKeyValue<String,String>>> |
Utils.getVarAndFunctionAndParams(String input)
Parses the
input string which can be in a format
key1=value(params),key2,key3=value(params) ... |
static LinkedHashMap<String,TypedKeyValue<String,String>> |
Utils.getVariables(String input,
char open,
char close)
Returns a map of variables from the string.
|
static List<TypedKeyValue<String,String>> |
Utils.parseComlexStructure(String input,
String start,
String end,
String delim,
String startChar,
String endChar,
boolean includesPrefix)
Parses the complex data structure which contains key-value pairs.
|
Modifier and Type | Method and Description |
---|---|
static String |
Utils.setVarValues(String source,
LinkedHashMap<String,TypedKeyValue<String,String>> namesAndValues,
char open,
char close)
Sets the variable values.
|
static String |
Utils.splitLines(List<TypedKeyValue<String,Integer>> all,
String value,
int lines,
String delim)
This method takes
value as an input string and builds
all list in a way that each element ('partition') of the
list contains not more than lines of text. |
Modifier and Type | Method and Description |
---|---|
static TypedKeyValue<String,String> |
PgpKeyPairGenerator.generateKeyPair(String userId,
String password,
int keySize)
Generate key pair.
|
Copyright © 2010-2020 Toolsverse. All Rights Reserved.