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

org.hisrc.jsonix.definition.Output Maven / Gradle / Ivy

There is a newer version: 2.3.9
Show newest version
package org.hisrc.jsonix.definition;

import java.text.MessageFormat;

import org.apache.commons.lang3.Validate;
import org.hisrc.jsonix.naming.Naming;

public class Output {
	
	private final String outputPackageName = "";
	private final String directory = "";
	private final String fileName;
	private final Naming naming;

	public Output(final String fileName, final Naming naming) {
		Validate.notNull(fileName);
		Validate.notNull(naming);
		this.fileName = fileName;
		this.naming = naming;
	}

	public String getOutputPackageName() {
		return outputPackageName;
	}

	public String getDirectory() {
		return this.directory;
	}

	public String getFileName() {
		return this.fileName;
	}

	public Naming getNaming() {
		return this.naming;
	}
	
	@Override
	public String toString() {
		return MessageFormat.format("Output [{0}]", this.fileName);
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy