Example usage for org.apache.commons.configuration MapConfiguration setDelimiterParsingDisabled

List of usage examples for org.apache.commons.configuration MapConfiguration setDelimiterParsingDisabled

Introduction

In this page you can find the example usage for org.apache.commons.configuration MapConfiguration setDelimiterParsingDisabled.

Prototype

public void setDelimiterParsingDisabled(boolean delimiterParsingDisabled) 

Source Link

Document

Set whether this configuration should use delimiters when parsing property values to convert them to lists of values.

Usage

From source file:org.apache.tinkerpop.gremlin.process.computer.traversal.step.map.ProgramVertexProgramStep.java

public ProgramVertexProgramStep(final Traversal.Admin traversal, final VertexProgram vertexProgram) {
    super(traversal);
    this.configuration = new HashMap<>();
    final MapConfiguration base = new MapConfiguration(this.configuration);
    base.setDelimiterParsingDisabled(true);
    vertexProgram.storeState(base);//  w w w.jav a  2 s  . c o  m
    this.toStringOfVertexProgram = vertexProgram.toString();
    this.traverserRequirements = vertexProgram.getTraverserRequirements();
}

From source file:org.apache.tinkerpop.gremlin.process.computer.traversal.step.map.ProgramVertexProgramStep.java

@Override
public VertexProgram generateProgram(final Graph graph, final Memory memory) {
    final MapConfiguration base = new MapConfiguration(this.configuration);
    base.setDelimiterParsingDisabled(true);
    PureTraversal.storeState(base, ROOT_TRAVERSAL,
            TraversalHelper.getRootTraversal(this.getTraversal()).clone());
    base.setProperty(STEP_ID, this.getId());
    if (memory.exists(TraversalVertexProgram.HALTED_TRAVERSERS))
        TraversalVertexProgram.storeHaltedTraversers(base,
                memory.get(TraversalVertexProgram.HALTED_TRAVERSERS));
    return VertexProgram.createVertexProgram(graph, base);
}