Skip to content

Commit

Permalink
add support for processing RPM file and creating a YUM repository, ct…
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed May 28, 2015
1 parent f67e9f3 commit b3aedee
Show file tree
Hide file tree
Showing 187 changed files with 15,408 additions and 41 deletions.
8 changes: 4 additions & 4 deletions de.dentrassi.pm.aspect.common/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Service-Component: OSGI-INF/hash.xml,
OSGI-INF/groupOsgi.xml
Bundle-ActivationPolicy: lazy
Export-Package: de.dentrassi.pm.aspect.common.osgi;version="1.0.0";
uses:="org.w3c.dom,
de.dentrassi.pm.aspect,
de.dentrassi.pm.osgi,
uses:="de.dentrassi.pm.aspect,
de.dentrassi.pm.osgi.bundle,
de.dentrassi.pm.aspect.extract,
de.dentrassi.pm.aspect.virtual"
de.dentrassi.pm.osgi.feature",
de.dentrassi.pm.aspect.common.spool;version="1.0.0";uses:="de.dentrassi.pm.common.utils,de.dentrassi.pm.aspect.aggregate"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*******************************************************************************
* Copyright (c) 2015 IBH SYSTEMS GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBH SYSTEMS GmbH - initial API and implementation
*******************************************************************************/
package de.dentrassi.pm.aspect.common.spool;

public class AbstractSpooler
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*******************************************************************************
* Copyright (c) 2015 IBH SYSTEMS GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBH SYSTEMS GmbH - initial API and implementation
*******************************************************************************/
package de.dentrassi.pm.aspect.common.spool;

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

import de.dentrassi.pm.aspect.aggregate.AggregationContext;
import de.dentrassi.pm.common.utils.IOConsumer;

public class ChannelCacheTarget implements SpoolOutTarget
{
private final AggregationContext context;

public ChannelCacheTarget ( final AggregationContext context )
{
this.context = context;
}

@Override
public void spoolOut ( final String fileName, final String mimeType, final IOConsumer<OutputStream> stream ) throws IOException
{
this.context.createCacheEntry ( fileName, fileName, mimeType, stream );
}
}
Loading

0 comments on commit b3aedee

Please sign in to comment.