Class ClasspathResource.ClasspathResourceStream

java.lang.Object
org.apache.wicket.util.resource.AbstractResourceStream
org.jppf.admin.web.utils.ClasspathResource.ClasspathResourceStream
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, org.apache.wicket.util.io.IClusterable, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.watch.IModifiable
Enclosing class:
ClasspathResource

public static class ClasspathResource.ClasspathResourceStream extends org.apache.wicket.util.resource.AbstractResourceStream
Resource stream associated with a ClasspathResource.
See Also:
  • Constructor Details

    • ClasspathResourceStream

      public ClasspathResourceStream(String path)
      Parameters:
      path - the path to the resource in the classpath.
  • Method Details

    • getInputStream

      public InputStream getInputStream() throws org.apache.wicket.util.resource.ResourceStreamNotFoundException
      Throws:
      org.apache.wicket.util.resource.ResourceStreamNotFoundException
    • close

      public void close() throws IOException
      Throws:
      IOException
    • lastModifiedTime

      public Instant lastModifiedTime()
      Specified by:
      lastModifiedTime in interface org.apache.wicket.util.watch.IModifiable
      Overrides:
      lastModifiedTime in class org.apache.wicket.util.resource.AbstractResourceStream