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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? executable.java

?? 處理PDF
?? JAVA
字號(hào):
/* * $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;	}}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人丝袜高跟foot| www国产成人| 欧美午夜精品一区| 91久久精品一区二区三区| 成人va在线观看| 成人美女在线观看| 成人av小说网| 91视频你懂的| 欧美影片第一页| 欧美日韩一二三区| 91精品国产品国语在线不卡| 在线成人午夜影院| 日韩欧美你懂的| 日韩精品一区二| 国产亚洲成av人在线观看导航| 久久亚洲春色中文字幕久久久| 久久精品综合网| 中文字幕中文字幕在线一区| 国产精品沙发午睡系列990531| 国产精品女同一区二区三区| 亚洲人成小说网站色在线| 一区二区三区在线不卡| 婷婷激情综合网| 麻豆精品久久精品色综合| 国产在线播精品第三| www.66久久| 欧美三级视频在线观看| 欧美一级久久久久久久大片| 久久蜜桃av一区精品变态类天堂| 国产欧美日韩激情| 亚洲精品国产成人久久av盗摄 | 精品一区二区影视| 国产黄人亚洲片| 91国产丝袜在线播放| 欧美一区永久视频免费观看| 久久亚洲一区二区三区四区| 一区精品在线播放| 五月天一区二区| 国产在线国偷精品免费看| 91猫先生在线| 欧美v日韩v国产v| 国产精品二三区| 日本aⅴ亚洲精品中文乱码| 国产精品原创巨作av| 色天天综合久久久久综合片| 日韩欧美国产一区二区在线播放 | 日本欧美一区二区| 高清免费成人av| 欧美色精品在线视频| 国产亚洲精品资源在线26u| 一区二区三区在线看| 国产呦萝稀缺另类资源| 欧美色网一区二区| 国产精品人成在线观看免费 | 国产美女视频一区| 欧洲亚洲国产日韩| 亚洲国产精品黑人久久久| 午夜日韩在线电影| 不卡视频免费播放| 欧美电影免费观看高清完整版在线| 国产精品色呦呦| 久久99久久99| 在线观看中文字幕不卡| 国产视频在线观看一区二区三区| 丝袜诱惑亚洲看片| 99综合电影在线视频| 欧美大片顶级少妇| 亚洲第一主播视频| 99久久综合精品| 欧美精品一区二区蜜臀亚洲| 亚洲综合激情网| av中文字幕一区| 久久这里都是精品| 青娱乐精品视频| 欧美日韩精品一区二区在线播放| 欧美高清在线视频| 国产精品一色哟哟哟| 91精品国产美女浴室洗澡无遮挡| **性色生活片久久毛片| 国产一区二区剧情av在线| 欧美一区国产二区| 亚洲国产精品一区二区尤物区| 99久久99久久精品国产片果冻| 精品国产a毛片| 蜜桃精品在线观看| 欧美丰满少妇xxxxx高潮对白| 伊人婷婷欧美激情| 91在线观看污| 国产精品久久久久久久久久久免费看| 精品一区二区三区视频| 日韩精品一区二区三区视频在线观看| 午夜精品久久久| 欧美色图免费看| 亚洲成人一区二区| 欧美日韩在线播放三区四区| 一区二区高清免费观看影视大全 | 中文字幕中文字幕中文字幕亚洲无线| 国产露脸91国语对白| 久久午夜羞羞影院免费观看| 美女视频网站久久| 日韩免费高清av| 蓝色福利精品导航| xnxx国产精品| 国产高清成人在线| 日本一二三不卡| aaa亚洲精品一二三区| 亚洲天堂久久久久久久| 成人99免费视频| 亚洲视频一二区| 日本精品一区二区三区高清| 亚洲精品v日韩精品| 色婷婷精品久久二区二区蜜臀av | 一区二区国产盗摄色噜噜| 在线亚洲欧美专区二区| 亚洲成av人片在www色猫咪| 欧美日韩国产综合久久| 天天综合网天天综合色| 欧美一区二区啪啪| 国内精品免费**视频| 久久久噜噜噜久久中文字幕色伊伊| 国产精品一线二线三线| 国产精品白丝在线| 欧美日韩一区二区在线观看视频 | 国产精品一区不卡| 国产精品丝袜一区| 91传媒视频在线播放| 调教+趴+乳夹+国产+精品| 日韩免费电影网站| 成人综合在线观看| 亚洲图片欧美色图| 欧美一级艳片视频免费观看| 国产成人免费在线观看| 亚洲三级电影全部在线观看高清| 欧美视频中文字幕| 激情久久五月天| 国产精品久久一卡二卡| 精品污污网站免费看| 久久99精品久久久| 国产精品毛片久久久久久| 欧美视频中文字幕| 国产精品一区二区不卡| 一区二区三区欧美日| 欧美电影精品一区二区| 成人短视频下载| 丝袜亚洲另类欧美| 国产拍欧美日韩视频二区| 欧美色涩在线第一页| 国产精品一区二区三区四区| 亚洲国产成人va在线观看天堂| 日韩欧美国产麻豆| 色婷婷av一区二区三区gif| 久久91精品久久久久久秒播 | eeuss鲁片一区二区三区在线观看| 一区二区免费看| 久久久久久99精品| 欧美天堂一区二区三区| 国产麻豆精品视频| 亚洲高清免费视频| 久久综合久久99| 欧美日韩久久一区| 成人av电影免费观看| 久久不见久久见免费视频1| 亚洲欧洲制服丝袜| 国产区在线观看成人精品 | 《视频一区视频二区| 精品捆绑美女sm三区| 在线日韩av片| 成人午夜av在线| 麻豆精品视频在线| 亚洲gay无套男同| 成人免费在线视频观看| 日韩欧美的一区| 欧美日韩一区二区在线观看| 成人动漫一区二区三区| 国产一区二区三区四区五区入口| 午夜精品一区二区三区免费视频 | 亚洲国产日韩在线一区模特| 国产免费成人在线视频| 日韩三级免费观看| 欧美性感一区二区三区| thepron国产精品| 国产在线播放一区二区三区 | 欧美一卡二卡在线| 欧洲另类一二三四区| 菠萝蜜视频在线观看一区| 韩国av一区二区三区四区| 婷婷六月综合网| 午夜精品福利一区二区蜜股av| 伊人性伊人情综合网| 日韩美女精品在线| 亚洲日本一区二区三区| 欧美国产激情二区三区| 久久一区二区视频| 精品日本一线二线三线不卡| 6080国产精品一区二区| 欧美日韩综合色| 欧美丰满少妇xxxbbb| 欧美日韩国产美女| 欧美狂野另类xxxxoooo| 欧美在线短视频|