Interface IWritableResource

All Superinterfaces:
IHasOutputStream, IHasOutputStreamAndWriter, IResourceBase
All Known Subinterfaces:
IReadWriteResource, IWrappedWritableResource
All Known Implementing Classes:
AbstractWrappedWritableResource, FileSystemResource, GZIPWritableResource

@MustImplementEqualsAndHashcode public interface IWritableResource extends IHasOutputStreamAndWriter, IResourceBase
Base interface for an abstract writable resource.
Author:
Philip Helger
  • Method Details

    • getWritableCloneForPath

      @Nonnull IWritableResource getWritableCloneForPath(@Nonnull String sPath)
      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.