Back to project page BackbeamAndroid.
The source code is released under:
Copyright (c) 2012 Level Apps S.L. <http://backbeam.io> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...
If you think the Android project BackbeamAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.backbeam; /*www . j av a 2 s . c om*/ import java.io.File; import java.io.InputStream; public class FileUpload { private String mimeType; private String filename; private File file; private InputStream inputStream; public FileUpload(File file, String mimeType) { this.file = file; this.mimeType = mimeType; } public FileUpload(InputStream inputStream, String filename, String mimeType) { this.inputStream = inputStream; this.filename = filename; this.mimeType = mimeType; } public String getMimeType() { return mimeType; } public String getFilename() { return filename; } public File getFile() { return file; } public InputStream getInputStream() { return inputStream; } }