Class LargeText

java.lang.Object
org.kohsuke.stapler.framework.io.LargeText

public class LargeText extends Object
Represents a large text data.

This class defines methods for handling progressive text update.

Usage

Author:
Kohsuke Kawaguchi
  • Field Details

    • charset

      protected final Charset charset
  • Constructor Details

    • LargeText

      public LargeText(File file, boolean completed)
    • LargeText

      public LargeText(File file, boolean completed, boolean transparentGunzip)
      Parameters:
      transparentGunzip - if set to true, this class will detect if the given file is compressed with GZIP. If so, it will transparently uncompress its content during read-access. Do note that the underlying file is not altered and remains compressed.
      Since:
      1.196
    • LargeText

      public LargeText(File file, Charset charset, boolean completed)
    • LargeText

      public LargeText(File file, Charset charset, boolean completed, boolean transparentGunzip)
      Parameters:
      transparentGunzip - if set to true, this class will detect if the given file is compressed with GZIP. If so, it will transparently uncompress its content during read-access. Do note that the underlying file is not altered and remains compressed.
      Since:
      1.196
    • LargeText

      public LargeText(ByteBuffer memory, boolean completed)
    • LargeText

      public LargeText(ByteBuffer memory, Charset charset, boolean completed)
  • Method Details