You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.external.apache.commons.fileupload2.util.

All Known Implementing Classes:

LimitedInputStream, MultipartStream.ItemInputStream

public interface Closeable

Interface of an object, which may be closed.

  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Closes the object.

    boolean

    Returns, whether the object is already closed.

  • Method Details

    • close

      void close() throws IOException

      Closes the object.

      Throws:

      IOException - An I/O error occurred.

    • isClosed

      boolean isClosed() throws IOException

      Returns, whether the object is already closed.

      Returns:

      True, if the object is closed, otherwise false.

      Throws:

      IOException - An I/O error occurred.