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

com.trimble.id.NameValuePair Maven / Gradle / Ivy

Go to download

Trimble Identity OAuth Client library holds the client classes that are used for communicating with Trimble Identity Service

The newest version!
package com.trimble.id;

import java.io.File;

public class NameValuePair extends File {

	private static final long serialVersionUID = 1L;

	private String name;
	private String value;
	private File file;
	private String fileName;

	public NameValuePair(String name, String value) {
		super(name, value);
		this.name = name;
		this.value = value;
	}

	public NameValuePair(String name, File file) {
		super(file, file.getName());
		this.name = name;
		this.fileName = file.getName();
		this.file = file;
	}

	public String getName() {
		return name;
	}

	public String getValue() {
		return value;
	}

	public File getFile() {
		return file;
	}

	public String getFileName() {
		return fileName;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy