Package org.compiere.model
Class AttachmentFileLazyDataSource
java.lang.Object
org.compiere.model.AttachmentFileLazyDataSource
- All Implemented Interfaces:
IAttachmentLazyDataSource
IDEMPIERE-4889
- Author:
- Carlos Ruiz - globalqss
-
Constructor Summary
ConstructorDescriptionConstructor for lazy load - keep the file information -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getData()
Return a byte array containing the data from the File
-
Constructor Details
-
AttachmentFileLazyDataSource
Constructor for lazy load - keep the file information- Parameters:
file
-
-
-
Method Details
-
getData
public byte[] getData()Return a byte array containing the data from the File- Specified by:
getData
in interfaceIAttachmentLazyDataSource
- Returns:
-