⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 preload.properties

📁 jsr170接口的java实现。是个apache的开源项目。
💻 PROPERTIES
字号:
## Properties file to preload the MockRepository with content.# Each session created by the MockRepository upon calling login# reads this file to define a structure of content.## Each property in this file defines a single item. The name# of the property is the absolute path to the item defined.# Order of the definitions in this file is relevant in that# intermediate nodes are automatically defined as# nt:unstructured nodes and may not be redefined later.## The value of each property is a series of comma-separated# fields. The first field must either be "n" to indicate a# Node or "p" to indicate a Property. Any other values results# in the property being ignored for item creation. The remaining# fields depend on whether a Node or Property is defined.## For nodes the fields are:#   1  -  "n" to indicate the definition of a Node#   2  -  The name of the node type, may be any string not#         not containing a comma. The default value is#         "nt:unstructured"#   3  -  The name of the primary item. This may be missing#         in which case there is no primary item or a well#         known default value is used. For nt:file typed#         nodes, the default is "jcr:content" for nt:resource#         typed nodes, the default is "jcr:data"## For Properties the fields are:#   1  -  "p" to indicate the definition of a Property#   2  -  The name of the property type. This must be one#         of the type names defined in the PropertyType#         class. If empty or or unknown, "String" is used#         as the default.#   3  -  The value of the property to the defined. The#         value must be acceptable for the#         ValueFactory.createValue(int type, String value)#         method. If empty or missing, an empty string is#         used as the property value, which may not be#         acceptable for all property types.## Property values (last field in the property definition) may# span multiple lines. Each line must be terminated with the# backslash character indicating the continuation of the line on# the next line of file./node1 = n,nt:folder/node2 = n,nt:folder/node3 = n,nt:folder/node1/file1 = n,nt:file/node1/file1/jcr:content = n,nt:resource/node1/file1/jcr:content/jcr:data = p,Binary,This is the contents of file1\This line continues\and even more/node1/file1/jcr:content/jcr:lastModified = p,Date,2005-04-22T12:35:27.000Z/node1/file1/jcr:content/jcr:mimeType = p,String,text/plain/node1/file2 = n,nt:file/node1/file2/jcr:content = n,nt:resource/node1/file2/jcr:content/jcr:lastModified = p,Date,1966-12-26T22:15:00.000Z/node1/file2/jcr:content/jcr:mimeType = p,String,text/plain/node1/file2/jcr:content/jcr:data = p,Binary,This is the contents of file1\This line continues\and even more/node1/file3 = n,nt:file/node1/file3/jcr:content = n,nt:resource/node1/file3/jcr:content/jcr:lastModified = p,Date,1966-12-26T22:15:00.000Z/node1/file3/jcr:content/jcr:mimeType = p,String,text/plain/node1/file3/jcr:content/jcr:data = p,Binary,This is the contents of file1\n\This line continues\n\and even more\/node1/file4 = n,nt:file,classpath:/preload.properties/node1/ReadMe.txt = n,nt:file,file:///s:/src/test/ReadMe.txt/node1/mock.jar = n,nt:file,classpath:/mock.jar/node1/classes/org/apache/jackrabbit/classloader/Util.class = n,nt:file,classpath:/org/apache/jackrabbit/classloader/Util.class

⌨️ 快捷键说明

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