com.crsn.maven.utils.osgirepo.content.EmptyContent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kar-packager Show documentation
Show all versions of kar-packager Show documentation
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 {
}
}