91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.73MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2023-10-31
  • 語言: Java
  • 標簽: aspose??jar??java??

資源簡介

aspose cells for java 8.6.2最新完美破解版,無水印無文件大小限制,無使用時間限制。由于aspose比較吃內存,操作大一點的文件就會堆溢出,所以請先設置好java虛擬機參數:-Xms512m -Xmx512m(參考值)。如果親們在使用過程中有任何問題,請在樓下回復即可。本人親自破解,內含Eclipse工程,直接導入Eclipse就能運行demo。適用于jdk6.0的環境,免費下載!警告:請勿用于商業用途,僅供學習研究,如有任何版權糾紛,本人概不負責!

資源截圖

代碼片段和文件信息

package?com.demo;

import?java.io.File;
import?java.io.FileOutputStream;
import?java.io.InputStream;

import?com.aspose.cells.License;
import?com.aspose.cells.SaveFormat;
import?com.aspose.cells.Workbook;

/**
?*?
?*?由于ASPOSE比較吃內存,操作大一點的文件就會堆溢出,所以請先設置好java虛擬機參數:-Xms512m?-Xmx512m(參考值)

?*?
?*?如有疑問,請在CSDN下載界面留言,?或者聯系QQ569925980

?*?
?*?@author?Spark
?*
?*/
public?class?TestCells?{

????private?static?InputStream?license;
????private?static?InputStream?cells;

????/**
?????*?獲取license
?????*?
?????*?@return
?????*/
????public?static?boolean?getLicense()?{
????????boolean?result?=?false;
????????try?{
????????????license?=?TestCells.class.getClassLoader().getResourceAsStream(“\\license.xml“);????//?license路徑
????????????cells?=?TestCells.class.getClassLoader().getResourceAsStream(“\\test.xlsx“);????//?原始excel路徑
????????????License?aposeLic?=?new?License();
????????????aposeLic.setLicense(license);
????????????result?=?true;
????????}?catch?(Exception?e)?{
????????????e.printStackTrace();
????????}
????????return?result;
????}

????/**
?????*?
?????*?@param?args
?????*/
????public?static?void?main(String[]?args)?{
????????//?驗證License
????????if?(!getLicense())?{
????????????return;
????????}
????????try?{
????????????long?old?=?System.currentTimeMillis();
????????????Workbook?wb?=?new?Workbook(cells);
????????????File?file?=?new?File(“D:\\test.pdf“);//?輸出路徑
????????????FileOutputStream?fileOS?=?new?FileOutputStream(file);

????????????wb.save(fileOS?SaveFormat.PDF);

????????????long?now?=?System.currentTimeMillis();
????????????System.out.println(“共耗時:“?+?((now?-?old)?/?1000.0)?+?“秒\n\n“?+?“文件保存在:“?+?file.getPath());
????????}?catch?(Exception?e)?{
????????????e.printStackTrace();
????????}
????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-10-28?14:02??AsposeCells\
?????文件?????????366??2015-12-17?19:37??AsposeCells\.classpath
?????文件?????????387??2015-09-08?12:45??AsposeCells\.project
?????目錄???????????0??2015-10-28?14:01??AsposeCells\.settings\
?????文件??????????57??2015-10-23?09:57??AsposeCells\.settings\org.eclipse.core.resources.prefs
?????文件?????????598??2015-09-08?12:45??AsposeCells\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2015-12-17?19:41??AsposeCells\bin\
?????目錄???????????0??2015-12-17?19:41??AsposeCells\bin\com\
?????目錄???????????0??2015-12-17?19:41??AsposeCells\bin\com\demo\
?????文件????????2113??2015-12-17?19:41??AsposeCells\bin\com\demo\TestCells.class
?????文件?????????584??2015-09-08?09:55??AsposeCells\bin\license.xml
?????文件??????182486??2015-10-23?09:47??AsposeCells\bin\test.xlsx
?????目錄???????????0??2015-12-17?19:41??AsposeCells\lib\
?????文件?????6110996??2015-12-17?19:41??AsposeCells\lib\aspose-cells-8.6.2.jar
?????目錄???????????0??2015-10-28?14:02??AsposeCells\src\
?????目錄???????????0??2015-10-28?14:02??AsposeCells\src\com\
?????目錄???????????0??2015-10-28?14:02??AsposeCells\src\com\demo\
?????文件????????1957??2015-12-17?09:04??AsposeCells\src\com\demo\TestCells.java
?????文件?????????584??2015-09-08?09:55??AsposeCells\src\license.xml
?????文件??????182486??2015-10-23?09:47??AsposeCells\src\test.xlsx

評論

共有 條評論