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

com.artemis.cli.converter.FileOutputConverter Maven / Gradle / Ivy

The newest version!
package com.artemis.cli.converter;

import java.io.File;

import com.beust.jcommander.IStringConverter;

public class FileOutputConverter implements IStringConverter {

	@Override
	public File convert(String value) {
		File file = new File(value);
		if (file.isDirectory())
			file = new File(file, "matrix.html");
		
		return file;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy