public class FileResource extends Object implements ReportResource
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
protected String |
name |
| Constructor and Description |
|---|
FileResource(File f) |
FileResource(String nameResource,
InputStream input) |
protected byte[] bytes
protected String name
public FileResource(File f) throws IOException
IOExceptionpublic FileResource(String nameResource, InputStream input) throws IOException
IOExceptionpublic byte[] getBytes()
getBytes in interface ReportResourcepublic String getName()
getName in interface ReportResourceCopyright © 2016 Imatia Innovation S.L.. All rights reserved.