xmlerrorresources_zh_cn.java
来自「JAVA 所有包」· Java 代码 · 共 505 行 · 第 1/2 页
JAVA
505 行
"startParse \u9700\u8981\u975e\u7a7a\u7684 SAXParser"}, { ER_COULD_NOT_INIT_PARSER, "\u65e0\u6cd5\u7528\u4ee5\u4e0b\u5de5\u5177\u521d\u59cb\u5316\u89e3\u6790\u5668"}, { ER_EXCEPTION_CREATING_POOL, "\u4e3a\u6c60\u521b\u5efa\u65b0\u5b9e\u4f8b\u65f6\u53d1\u751f\u5f02\u5e38"}, { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u8f6c\u4e49\u5e8f\u5217"}, { ER_SCHEME_REQUIRED, "\u6a21\u5f0f\u662f\u5fc5\u9700\u7684\uff01"}, { ER_NO_SCHEME_IN_URI, "\u5728 URI \u4e2d\u627e\u4e0d\u5230\u6a21\u5f0f\uff1a{0}"}, { ER_NO_SCHEME_INURI, "URI \u4e2d\u672a\u627e\u5230\u6a21\u5f0f"}, { ER_PATH_INVALID_CHAR, "\u8def\u5f84\u5305\u542b\u975e\u6cd5\u5b57\u7b26\uff1a{0}"}, { ER_SCHEME_FROM_NULL_STRING, "\u65e0\u6cd5\u4ece\u7a7a\u5b57\u7b26\u4e32\u8bbe\u7f6e\u6a21\u5f0f"}, { ER_SCHEME_NOT_CONFORMANT, "\u6a21\u5f0f\u4e0d\u4e00\u81f4\u3002"}, { ER_HOST_ADDRESS_NOT_WELLFORMED, "\u4e3b\u673a\u4e0d\u662f\u683c\u5f0f\u826f\u597d\u7684\u5730\u5740"}, { ER_PORT_WHEN_HOST_NULL, "\u4e3b\u673a\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7aef\u53e3"}, { ER_INVALID_PORT, "\u65e0\u6548\u7684\u7aef\u53e3\u53f7"}, { ER_FRAG_FOR_GENERIC_URI, "\u53ea\u80fd\u4e3a\u4e00\u822c URI \u8bbe\u7f6e\u7247\u6bb5"}, { ER_FRAG_WHEN_PATH_NULL, "\u8def\u5f84\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7247\u6bb5"}, { ER_FRAG_INVALID_CHAR, "\u7247\u6bb5\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26"}, { ER_PARSER_IN_USE, "\u89e3\u6790\u5668\u5df2\u5728\u4f7f\u7528"}, { ER_CANNOT_CHANGE_WHILE_PARSING, "\u5206\u6790\u65f6\u65e0\u6cd5\u66f4\u6539 {0} {1}"}, { ER_SELF_CAUSATION_NOT_PERMITTED, "\u4e0d\u5141\u8bb8\u81ea\u6210\u56e0\u679c\u5173\u7cfb"}, { ER_NO_USERINFO_IF_NO_HOST, "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a Userinfo"}, { ER_NO_PORT_IF_NO_HOST, "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3"}, { ER_NO_QUERY_STRING_IN_PATH, "\u8def\u5f84\u548c\u67e5\u8be2\u5b57\u7b26\u4e32\u4e2d\u4e0d\u80fd\u6307\u5b9a\u67e5\u8be2\u5b57\u7b26\u4e32"}, { ER_NO_FRAGMENT_STRING_IN_PATH, "\u8def\u5f84\u548c\u7247\u6bb5\u4e2d\u90fd\u65e0\u6cd5\u6307\u5b9a\u7247\u6bb5"}, { ER_CANNOT_INIT_URI_EMPTY_PARMS, "\u65e0\u6cd5\u4ee5\u7a7a\u53c2\u6570\u521d\u59cb\u5316 URI"}, { ER_METHOD_NOT_SUPPORTED, "\u5c1a\u4e0d\u652f\u6301\u65b9\u6cd5"}, { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, "\u5f53\u524d\u4e0d\u53ef\u91cd\u65b0\u542f\u52a8 IncrementalSAXSource_Filter"}, { ER_XMLRDR_NOT_BEFORE_STARTPARSE, "XMLReader \u4e0d\u5728 startParse \u8bf7\u6c42\u4e4b\u524d"}, { ER_AXIS_TRAVERSER_NOT_SUPPORTED, "\u4e0d\u652f\u6301\u8f74\u904d\u5386\u7a0b\u5e8f\uff1a{0}"}, { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, "\u4ee5\u7a7a\u7684 PrintWriter \u521b\u5efa\u4e86 ListingErrorHandler\uff01"}, { ER_SYSTEMID_UNKNOWN, "SystemId \u672a\u77e5"}, { ER_LOCATION_UNKNOWN, "\u9519\u8bef\u4f4d\u7f6e\u672a\u77e5"}, { ER_PREFIX_MUST_RESOLVE, "\u524d\u7f00\u5fc5\u987b\u89e3\u6790\u4e3a\u540d\u79f0\u7a7a\u95f4\uff1a{0}"}, { ER_CREATEDOCUMENT_NOT_SUPPORTED, "XPathContext \u4e2d\u4e0d\u652f\u6301 createDocument ()\uff01"}, { ER_CHILD_HAS_NO_OWNER_DOCUMENT, "\u5b50\u5c5e\u6027\u6ca1\u6709\u6240\u6709\u8005\u6587\u6863\uff01"}, { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, "\u5b50\u5c5e\u6027\u6ca1\u6709\u6240\u6709\u8005\u6587\u6863\u5143\u7d20\uff01"}, { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, "\u8b66\u544a\uff1a\u65e0\u6cd5\u8f93\u51fa document \u5143\u7d20\u524d\u7684\u6587\u672c\uff01\u5ffd\u7565..."}, { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, "DOM \u4e0a\u4e0d\u80fd\u6709\u591a\u4e2a\u6839\uff01"}, { ER_ARG_LOCALNAME_NULL, "\u81ea\u53d8\u91cf\u201clocalName\u201d\u4e3a\u7a7a"}, // Note to translators: A QNAME has the syntactic form [NCName:]NCName // The localname is the portion after the optional colon; the message indicates // that there is a problem with that part of the QNAME. { ER_ARG_LOCALNAME_INVALID, "QNAME \u4e2d\u7684\u672c\u5730\u540d\u5e94\u5f53\u662f\u6709\u6548\u7684 NCName"}, // Note to translators: A QNAME has the syntactic form [NCName:]NCName // The prefix is the portion before the optional colon; the message indicates // that there is a problem with that part of the QNAME. { ER_ARG_PREFIX_INVALID, "QNAME \u4e2d\u7684\u524d\u7f00\u5e94\u5f53\u662f\u6709\u6548\u7684 NCName"}, { "BAD_CODE", "createMessage \u7684\u53c2\u6570\u8d85\u51fa\u8303\u56f4"}, { "FORMAT_FAILED", "\u5728 messageFormat \u8c03\u7528\u8fc7\u7a0b\u4e2d\u629b\u51fa\u7684\u5f02\u5e38"}, { "line", "\u884c\u53f7"}, { "column","\u5217\u53f7"}, {ER_SERIALIZER_NOT_CONTENTHANDLER, "\u4e32\u884c\u5668\u7c7b\u201c{0}\u201d\u4e0d\u5b9e\u73b0 org.xml.sax.ContentHandler."}, {ER_RESOURCE_COULD_NOT_FIND, "\u627e\u4e0d\u5230\u8d44\u6e90 [ {0} ]\u3002\n {1}" }, {ER_RESOURCE_COULD_NOT_LOAD, "\u8d44\u6e90 [ {0} ] \u65e0\u6cd5\u88c5\u5165\uff1a{1} \n {2} \t {3}" }, {ER_BUFFER_SIZE_LESSTHAN_ZERO, "\u7f13\u51b2\u533a\u5927\u5c0f <=0" }, {ER_INVALID_UTF16_SURROGATE, "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u66ff\u4ee3\u8005\uff1a{0}\uff1f" }, {ER_OIERROR, "IO \u9519\u8bef" }, {ER_ILLEGAL_ATTRIBUTE_POSITION, "\u5728\u751f\u6210\u5b50\u8282\u70b9\u4e4b\u540e\u6216\u5728\u751f\u6210\u5143\u7d20\u4e4b\u524d\u65e0\u6cd5\u6dfb\u52a0\u5c5e\u6027 {0}\u3002\u5c06\u5ffd\u7565\u5c5e\u6027\u3002"}, /* * Note to translators: The stylesheet contained a reference to a * namespace prefix that was undefined. The value of the substitution * text is the name of the prefix. */ {ER_NAMESPACE_PREFIX, "\u6ca1\u6709\u8bf4\u660e\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\u201c{0}\u201d\u3002" }, /* * Note to translators: This message is reported if the stylesheet * being processed attempted to construct an XML document with an * attribute in a place other than on an element. The substitution text * specifies the name of the attribute. */ {ER_STRAY_ATTRIBUTE, "\u5c5e\u6027\u201c{0}\u201d\u5728\u5143\u7d20\u5916\u3002" }, /* * Note to translators: As with the preceding message, a namespace * declaration has the form of an attribute and is only permitted to * appear on an element. The substitution text {0} is the namespace * prefix and {1} is the URI that was being used in the erroneous * namespace declaration. */ {ER_STRAY_NAMESPACE, "\u540d\u79f0\u7a7a\u95f4\u8bf4\u660e\u201c{0}\u201d=\u201c{1}\u201d\u5728\u5143\u7d20\u5916\u3002" }, {ER_COULD_NOT_LOAD_RESOURCE, "\u65e0\u6cd5\u88c5\u5165\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09\uff0c\u73b0\u5728\u53ea\u4f7f\u7528\u7f3a\u7701\u503c"}, {ER_COULD_NOT_LOAD_METHOD_PROPERTY, "\u65e0\u6cd5\u4e3a\u8f93\u51fa\u65b9\u6cd5\u201c{1}\u201d\u88c5\u8f7d\u5c5e\u6027\u6587\u4ef6\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09" } }; } /** * Return a named ResourceBundle for a particular locale. This method mimics the behavior * of ResourceBundle.getBundle(). * * @param className the name of the class that implements the resource bundle. * @return the ResourceBundle * @throws MissingResourceException */ public static final XMLErrorResources loadResourceBundle(String className) throws MissingResourceException { Locale locale = Locale.getDefault(); String suffix = getResourceSuffix(locale); try { // first try with the given locale return (XMLErrorResources) ResourceBundle.getBundle(className + suffix, locale); } catch (MissingResourceException e) { try // try to fall back to en_US if we can't load { // Since we can't find the localized property file, // fall back to en_US. return (XMLErrorResources) ResourceBundle.getBundle(className, new Locale("zh", "CN")); } catch (MissingResourceException e2) { // Now we are really in trouble. // very bad, definitely very bad...not going to get very far throw new MissingResourceException( "\u65e0\u6cd5\u88c5\u5165\u4efb\u4f55\u8d44\u6e90\u5305\u3002", className, ""); } } } /** * Return the resource file suffic for the indicated locale * For most locales, this will be based the language code. However * for Chinese, we do distinguish between Taiwan and PRC * * @param locale the locale * @return an String suffix which canbe appended to a resource name */ private static final String getResourceSuffix(Locale locale) { String suffix = "_" + locale.getLanguage(); String country = locale.getCountry(); if (country.equals("TW")) suffix += "_" + country; return suffix; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?