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