Class InputStreamResource

    • Constructor Detail

      • InputStreamResource

        public InputStreamResource​(InputStream stream)
        Instantiates a new Input stream resource.
        Parameters:
        stream - the input stream to wrap
    • Method Detail

      • exists

        public boolean exists()
        Description copied from interface: Resource
        Exists boolean.
        Specified by:
        exists in interface Resource
        Returns:
        True if the resource exists, False if the resource does not exist.