Class Deferred
java.lang.Object
org.codehaus.plexus.components.io.resources.Deferred
- All Implemented Interfaces:
ContentSupplier
,NameSupplier
,SizeSupplier
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.apache.commons.io.output.DeferredFileOutputStream
(package private) final PlexusIoResourceCollection
(package private) final PlexusIoResource
-
Constructor Summary
ConstructorsConstructorDescriptionDeferred
(PlexusIoResource resource, PlexusIoResourceCollection owner, boolean hasTransformer) -
Method Summary
-
Field Details
-
dfos
final org.apache.commons.io.output.DeferredFileOutputStream dfos -
resource
-
owner
-
-
Constructor Details
-
Deferred
public Deferred(PlexusIoResource resource, PlexusIoResourceCollection owner, boolean hasTransformer) throws IOException - Throws:
IOException
-
-
Method Details
-
getContents
- Specified by:
getContents
in interfaceContentSupplier
- Throws:
IOException
-
getSize
public long getSize()- Specified by:
getSize
in interfaceSizeSupplier
-
getName
Description copied from interface:NameSupplier
Returns the resources name, which may include path components, like directory names, or something like that. The resources name is expected to be a relative name and the path components must be separated byFile.pathSeparator
- Specified by:
getName
in interfaceNameSupplier
-
asResource
-