test.config

来自「velocity 的脚本语言的全部代码集合」· CONFIG 代码 · 共 88 行

CONFIG
88
字号
# ---------------------------------------------------------# Make sure that we get these back in the# order that they are listed here.# ---------------------------------------------------------01 = 0102 = 0203 = 0304 = 0405 = 0506 = 0607 = 0708 = 0809 = 0910 = 10# ---------------------------------------------------------# Test CSV properties# ---------------------------------------------------------resource.loader = file, classpath, datasourcefile.resource.loader.class = FileResourceLoaderfile.resource.loader.description = File Resource Loaderfile.resource.loader.path = /path01file.resource.loader.path = /path02file.resource.loader.path = /path03classpath.resource.loader.class = ClasspathResourceLoaderclasspath.resource.loader.description = Classpath Resource Loaderdatasource.resource.loader.class = DataSourceResourceLoaderdatasource.resource.loader.description = Datasource Resource Loader# ---------------------------------------------------------# Test multi same value keys# ---------------------------------------------------------logger.type = filelogger.type = consolelogger.type = db# ---------------------------------------------------------# Testing String retrieval# ---------------------------------------------------------config.string.value = string# ---------------------------------------------------------# Testing boolean retrieval# ---------------------------------------------------------config.boolean.value = true# ---------------------------------------------------------# Testing byte retrieval# ---------------------------------------------------------config.byte.value = 1# ---------------------------------------------------------# Testing short retrieval# ---------------------------------------------------------config.short.value = 1# ---------------------------------------------------------# Testing integer retrieval# ---------------------------------------------------------config.int.value = 30000# ---------------------------------------------------------# Testing long retrieval# ---------------------------------------------------------config.long.value = 1000000# ---------------------------------------------------------# Testing float retrieval# ---------------------------------------------------------config.float.value = 3.14# ---------------------------------------------------------# Testing double retrieval# ---------------------------------------------------------config.double.value = 3.14159265358793#---------------------------------------------------------# Testing escaped commas#---------------------------------------------------------escape.comma1 = foo\,escape.comma2 = bar\,lala,woogie\,,bjork!include = include1.propertiesinclude = ./include2.properties

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?