public interface IReportIO
When using the method QbReportDesigner.setReportIO(IReportIO rio); the IReportIO Object is passed in for this purpose.
All implementing class must implement the method saveFile().
Modifier and Type | Method and Description |
---|---|
void |
saveFile(byte[] data,
java.lang.String fileName)
Restrict the user where he/she will be able to save the report file.
|
void saveFile(byte[] data, java.lang.String fileName)
data
- when implmenting this saveFile method, call designer.writeFile(newloc, data) to
write the report file, where newloc is the location of where to save the report
file.fileName
- the entire path and name of where the report file will be saved originally.
Manipulate this fileName as necessarily to retrieve the original location and name
of where the user intend to save the file.