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 final FileContentReference fromBytes(long fileEntryId, String sourceFileName, String extension, String mimeType, byte[] bytes)
public static final FileContentReference fromBytes(String sourceFileName, String extension, String mimeType, byte[] bytes)
public static final FileContentReference fromFile(long fileEntryId, String sourceFileName, String extension, String mimeType, File file)
public static final FileContentReference fromFile(String sourceFileName, String extension, String mimeType, File file)
public static final FileContentReference fromInputStream(long fileEntryId, String sourceFileName, String extension, String mimeType, InputStream inputStream, long size)
public static final 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()