public PathSegmentImpl(String path, String matrix) { if (path == null) { throw new NullPointerException("path"); // $NON-NLS-1$ } this.path = path; constructMatrixParams(extractMatrixParams(matrix)); }
private void constructMatrixParams(String[] matrixParamsArray) { constructMatrixParams(matrixParamsArray, 0); }
private void constructParts(String path) { String[] parts = extractMatrixParams(path); this.path = parts[0]; constructMatrixParams(parts, 1); }
public void setMatrixParameters(String matrix) { constructMatrixParams(extractMatrixParams(matrix)); }