baseName

返回路径中的文件名

常用释义

词性释义

返回路径中的文件名(计算机术语)
例句
  • 全部
The basename attribute is required, and identifies the resource bundle to be set as the default.
basename属性是必需的,它标识了设为缺省值的资源束。
请注意,basename属性的值不应当包含任何本地化后缀或文件扩展名。
Basename是一个截断字符串的极简便工具。
The following array elements are returned: dirname, basename and extension.
包括以下的数组单元:dirname,basename和extension。
std: : string basename(const path&): This is the complementary routine to extension: It returns the string before . in the file name.
stringbasename(constpath&):这是与extension互补的例程。它将返回文件名中。
The basename for the example resource bundle presented in Listings 4 and 5 is com. taglib. weblog. Greeting.
清单4和清单5中给出的示例资源束的基名为com.
Now suppose that a ResourceManager has been created to represent the resources with this basename.
现在假定已创建ResourceManager来表示具有此基名称的资源。
For example, suppose that an assembly has several resources in a resource file with the basename "MyResources" .
例如,假定某个程序集在基名称为“MyResources”的资源文件中有几个资源。
It's companion, called dirname, returns the "other" part of the path that basename throws away
它的相关命令dirname返回basename丢弃的“另”一部分路径。
把资源包baseName映射到产品上下文根中
网络释义

基名

  \W 当前工作目录的“基名 (basename)”(如 "drobbins")   \! 当前命令在历史缓冲区中的位置   \# 命令编号(只要您键入内容,它 …

文件名

从带路径的文件名字符串中去掉文件名(basename), 只打印出路径信息.sum, cksum, md5sum, sha1sum 这些都是用来产生chec…

基本名

new方法(别名为open)将一个基本名basename)作为种子字符串(seed string),在后面加上进程id和唯一的序列号。可 …

基本名称

中继日志的基本名称(basename)。默认的基本名称是host_name-relay-bin。

文件名前部分

这个String就是资源的完整名,一个完整名由它的名字空间和文件名前部分(BaseName)组成。例如,如果默认名字空间(rootna…

文件名序列的后缀部分

...回文件名序列的文件部分$(suffix ) #返回文件名序列的后缀部分$(basename ) #返回文件名序列的前缀部分(返回最后一个小 …
更新时间:2025-02-23 16:21