Package org.hippoecm.frontend.resource
Class JcrResourceStream
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<Void>
,org.apache.wicket.util.io.IClusterable
,org.apache.wicket.util.resource.IResourceStream
,org.apache.wicket.util.watch.IModifiable
public class JcrResourceStream
extends NodeModelWrapper<Void>
implements org.apache.wicket.util.resource.IResourceStream
- See Also:
-
Field Summary
Fields inherited from class org.hippoecm.frontend.model.NodeModelWrapper
nodeModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getStyle()
org.apache.wicket.util.lang.Bytes
length()
void
void
void
setVariation
(String variation) Methods inherited from class org.hippoecm.frontend.model.NodeModelWrapper
detach, getNode, getNodeModel, getObject, setNodeModel, setObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.model.IModel
as, combineWith, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
JcrResourceStream
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.wicket.util.resource.IResourceStream
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
getInputStream
public InputStream getInputStream() throws org.apache.wicket.util.resource.ResourceStreamNotFoundException- Specified by:
getInputStream
in interfaceorg.apache.wicket.util.resource.IResourceStream
- Throws:
org.apache.wicket.util.resource.ResourceStreamNotFoundException
-
length
public org.apache.wicket.util.lang.Bytes length()- Specified by:
length
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
getLocale
- Specified by:
getLocale
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
setLocale
- Specified by:
setLocale
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
getStyle
- Specified by:
getStyle
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
setStyle
- Specified by:
setStyle
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
getVariation
- Specified by:
getVariation
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
setVariation
- Specified by:
setVariation
in interfaceorg.apache.wicket.util.resource.IResourceStream
-
lastModifiedTime
- Specified by:
lastModifiedTime
in interfaceorg.apache.wicket.util.watch.IModifiable
-