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

com.crsn.maven.utils.osgirepo.content.EmptyContent Maven / Gradle / Ivy

Go to download

The kar-packager is a small Maven Plugin to create Apache Karaf Archives (.kar) from a given folder. Everything the folder needs to contain are the bundles to make up the archive.

The newest version!
package com.crsn.maven.utils.osgirepo.content;

import java.io.IOException;
import java.io.OutputStream;


public class EmptyContent implements Content {

  @Override
  public String contentType() {
    return "text/plain";
  }

  @Override
  public long contentLength() {
    return 0;
  }

  @Override
  public void serializeContent( OutputStream stream ) throws IOException {
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy