org.codehaus.plexus.components.io.resources
Class AbstractPlexusIoResourceWithAttributes

java.lang.Object
  extended byorg.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
      extended byorg.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceWithAttributes
All Implemented Interfaces:
FileInfo, PlexusIoResource, PlexusIoResourceWithAttributes
Direct Known Subclasses:
PlexusIoFileResource, PlexusIoProxyResourceWithAttributes

public abstract class AbstractPlexusIoResourceWithAttributes
extends AbstractPlexusIoResource
implements PlexusIoResourceWithAttributes


Field Summary
 
Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource
UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE
 
Constructor Summary
AbstractPlexusIoResourceWithAttributes()
           
AbstractPlexusIoResourceWithAttributes(PlexusIoResourceWithAttributes plexusIoResource)
          Creates a new instance.
 
Method Summary
 PlexusIoResourceAttributes getAttributes()
           
 void setAttributes(PlexusIoResourceAttributes attributes)
           
 
Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
getLastModified, getName, getSize, isDirectory, isExisting, isFile, setDirectory, setExisting, setFile, setLastModified, setName, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource
getLastModified, getSize, getURL, isExisting
 
Methods inherited from interface org.codehaus.plexus.components.io.fileselectors.FileInfo
getContents, getName, isDirectory, isFile
 

Constructor Detail

AbstractPlexusIoResourceWithAttributes

public AbstractPlexusIoResourceWithAttributes()

AbstractPlexusIoResourceWithAttributes

public AbstractPlexusIoResourceWithAttributes(PlexusIoResourceWithAttributes plexusIoResource)
Creates a new instance. The settings are copied from the given resource.

Method Detail

getAttributes

public PlexusIoResourceAttributes getAttributes()
Specified by:
getAttributes in interface PlexusIoResourceWithAttributes

setAttributes

public void setAttributes(PlexusIoResourceAttributes attributes)
Specified by:
setAttributes in interface PlexusIoResourceWithAttributes


Copyright © 2001-2009 Codehaus. All Rights Reserved.