com.wix.restaurants.jsonclient.BinaryFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wix-restaurants-jsonclient Show documentation
Show all versions of wix-restaurants-jsonclient Show documentation
Wix Restaurants JSON-over-HTTP client
The newest version!
package com.wix.restaurants.jsonclient;
/** A raw file. */
public class BinaryFile {
private final String contentType;
private final byte[] content;
public BinaryFile(String contentType, byte[] content) {
this.contentType = contentType;
this.content = content;
}
public String getContentType() {
return contentType;
}
public byte[] getContent() {
return content;
}
@Override
public String toString() {
return "BinaryFile [contentType=" + contentType + ", contentLength=" + content.length + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy