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() |
String |
getStyle() |
String |
getVariation() |
org.apache.wicket.util.time.Time |
lastModifiedTime() |
org.apache.wicket.util.lang.Bytes |
length() |
void |
setLocale(Locale locale) |
void |
setStyle(String style) |
void |
setVariation(String variation) |
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 org.apache.wicket.util.lang.Bytes length()
length
in interface org.apache.wicket.util.resource.IResourceStream
public Locale getLocale()
getLocale
in interface org.apache.wicket.util.resource.IResourceStream
public void setLocale(Locale locale)
setLocale
in interface org.apache.wicket.util.resource.IResourceStream
public String getStyle()
getStyle
in interface org.apache.wicket.util.resource.IResourceStream
public void setStyle(String style)
setStyle
in interface org.apache.wicket.util.resource.IResourceStream
public String getVariation()
getVariation
in interface org.apache.wicket.util.resource.IResourceStream
public void setVariation(String variation)
setVariation
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–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.