亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? executable.java

?? 源碼包含生成 PDF 和 HTML 的類庫
?? JAVA
字號:
/* * $Id: Executable.java 3373 2008-05-12 16:21:24Z xlv $ * * Copyright 2005 by Bruno Lowagie / Roger Mistelli * * The contents of this file are subject to the Mozilla Public License Version 1.1 * (the "License"); you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the License. * * The Original Code is 'iText, a free JAVA-PDF library'. * * The Initial Developer of the Original Code is Bruno Lowagie. Portions created by * the Initial Developer are Copyright (C) 1999, 2000, 2001, 2002 by Bruno Lowagie. * All Rights Reserved. * Co-Developer of the code is Paulo Soares. Portions created by the Co-Developer * are Copyright (C) 2000, 2001, 2002 by Paulo Soares. All Rights Reserved. * * Contributor(s): all the names of the contributors are added in the source code * where applicable. * * Alternatively, the contents of this file may be used under the terms of the * LGPL license (the "GNU LIBRARY GENERAL PUBLIC LICENSE"), in which case the * provisions of LGPL are applicable instead of those above.  If you wish to * allow use of your version of this file only under the terms of the LGPL * License and not to allow others to use your version of this file under * the MPL, indicate your decision by deleting the provisions above and * replace them with the notice and other provisions required by the LGPL. * If you do not delete the provisions above, a recipient may use your version * of this file under either the MPL or the GNU LIBRARY GENERAL PUBLIC LICENSE. * * This library is free software; you can redistribute it and/or modify it * under the terms of the MPL as stated above or under the terms of the GNU * Library General Public License as published by the Free Software Foundation; * either version 2 of the License, or any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Library general Public License for more * details. * * If you didn't download this code from the following link, you should check if * you aren't using an obsolete version: * http://www.lowagie.com/iText/ */package com.lowagie.tools;import java.io.File;import java.io.IOException;import java.lang.reflect.Method;/** * This class enables you to call an executable that will show a PDF file. */public class Executable {		/**	 * The path to Acrobat Reader.	 */	public static String acroread = null;		/**	 * Performs an action on a PDF document.	 * @param fileName	 * @param parameters	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	private static Process action(final String fileName,			String parameters, boolean waitForTermination) throws IOException {		Process process = null;		if (parameters.trim().length() > 0) {			parameters = " " + parameters.trim();		}		else {			parameters = "";		}		if (acroread != null) {			process = Runtime.getRuntime().exec(					acroread + parameters + " \"" + fileName + "\"");		}		else if (isWindows()) {			if (isWindows9X()) {				process = Runtime.getRuntime().exec(						"command.com /C start acrord32" + parameters + " \"" + fileName + "\"");			}			else {				process = Runtime.getRuntime().exec(					"cmd /c start acrord32" + parameters + " \"" + fileName + "\"");			}		}		else if (isMac()) {			if (parameters.trim().length() == 0) {				process = Runtime.getRuntime().exec(					new String[] { "/usr/bin/open", fileName });			}			else {				process = Runtime.getRuntime().exec(						new String[] { "/usr/bin/open", parameters.trim(), fileName });			}		}		try {			if (process != null && waitForTermination)				process.waitFor();		} catch (InterruptedException ie) {		}		return process;	}		/**	 * Opens a PDF document.	 * @param fileName	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	public static final Process openDocument(String fileName,			boolean waitForTermination) throws IOException {		return action(fileName, "", waitForTermination);	}	/**	 * Opens a PDF document.	 * @param file	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	public static final Process openDocument(File file,			boolean waitForTermination) throws IOException {		return openDocument(file.getAbsolutePath(), waitForTermination);	}	/**	 * Opens a PDF document.	 * @param fileName	 * @return a process	 * @throws IOException	 */	public static final Process openDocument(String fileName) throws IOException {		return openDocument(fileName, false);	}	/**	 * Opens a PDF document.	 * @param file	 * @return a process	 * @throws IOException	 */	public static final Process openDocument(File file) throws IOException {		return openDocument(file, false);	}		/**	 * Prints a PDF document.	 * @param fileName	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	public static final Process printDocument(String fileName,			boolean waitForTermination) throws IOException {		return action(fileName, "/p", waitForTermination);	}	/**	 * Prints a PDF document.	 * @param file	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	public static final Process printDocument(File file,			boolean waitForTermination) throws IOException {		return printDocument(file.getAbsolutePath(), waitForTermination);	}	/**	 * Prints a PDF document.	 * @param fileName	 * @return a process	 * @throws IOException	 */	public static final Process printDocument(String fileName) throws IOException {		return printDocument(fileName, false);	}	/**	 * Prints a PDF document.	 * @param file	 * @return a process	 * @throws IOException	 */	public static final Process printDocument(File file) throws IOException {		return printDocument(file, false);	}		/**	 * Prints a PDF document without opening a Dialog box.	 * @param fileName	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	public static final Process printDocumentSilent(String fileName,			boolean waitForTermination) throws IOException {		return action(fileName, "/p /h", waitForTermination);	}	/**	 * Prints a PDF document without opening a Dialog box.	 * @param file	 * @param waitForTermination	 * @return a process	 * @throws IOException	 */	public static final Process printDocumentSilent(File file,			boolean waitForTermination) throws IOException {		return printDocumentSilent(file.getAbsolutePath(), waitForTermination);	}	/**	 * Prints a PDF document without opening a Dialog box.	 * @param fileName	 * @return a process	 * @throws IOException	 */	public static final Process printDocumentSilent(String fileName) throws IOException {		return printDocumentSilent(fileName, false);	}	/**	 * Prints a PDF document without opening a Dialog box.	 * @param file	 * @return a process	 * @throws IOException	 */	public static final Process printDocumentSilent(File file) throws IOException {		return printDocumentSilent(file, false);	}		/**	 * Launches a browser opening an URL.	 *	 * @param url the URL you want to open in the browser	 * @throws IOException	 */	public static final void launchBrowser(String url) throws IOException {		try {			if (isMac()) {				Class macUtils = Class.forName("com.apple.mrj.MRJFileUtils");				Method openURL = macUtils.getDeclaredMethod("openURL", new Class[] {String.class});				openURL.invoke(null, new Object[] {url});			}			else if (isWindows())				Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);			else { //assume Unix or Linux	            String[] browsers = {	               "firefox", "opera", "konqueror", "mozilla", "netscape" };	            String browser = null;	            for (int count = 0; count < browsers.length && browser == null; count++)	               if (Runtime.getRuntime().exec(new String[] {"which", browsers[count]}).waitFor() == 0)	                  browser = browsers[count];	            if (browser == null)	               throw new Exception("Could not find web browser.");	            else	               Runtime.getRuntime().exec(new String[] {browser, url});	            }	         }	      catch (Exception e) {	         throw new IOException("Error attempting to launch web browser");	      }	}	/**	 * Checks the Operating System.	 * 	 * @return true if the current os is Windows	 */	public static boolean isWindows() {		String os = System.getProperty("os.name").toLowerCase();		return os.indexOf("windows") != -1 || os.indexOf("nt") != -1;	}	/**	 * Checks the Operating System.	 * 	 * @return true if the current os is Windows	 */	public static boolean isWindows9X() {		String os = System.getProperty("os.name").toLowerCase();		return os.equals("windows 95") || os.equals("windows 98");	}	/**	 * Checks the Operating System.	 * 	 * @return true if the current os is Apple	 */	public static boolean isMac() {		String os = System.getProperty("os.name").toLowerCase();		return os.indexOf("mac") != -1;	}	/**	 * Checks the Operating System.	 * 	 * @return true if the current os is Linux	 */	public static boolean isLinux() {		String os = System.getProperty("os.name").toLowerCase();		return os.indexOf("linux") != -1;	}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产三级精品三级在线专区| 一区二区三区日本| 欧美亚洲国产bt| 国产一本一道久久香蕉| 亚洲综合激情另类小说区| 久久你懂得1024| 555www色欧美视频| 色综合久久99| 成人免费高清视频在线观看| 精品一区二区在线视频| 亚洲成a人v欧美综合天堂| 国产精品区一区二区三| 国产精品蜜臀在线观看| 日韩欧美一区二区在线视频| 日本韩国欧美在线| 成人福利视频在线看| 狠狠狠色丁香婷婷综合久久五月| 亚洲已满18点击进入久久| 国产精品国产自产拍高清av王其 | 欧美日韩一区二区三区在线看| 国产精选一区二区三区| 青青草原综合久久大伊人精品优势| 亚洲免费视频中文字幕| 亚洲欧洲av在线| 国产清纯白嫩初高生在线观看91 | 精品成人免费观看| 日韩一区二区精品| 欧美视频一二三区| 91精品办公室少妇高潮对白| 不卡的电影网站| 粉嫩欧美一区二区三区高清影视| 久久疯狂做爰流白浆xx| 日本特黄久久久高潮| 亚洲mv在线观看| 亚洲一区二区av电影| 亚洲欧美偷拍另类a∨色屁股| 中文字幕高清不卡| 国产欧美日韩在线视频| 亚洲精品一区二区三区在线观看| 欧美一区二区三区公司| 777久久久精品| 91精品国产综合久久香蕉麻豆| 欧美三级蜜桃2在线观看| 欧美揉bbbbb揉bbbbb| 欧美午夜精品一区二区三区| 欧美亚洲动漫另类| 欧美性感一类影片在线播放| 欧美一a一片一级一片| 欧美日韩一级片网站| 欧美日韩精品一区二区天天拍小说| 欧美日韩日日摸| 日韩一二三区不卡| 久久嫩草精品久久久精品一| 欧美国产精品专区| 午夜av区久久| 免费在线看成人av| 韩国成人在线视频| 国产成人av电影在线播放| 国产成人免费视频网站 | 国产欧美一区二区三区在线老狼| 国产亚洲1区2区3区| 国产精品视频在线看| 亚洲欧美一区二区三区国产精品| 一区二区三区欧美日韩| 免费高清在线视频一区·| 国产一区二区三区| 99久久精品国产精品久久| 欧美四级电影网| 日韩欧美的一区| 亚洲国产岛国毛片在线| 一区二区在线观看av| 日本不卡一二三区黄网| 粉嫩蜜臀av国产精品网站| 91影视在线播放| 日韩一区二区三区电影在线观看 | 婷婷国产v国产偷v亚洲高清| 寂寞少妇一区二区三区| jlzzjlzz欧美大全| 欧美美女一区二区在线观看| 久久综合久久鬼色| 夜夜嗨av一区二区三区中文字幕| 免费在线一区观看| 99热在这里有精品免费| 51精品国自产在线| 综合久久综合久久| 亚洲成人午夜影院| 国产乱一区二区| 欧美体内she精视频| 久久久精品天堂| 午夜精品一区二区三区三上悠亚| 风间由美一区二区三区在线观看 | 国产精品你懂的| 日本欧美在线观看| 91丨九色丨蝌蚪丨老版| 日韩欧美一区二区视频| 一区二区三区在线免费视频| 国产一区二区三区电影在线观看| 在线观看免费成人| 精品国产一区二区三区四区四 | 狠狠色狠狠色综合系列| 色哟哟欧美精品| 精品粉嫩aⅴ一区二区三区四区| 一区二区久久久久| 国产91丝袜在线播放九色| 欧美一区二区女人| 亚洲综合色婷婷| 成人午夜电影久久影院| 日韩一区二区三区精品视频 | 国产成人午夜99999| 欧美精品日韩一区| 亚洲人成精品久久久久| 国产精品1024| 精品福利一区二区三区| 免费在线看一区| 欧美日韩一区二区三区四区| 一区二区三区免费网站| proumb性欧美在线观看| www欧美成人18+| 蜜臀av性久久久久蜜臀aⅴ流畅| 99精品久久99久久久久| 欧美国产综合色视频| 激情欧美一区二区三区在线观看| 欧美日韩国产欧美日美国产精品| 国产精品伦一区二区三级视频| 国产尤物一区二区| 日韩视频一区在线观看| 日韩高清欧美激情| 欧美日韩国产高清一区二区三区 | 精品综合久久久久久8888| 欧美日韩精品一区二区三区蜜桃 | 日韩午夜av一区| 丝袜亚洲另类欧美| 欧美日韩一区二区电影| 亚洲成a人在线观看| 欧美日韩激情一区| 天天操天天干天天综合网| 欧美色大人视频| 亚洲成a人片综合在线| 欧美手机在线视频| 午夜视频一区二区| 91精品国产综合久久久久| 日韩国产一二三区| 日韩午夜激情电影| 精品一区二区综合| 国产日韩综合av| www.亚洲激情.com| 亚洲男同1069视频| 日本道在线观看一区二区| 亚洲国产精品久久久久秋霞影院 | 国产精品久久久一本精品| av日韩在线网站| 夜夜爽夜夜爽精品视频| 欧美四级电影网| 视频一区视频二区在线观看| 日韩一区二区三区电影| 加勒比av一区二区| 国产精品乱子久久久久| 99国产精品久久久久久久久久 | 国产精品456| 国产精品福利一区| 日本道免费精品一区二区三区| 亚洲一二三区不卡| 91精品久久久久久蜜臀| 国产伦理精品不卡| 亚洲私人黄色宅男| 欧美三级在线看| 精品一区二区三区欧美| 国产精品二三区| 欧美私人免费视频| 激情综合色综合久久综合| 一区二区三区欧美日| 69堂国产成人免费视频| 国产精品99久久久久久似苏梦涵 | 精品影院一区二区久久久| 欧美国产视频在线| 欧美日韩综合在线免费观看| 精品一区二区三区免费视频| 18欧美乱大交hd1984| 欧美精品丝袜久久久中文字幕| 国产精品一区二区在线播放| 亚洲精品欧美综合四区| 日韩一区二区三区视频在线| 成人免费视频视频| 婷婷六月综合亚洲| 国产精品久久久久久久久快鸭| 欧美午夜寂寞影院| 精品一区二区三区久久久| 亚洲欧美国产77777| 91精品国产福利在线观看| 成人白浆超碰人人人人| 日韩精品一级二级| 亚洲色图19p| 欧美tk—视频vk| 色爱区综合激月婷婷| 精品亚洲porn| 午夜精品视频在线观看| 国产精品激情偷乱一区二区∴| 日韩精品专区在线影院重磅| 99热国产精品| 国产一区二区福利视频|