All Downloads are FREE. Search and download functionalities are using the official Maven repository.

configuration_file_parser.segment.ImportPaser Maven / Gradle / Ivy

The newest version!
package configuration_file_parser.segment;

import java.util.Arrays;
import java.util.List;

import org.apache.commons.configuration2.Configuration;

import constants.BRunnerKeywords;

/**
 * Parses import declarations.
 */
public class ImportPaser {

	/**
	 * @param config file
	 * @return the list of files to import
	 */
	public static List parse(Configuration config) {

		String[] res = config.getStringArray(BRunnerKeywords.OuterLevel.IMPORT.kw);

		return Arrays.asList(res);

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy