play.libs.ws.FileParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.libs.ws;
import java.io.File;
public class FileParam {
public File file;
public String paramName;
public FileParam(File file, String name) {
this.file = file;
this.paramName = name;
}
public static FileParam[] getFileParams(File[] files) {
FileParam[] filesp = new FileParam[files.length];
for (int i = 0; i < files.length; i++) {
filesp[i] = new FileParam(files[i], files[i].getName());
}
return filesp;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy