hi
i love to know how to convert report to inputstream in java format, can anyone help me please?
inputstream
-
- Posts: 15
- Joined: Sat Mar 07, 2015 7:04 pm
Re: inputstream
Hello.
You can use
Thank you.
You can use
Code: Select all
com.stimulsoft.report.StiSerializeManager:
public static StiReport deserializeReport(InputStream is)
public static void serializeReport(StiReport report, OutputStream outputStream)
kamandshop wrote:hi
i love to know how to convert report to inputstream in java format, can anyone help me please?
-
- Posts: 15
- Joined: Sat Mar 07, 2015 7:04 pm
Re: inputstream
thank you, but i want to convert report to inputstream, your code is converting inputstream to report.
I found this code in your samples, and I wanna return my report as my output of this method:
@Override
public InputStream load(String repotrName) {
System.out.println("must override this method to specify your own load repotr");
if (repotrName.contains("Report.mrt")) {
return new StiResourceFlex().getDemoMrt();
} else {
return new StiResourceFlex().getDemoMdc();
}
}
so I need to convert the report to input stream.
or if you know a better way please share it with me.
thank you,
I found this code in your samples, and I wanna return my report as my output of this method:
@Override
public InputStream load(String repotrName) {
System.out.println("must override this method to specify your own load repotr");
if (repotrName.contains("Report.mrt")) {
return new StiResourceFlex().getDemoMrt();
} else {
return new StiResourceFlex().getDemoMdc();
}
}
so I need to convert the report to input stream.
or if you know a better way please share it with me.
thank you,
Re: inputstream
Hello.
You can convert report only in OutputStream, use
Thank you.
You can convert report only in OutputStream, use
Code: Select all
public static void serializeReport(StiReport report, OutputStream outputStream)
-
- Posts: 15
- Joined: Sat Mar 07, 2015 7:04 pm
Re: inputstream
Oh, Thank you, You know, I have not enough information about these kind of reports and I supposed to create a project which will use these reports and this is something like exam for my hiring process. They wanna buy this product after that and I should start the job. So if you have any samples which uses some reports made by the user and the applications shows the report in a web page (just the report not the designer) please help me.
Thank you so much,
Thank you so much,
Re: inputstream
Hello.
You could look at the sample projects that you could find in the Stimulsoft installation folder.
You could real the Stimulsoft User Manual, Stimulsoft Programming Manual and Stimulsoft Knowledge Base.
Also there are a lot of tutorial videos.
Thank you.
You could look at the sample projects that you could find in the Stimulsoft installation folder.
You could real the Stimulsoft User Manual, Stimulsoft Programming Manual and Stimulsoft Knowledge Base.
Also there are a lot of tutorial videos.
Thank you.