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