< prev index next >

src/java.base/share/classes/com/sun/java/util/jar/pack/DriverResource_zh_CN.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 40,49 **** --- 40,50 ---- public static final String PACK_HELP = "PACK_HELP"; public static final String UNPACK_HELP = "UNPACK_HELP"; public static final String MORE_INFO = "MORE_INFO"; public static final String DUPLICATE_OPTION = "DUPLICATE_OPTION"; public static final String BAD_SPEC = "BAD_SPEC"; + public static final String DEPRECATED = "DEPRECATED"; /* * The following are the output of 'pack200' and 'unpack200' commands. * Do not translate command arguments and words with a prefix of '-' or '--'. */
*** 87,97 **** " -f{F}, --config-file={F} 读取文件 F 的 Pack200.Packer 属性", " -v, --verbose 提高程序详细程度", " -q, --quiet 将详细程度设置为最低级别", " -l{F}, --log-file={F} 输出到给定日志文件, ", " 或对于 System.out 指定 '-'", ! " -?, -h, --help 输出此消息", " -V, --version 输出程序版本", " -J{X} 将选项 X 传递给基础 Java VM", "", "注:", " -P, -C, -F, -M 和 -D 选项累计。", --- 88,98 ---- " -f{F}, --config-file={F} 读取文件 F 的 Pack200.Packer 属性", " -v, --verbose 提高程序详细程度", " -q, --quiet 将详细程度设置为最低级别", " -l{F}, --log-file={F} 输出到给定日志文件, ", " 或对于 System.out 指定 '-'", ! " -?, -h, --help 输出此帮助消息", " -V, --version 输出程序版本", " -J{X} 将选项 X 传递给基础 Java VM", "", "注:", " -P, -C, -F, -M 和 -D 选项累计。",
*** 116,133 **** " -r, --remove-pack-file 解包之后删除输入文件", " -v, --verbose 提高程序详细程度", " -q, --quiet 将详细程度设置为最低级别", " -l{F}, --log-file={F} 输出到给定日志文件, 或", " 对于 System.out 指定 '-'", ! " -?, -h, --help 输出此消息", " -V, --version 输出程序版本", " -J{X} 将选项 X 传递给基础 Java VM" } }, {MORE_INFO, "(有关详细信息, 请运行 {0} --help。)"}, // parameter 0:command name {DUPLICATE_OPTION, "重复的选项: {0}"}, // parameter 0:option {BAD_SPEC, "{0}的规范错误: {1}"}, // parameter 0:option;parameter 1:specifier }; protected Object[][] getContents() { return resource; } --- 117,135 ---- " -r, --remove-pack-file 解包之后删除输入文件", " -v, --verbose 提高程序详细程度", " -q, --quiet 将详细程度设置为最低级别", " -l{F}, --log-file={F} 输出到给定日志文件, 或", " 对于 System.out 指定 '-'", ! " -?, -h, --help 输出此帮助消息", " -V, --version 输出程序版本", " -J{X} 将选项 X 传递给基础 Java VM" } }, {MORE_INFO, "(有关详细信息, 请运行 {0} --help。)"}, // parameter 0:command name {DUPLICATE_OPTION, "重复的选项: {0}"}, // parameter 0:option {BAD_SPEC, "{0}的规范错误: {1}"}, // parameter 0:option;parameter 1:specifier + {DEPRECATED, "\n警告:{0} 工具已过时,计划在未来的 JDK 发行版中删除。\n"} // parameter 0:command name }; protected Object[][] getContents() { return resource; }
< prev index next >