org.apache.naming.resources

Class WARDirContext.WARResource

Enclosing Class:
WARDirContext

protected class WARDirContext.WARResource
extends Resource

This specialized resource implementation avoids opening the IputStream to the WAR right away.

Field Summary

protected ZipEntry
entry

Fields inherited from class org.apache.naming.resources.Resource

binaryContent, inputStream

Constructor Summary

WARResource(ZipEntry entry)

Method Summary

InputStream
streamContent()
Content accessor.

Methods inherited from class org.apache.naming.resources.Resource

getContent, setContent, setContent, streamContent

Field Details

entry

protected ZipEntry entry

Constructor Details

WARResource

public WARResource(ZipEntry entry)

Method Details

streamContent

public InputStream streamContent()
            throws IOException
Content accessor.
Overrides:
streamContent in interface Resource

Returns:
InputStream


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.