OSGI バンドルからリソース ファイルを読み込もうとしています。以下は私のコード スニペットです。
InputStream in;
URL url;
BundleContext bc = FrameworkUtil.getBundle(ReportUtil.class).getBundleContext(); // ReportUtil is the name of the class
url = bc.getBundle().getResource("sample_report.jrxml"); // URL is returned as /sample_report.jrxml
InputStream dataStream ;
dataStream= url.openStream();// Input Stream is java.util.zip.ZipFile$ZipFileInflaterInputStream@d112491
java.util.zip.ZipFile$ZipFileInflaterInputStream の意味は何ですか?
入力を InputStream として受け取るジャスパー コンパイラ レポートでデータ ストリームを使用する必要があります。java.util.zip.ZipFile$ZipFileInflaterInputStream を InputStream に変換する方法はありますか