net.sf.mmm.util.resource.base
Class AbstractBrowsableResource

java.lang.Object
  extended by net.sf.mmm.util.resource.base.AbstractDataResource
      extended by net.sf.mmm.util.resource.base.AbstractBrowsableResource
All Implemented Interfaces:
BrowsableResource, DataResource
Direct Known Subclasses:
FileResource

public abstract class AbstractBrowsableResource
extends AbstractDataResource
implements BrowsableResource

This is the abstract base-implementation of BrowsableResource.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
AbstractBrowsableResource()
          The constructor.
 
Method Summary
 Iterable<BrowsableResource> getChildResources(Filter<BrowsableResource> filter)
          This method iterates the immediate child-resources contained in this BrowsableResource and are accepted by the given filter.
 
Methods inherited from class net.sf.mmm.util.resource.base.AbstractDataResource
getName, getPath, getSchemePrefix, getSize, getUri, isAvailable, isModifiedSince, openOutputStream, openStream, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.mmm.util.resource.api.BrowsableResource
getChildResources, isFolder
 
Methods inherited from interface net.sf.mmm.util.resource.api.DataResource
getLastModificationDate, getName, getPath, getSize, getUri, getUrl, isAvailable, isData, isModifiedSince, navigate, openOutputStream, openStream
 

Constructor Detail

AbstractBrowsableResource

public AbstractBrowsableResource()
The constructor.

Method Detail

getChildResources

public Iterable<BrowsableResource> getChildResources(Filter<BrowsableResource> filter)
This method iterates the immediate child-resources contained in this BrowsableResource and are accepted by the given filter.

Specified by:
getChildResources in interface BrowsableResource
Parameters:
filter - is the Filter applied to the child-resources.
Returns:
an Iterable of the child-resources.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.