org.xcmis.spi
Class PropertyFilter

java.lang.Object
  extended by org.xcmis.spi.PropertyFilter

public class PropertyFilter
extends Object

Version:
$Id: PropertyFilter.java 316 2010-03-09 15:20:28Z andrew00x $
Author:
Andrey Parfonov

Field Summary
static String ALL
          Property filter for all properties.
static PropertyFilter ALL_FILTER
          Property filter for all properties.
 
Constructor Summary
protected PropertyFilter()
           
  PropertyFilter(String filterString)
          Construct new Property Filter.
 
Method Summary
 boolean accept(String name)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final String ALL
Property filter for all properties.

See Also:
Constant Field Values

ALL_FILTER

public static final PropertyFilter ALL_FILTER
Property filter for all properties.

Constructor Detail

PropertyFilter

public PropertyFilter(String filterString)
               throws FilterNotValidException
Construct new Property Filter.

Parameters:
filterString - the string that contains either '*' or comma-separated list of properties names. An arbitrary number of space allowed before and after each comma.
Throws:
FilterNotValidException - if filterString is invalid

PropertyFilter

protected PropertyFilter()
Method Detail

accept

public boolean accept(String name)



Copyright © 2010 eXo Platform SAS. All Rights Reserved.