All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bedework.appcommon.Images Maven / Gradle / Ivy

The newest version!
package org.bedework.appcommon;

import java.awt.*;
import java.io.Closeable;
import java.io.InputStream;

/**
 * User: mike Date: 3/31/22 Time: 18:46
 */
public interface Images extends Closeable {
  /**
   *
   * @return the full sized image
   */
  Image getImage();

  /**
   *
   * @return a thumbnail or null if none requested
   */
  Image getThumbnail();

  /**
   *
   * @return length of full image
   */
  long getLength();

  /**
   *
   * @return length of thumb image or zero
   */
  long getThumbLength();

  /**
   *
   * @return inputstream for full image
   */
  InputStream getInputStream();

  /**
   *
   * @return inputstream for thumbnail or null
   */
  InputStream getThumbInputStream();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy