org.ops4j.pax.url.assembly.internal
Class ImmutableSource

java.lang.Object
  extended by org.ops4j.pax.url.assembly.internal.ImmutableSource
All Implemented Interfaces:
Source

public class ImmutableSource
extends java.lang.Object
implements Source

A source of resources.

Since:
1.1.0, August 31, 2009
Author:
Alin Dreghiciu

Constructor Summary
ImmutableSource(java.lang.String path, java.util.regex.Pattern[] includes, java.util.regex.Pattern[] excludes)
          Constructor.
 
Method Summary
 java.util.regex.Pattern[] excludes()
          List of patterns for exclusion.
 java.util.regex.Pattern[] includes()
          List of patterns for inclusion.
 java.lang.String path()
          Base source path for resources.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableSource

public ImmutableSource(java.lang.String path,
                       java.util.regex.Pattern[] includes,
                       java.util.regex.Pattern[] excludes)
Constructor.

Parameters:
path - path encoded source (path[!/[include|!exclude][,[include|!exclude]]])
Method Detail

path

public java.lang.String path()
Base source path for resources.

Specified by:
path in interface Source
Returns:
source path for resources

includes

public java.util.regex.Pattern[] includes()
List of patterns for inclusion.

Specified by:
includes in interface Source
Returns:
list of patterns

excludes

public java.util.regex.Pattern[] excludes()
List of patterns for exclusion.

Specified by:
excludes in interface Source
Returns:
list of patterns

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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