public class FileContentReference
extends Object
Modifier and Type | Method and Description |
---|---|
static FileContentReference |
fromBytes(long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
byte[] bytes) |
static FileContentReference |
fromBytes(String sourceFileName,
String extension,
String mimeType,
byte[] bytes) |
static FileContentReference |
fromFile(long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
File file) |
static FileContentReference |
fromFile(String sourceFileName,
String extension,
String mimeType,
File file) |
static FileContentReference |
fromInputStream(long fileEntryId,
String sourceFileName,
String extension,
String mimeType,
InputStream inputStream,
long size) |
static FileContentReference |
fromInputStream(String sourceFileName,
String extension,
String mimeType,
InputStream inputStream,
long size) |
String |
getExtension() |
long |
getFileEntryId() |
String |
getMimeType() |
long |
getSize() |
String |
getSourceFileName() |
public static FileContentReference fromBytes(long fileEntryId, String sourceFileName, String extension, String mimeType, byte[] bytes)
public static FileContentReference fromBytes(String sourceFileName, String extension, String mimeType, byte[] bytes)
public static FileContentReference fromFile(long fileEntryId, String sourceFileName, String extension, String mimeType, File file)
public static FileContentReference fromFile(String sourceFileName, String extension, String mimeType, File file)
public static FileContentReference fromInputStream(long fileEntryId, String sourceFileName, String extension, String mimeType, InputStream inputStream, long size)
public static FileContentReference fromInputStream(String sourceFileName, String extension, String mimeType, InputStream inputStream, long size)
public String getExtension()
public long getFileEntryId()
public String getMimeType()
public long getSize()
public String getSourceFileName()