Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2987

New JcrUtils utility methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3
    • jackrabbit-jcr-commons
    • None

    Description

      I'd like to add the following new utility methods to JcrUtils:

      readFile(Node): returns an InputStream for reading file contents
      readFile(Node, OutputStream): writes file contents to the given stream
      getLastModified(Node): returns the jcr:lastModified value
      setLastModified(Node, Calendar): sets the jcr:lastModified value
      getPropertyType(String): like PropertyType.valueFromName(String), but case-insensitive

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: