org.apache.naming.resources
Class WARDirContext.WARResource
java.lang.Object
org.apache.naming.resources.Resource
org.apache.naming.resources.WARDirContext.WARResource
- Enclosing class:
- WARDirContext
protected class WARDirContext.WARResource
- extends Resource
This specialized resource implementation avoids opening the IputStream
to the WAR right away.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entry
protected ZipEntry entry
WARDirContext.WARResource
public WARDirContext.WARResource(ZipEntry entry)
streamContent
public InputStream streamContent()
throws IOException
- Content accessor.
- Overrides:
streamContent
in class Resource
- Returns:
- InputStream
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.