public class BinaryEntry extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
BinaryEntry()
Creates new instance.
|
|
BinaryEntry(Long id,
String fileName,
String contentType,
long contentSize,
String description)
Creates new instance.
|
|
BinaryEntry(Long id,
String filename,
String contentType,
long contentSize,
String description,
byte[] data)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getContentSize()
Returns the size of the content.
|
String |
getContentType()
Returns the content type of the file.
|
byte[] |
getData()
Returns the byte data.
|
String |
getDescription()
Returns the description of the file.
|
String |
getFilename()
Returns the file name.
|
Long |
getId()
Returns the id of the resource.
|
protected BinaryEntry()
public BinaryEntry(Long id, String fileName, String contentType, long contentSize, String description)
id
- fileName
- contentType
- contentSize
- description
- public Long getId()
public String getFilename()
public long getContentSize()
public String getContentType()
public String getDescription()
public byte[] getData()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.