org.ops4j.pax.url.dir.internal
Class Parser

java.lang.Object
  extended by org.ops4j.pax.url.dir.internal.Parser

public class Parser
extends java.lang.Object

Current format (as of paxurl 0.3.3) Expects a url like dir:/Users/foo/myroot New format suggestion: This is if you don't know the exact folders but examples of contents dir:/Users/tonit/foo;org/ops4j/pax/Paxer.class&/Users/tonit/foo;org/ops4j/pax/PaxerTest.class$props=foo&other=bar If you want to just include certain files: (give them a filename pattern) dir:tail;/Users/tonit/foo;org/ops4j/pax/Paxer.class;.*class&/Users/tonit/foo;org/ops4j/pax/PaxerTest.class$props=foo&other=bar If you know exact folders, this is the version without tail: dir:/Users/tonit/foo/classes&/Users/tonit/foo/test-classes$props=foo&other=bar This would be the full format: dir:

;;$= While tail and filenamepattern are optional. On a higher level: dir:$ paramters is optional Where contentsection and parameters can be "chained" by & (like you see above in the samples) This supports multiple (different) roots, each one with teir own (optional) tail.

Since:
Dec 10, 2008
Author:
Toni Menzel (tonit)

Constructor Summary
Parser(java.lang.String url)
           
 
Method Summary
 java.io.File getDirectory()
           
 java.util.Properties getOptions()
           
 java.lang.String getTailExpr()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(java.lang.String url)
Method Detail

getDirectory

public java.io.File getDirectory()

getOptions

public java.util.Properties getOptions()

getTailExpr

public java.lang.String getTailExpr()


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.