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