public class JcrResourceStream extends NodeModelWrapper<Void> implements org.apache.wicket.util.resource.IResourceStream
nodeModel
Constructor and Description |
---|
JcrResourceStream(org.apache.wicket.model.IModel<javax.jcr.Node> model) |
JcrResourceStream(javax.jcr.Node node)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getContentType() |
InputStream |
getInputStream() |
Locale |
getLocale() |
org.apache.wicket.util.time.Time |
lastModifiedTime() |
long |
length() |
void |
setLocale(Locale locale) |
detach, getChainedModel, getNode, getNodeModel, getObject, setChainedModel, setObject
public JcrResourceStream(javax.jcr.Node node)
public JcrResourceStream(org.apache.wicket.model.IModel<javax.jcr.Node> model)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.wicket.util.resource.IResourceStream
IOException
public String getContentType()
getContentType
in interface org.apache.wicket.util.resource.IResourceStream
public InputStream getInputStream() throws org.apache.wicket.util.resource.ResourceStreamNotFoundException
getInputStream
in interface org.apache.wicket.util.resource.IResourceStream
org.apache.wicket.util.resource.ResourceStreamNotFoundException
public Locale getLocale()
getLocale
in interface org.apache.wicket.util.resource.IResourceStream
public long length()
length
in interface org.apache.wicket.util.resource.IResourceStream
public void setLocale(Locale locale)
setLocale
in interface org.apache.wicket.util.resource.IResourceStream
public org.apache.wicket.util.time.Time lastModifiedTime()
lastModifiedTime
in interface org.apache.wicket.util.watch.IModifiable
Copyright © 2007-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.