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

org.whispersystems.signalservice.api.util.StreamDetails Maven / Gradle / Ivy

There is a newer version: 2.15.3
Show newest version
package org.whispersystems.signalservice.api.util;


import java.io.InputStream;

public class StreamDetails {

  private final InputStream stream;
  private final String      contentType;
  private final long        length;

  public StreamDetails(InputStream stream, String contentType, long length) {
    this.stream      = stream;
    this.contentType = contentType;
    this.length      = length;
  }

  public InputStream getStream() {
    return stream;
  }

  public String getContentType() {
    return contentType;
  }

  public long getLength() {
    return length;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy