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 Object
implements Source

A source of resources.

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

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

Constructor Detail

ImmutableSource

public ImmutableSource(String path,
                       Pattern[] includes,
                       Pattern[] excludes)
Constructor.

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

path

public String path()
Base source path for resources.

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

includes

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

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

excludes

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

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

toString

public String toString()
Overrides:
toString in class Object


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