class Deferred extends java.lang.Object implements ContentSupplier, NameSupplier, SizeSupplier
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.commons.io.output.DeferredFileOutputStream |
dfos |
(package private) PlexusIoResourceCollection |
owner |
(package private) PlexusIoResource |
resource |
| Constructor and Description |
|---|
Deferred(PlexusIoResource resource,
PlexusIoResourceCollection owner,
boolean hasTransformer) |
| Modifier and Type | Method and Description |
|---|---|
PlexusIoResource |
asResource() |
java.io.InputStream |
getContents() |
java.lang.String |
getName()
Returns the resources name, which may include path components,
like directory names, or something like that.
|
long |
getSize() |
final org.apache.commons.io.output.DeferredFileOutputStream dfos
final PlexusIoResource resource
final PlexusIoResourceCollection owner
public Deferred(PlexusIoResource resource, PlexusIoResourceCollection owner, boolean hasTransformer) throws java.io.IOException
java.io.IOException@Nonnull
public java.io.InputStream getContents()
throws java.io.IOException
getContents in interface ContentSupplierjava.io.IOExceptionpublic long getSize()
getSize in interface SizeSupplierpublic java.lang.String getName()
NameSupplierFile.pathSeparatorgetName in interface NameSupplierpublic PlexusIoResource asResource()