gpt4 book ai didi

java - 将自定义标签添加到 jar list

转载 作者:搜寻专家 更新时间:2023-10-31 19:35:21 25 4
gpt4 key购买 nike

我有一个要求,我想在 jar list 文件中放置一些用户定义的标签。我想知道是否可以这样做?

  • 如果是,有什么例子吗?
  • 如果没有。 :( 为什么不呢?

最佳答案

I was wondering if it is possible to do so?

是的。

If yes, any example?

silly-word: supercalafragilisticexpyaladocious

定制对你来说足够了吗?

具体参见 JAR File Specification: Manifest Specification有关属性和值的详细信息。

  • manifest-file: main-section newline *individual-section
  • main-section: version-info newline *main-attribute
  • version-info: Manifest-Version : version-number
  • version-number : digit+{.digit+}*
  • main-attribute: (any legitimate main attribute) newline
  • individual-section: Name : value newline *perentry-attribute
  • perentry-attribute: (any legitimate perentry attribute) newline
  • newline : CR LF | LF | CR (not followed by LF)
  • digit: {0-9}

In the above specification, attributes that can appear in the main section are referred to as main attributes, whereas attributes that can appear in individual sections are referred to as per-entry attributes. Certain attributes can appear both in the main section and the individual sections, in which case the per-entry attribute value overrides the main attribute value for the specified entry. The two types of attributes are defined as follows. ..

关于java - 将自定义标签添加到 jar list ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5941169/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com