/** * @see org.apache.wicket.util.resource.IResourceStream#getInputStream() */ public InputStream getInputStream() throws ResourceStreamNotFoundException { checkLoadData(); if (inputStream == null) { inputStream = new ByteArrayInputStream(data.getData()); } return inputStream; }
/** * @see org.apache.wicket.util.resource.IResourceStream#getInputStream() */ public InputStream getInputStream() throws ResourceStreamNotFoundException { checkLoadData(); if (inputStream == null) { inputStream = new ByteArrayInputStream(data.getData()); } return inputStream; }
/** * @see org.apache.wicket.util.resource.IResourceStream#length() */ public long length() { checkLoadData(); return data.getLength(); }
/** * @see org.apache.wicket.util.resource.IResourceStream#getContentType() */ public String getContentType() { checkLoadData(); return data.getContentType(); }
/** * @see org.apache.wicket.util.watch.IModifiable#lastModifiedTime() */ public Time lastModifiedTime() { checkLoadData(); return data.lastModifiedTime(); }
/** * @see org.apache.wicket.util.resource.IResourceStream#length() */ public long length() { checkLoadData(); return data.getLength(); }
/** * @see org.apache.wicket.util.resource.IResourceStream#getContentType() */ public String getContentType() { checkLoadData(); return data.getContentType(); }
/** * @see org.apache.wicket.util.watch.IModifiable#lastModifiedTime() */ public Time lastModifiedTime() { checkLoadData(); return data.lastModifiedTime(); }