Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2b37d538bd793d2461242047d5ab69e64c111964 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*******************************************************************************
 * Copyright (c) 2012 Google, Inc and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Alex Ruiz (Google) - initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.codan.core.externaltool;

/**
 * Parses a given {@code String} containing the arguments to pass to an external tool and separates
 * them into individual values.
 *
 * @author alruiz@google.com (Alex Ruiz)
 *
 * @since 2.1
 */
public interface IArgsSeparator {
	/**
	 * Parses a given {@code String} containing the arguments to pass to an external tool and
	 * separates them into individual values.
	 * @param args contains the arguments to pass to the external tool executable.
	 * @return the separated argument values.
	 */
	String[] separateArgs(String args);
}

Back to the top