
com.trimble.id.FormData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trimble-id Show documentation
Show all versions of trimble-id Show documentation
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 FormData extends File {
private static final long serialVersionUID = 1L;
private String fieldName;
private String fieldValue;
private File file;
private String fileName;
private String mimeType;
public FormData(String fieldName, String fieldValue) {
super(fieldName, fieldValue);
this.fieldName = fieldName;
this.fieldValue = fieldName;
}
public FormData(String fieldName, File file, String mimeType) {
super(file, file.getName());
this.fieldName = fieldName;
this.fileName = file.getName();
this.file = file;
this.mimeType = mimeType;
}
public String getFieldName() {
return fieldName;
}
public String getFieldValue() {
return fieldValue;
}
public File getFile() {
return file;
}
public String getFileName() {
return fileName;
}
public String getMimeType() {
return mimeType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy