jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-1662) Add pattern matching for paths
Date Wed, 25 Jun 2008 21:28:45 GMT

    [ https://issues.apache.org/jira/browse/JCR-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608202#action_12608202
] 

Michael Dürig commented on JCR-1662:
------------------------------------

The pattern matching operates on instances of org.apache.jackrabbit.spi.Path, not on strings.
Matching a Path by its sting representation is problematic since it depends on the implementation.


My current use case is specific to my current spi connector project. Since I have written
the code anyway and it might be generally useful for spi connector implementations I provided
it here.

For example usage see the test cases. 

> Add pattern matching for paths
> ------------------------------
>
>                 Key: JCR-1662
>                 URL: https://issues.apache.org/jira/browse/JCR-1662
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: jackrabbit-spi-commons
>            Reporter: Michael Dürig
>         Attachments: JCR-1662.patch
>
>
> I suggest to add utility classes to spi-commons which can be used to do pattern matching
on paths similar to regular expressions. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message