class FileSpecBuilder {

	public static List<IFileSpec> makeFileSpecList(@Nullable List<String> filePaths) {
		List<IFileSpec> fileSpecs = new ArrayList<>();
		if (nonNull(filePaths)) {
			for (String filePath : filePaths) {
				if (isNotBlank(filePath)) {
					IFileSpec fileSpec = new FileSpec(filePath);
					fileSpecs.add(fileSpec);
				}
			}
		}

		return fileSpecs;
	}

	private  FileSpecBuilder();

}