public class WebappNut extends AbstractNut
Represents a nut on the path system provided or to be managed by the WUIC framework. Thanks to
FilePath
, the nut could also be a ZIP entry.
Constructor and Description |
---|
WebappNut(ServletContext ctx,
String p,
String name,
NutType ft,
Future<Long> versionNumber)
Builds a new
Nut based on a context and path. |
Modifier and Type | Method and Description |
---|---|
InputStream |
openStream()
Opens and returns an
InputStream pointing to the nut. |
equals, getInitialName, getInitialNutType, getParentFile, getProxyUri, getVersionNumber, hashCode, isDynamic, setProxyUri, setVersionNumber, toString
public InputStream openStream() throws IOException
Opens and returns an InputStream
pointing to the nut.
IOException
- if an I/O error occursCopyright © 2012-2015. All Rights Reserved.