Refactor BundleEntryScanner so it can be easier extended/customized by
subclasses
---------------------------------------------------------------------------------
Key: PAXSB-6
URL: http://issues.ops4j.org/jira/browse/PAXSB-6
Project: Pax Swissbox
Issue Type: Task
Components: extender
Affects Versions: 0.2.0, 0.1.0
Reporter: Alin Dreghiciu
Assignee: Alin Dreghiciu
Priority: Minor
Fix For: 0.2.1
Up to version 0.2.0 the only extensibility point in BundleEntryScanner is the
way URL's found into the extended bundle are adapted to the required format.
Refactor this in order to:
1. allow a pluggable form of scanning the bundle: currently it is using
bundle.findEntries. This is not always suitable as find entries always return
urls. Will be better if this can be overridden by different approaches as using
getEntryPaths that will return path to entryes as string. useful when you need
the name of the entry.
2. make getPath/getFilePattern/getRecurse protected (from private) so can be
used by subclasses.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general