JCR representation of a file.
The file node type represents a file with some content. The
jcr:created property inherited from hierarchyNode contains the file creation time, while any other file metadata and the file contents can be found in the
jcr:content child node.
jcr:content child node can be of any node type to allow maximum flexibility, but the resource node type is the common choice for
Related node types
- file is a hierarchyNode subtype
- files are usually child nodes of folder
jcr:contentchild node is allowed to be of any node type, but resource is the normal choice