Class GZIPReadableResource

    • Method Detail

      • getInputStream

        @Nullable
        public InputStream getInputStream()
        Description copied from interface: IHasInputStream
        Get the input stream to read from the object. Each time this method is called, a new InputStream needs to be created.
        Returns:
        null if resolving failed.
      • getReadableCloneForPath

        @Nonnull
        public GZIPReadableResource getReadableCloneForPath​(@Nonnull
                                                            String sPath)
        Description copied from interface: IReadableResource
        Get a new resource of the same implementation type as this object but for a different path.
        Parameters:
        sPath - The new path to use. May not be null.
        Returns:
        The resource of the same implementation but a different path. May not be null.