1 Star 0 Fork 2

李恬/itext

forked from src-openEuler/itext 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
itext-2.1.5-pdftk.patch 846 Bytes
一键复制 编辑 原始数据 按行查看 历史
huanghaitao 提交于 2020-09-03 16:27 +08:00 . package init
diff -up itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java.pdftk itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java
--- itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java.pdftk 2009-04-21 18:12:02.000000000 +0200
+++ itext-2.1.5/src/core/com/lowagie/text/pdf/RandomAccessFileOrArray.java 2009-04-21 18:17:08.000000000 +0200
@@ -99,7 +99,11 @@ public class RandomAccessFileOrArray imp
}
}
else {
- InputStream is = BaseFont.getResourceStream(filename);
+ InputStream is;
+ if( filename.equals("-"))
+ is = System.in;
+ else
+ is = BaseFont.getResourceStream(filename);
if (is == null)
throw new IOException(filename + " not found as file or resource.");
try {
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litian_code/itext.git
git@gitee.com:litian_code/itext.git
litian_code
itext
itext
master

搜索帮助