View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/filestore/common/src/java/org/astrogrid/filestore/common/file/PropertyFilter.java,v $</cvs:source>
3    * <cvs:author>$Author: jdt $</cvs:author>
4    * <cvs:date>$Date: 2004/11/25 00:19:27 $</cvs:date>
5    * <cvs:version>$Revision: 1.2 $</cvs:version>
6    * <cvs:log>
7    *   $Log: PropertyFilter.java,v $
8    *   Revision 1.2  2004/11/25 00:19:27  jdt
9    *   Merge from dave-dev-200410061224-200411221626
10   *
11   *   Revision 1.1.2.1  2004/11/02 23:20:12  dave
12   *   Added property filter and changed method names to make them FileStore specific.
13   *
14   * </cvs:log>
15   *
16   */
17  package org.astrogrid.filestore.common.file ;
18  
19  /***
20   * The public interface for a properties filter.
21   * Filters are used to prevent properties set by the local system from being changed by an external entity.
22   *
23   *
24   */
25  public interface PropertyFilter
26  	{
27  	/***
28  	 * Filter a property.
29  	 * @param property The property to filter.
30  	 * @return The filtered property value, or null if the whole property has been filtered out.
31  	 *
32  	 */
33  	public FileProperty filter(FileProperty property) ;
34  
35  	}