org.vafer.jdeb
Class Processor

java.lang.Object
  extended by org.vafer.jdeb.Processor

public class Processor
extends java.lang.Object

The processor does the actual work of building the deb related files. It is been used by the ant task and (later) the maven plugin.

Author:
tcurdt

Constructor Summary
Processor(Console pConsole, VariableResolver pResolver)
           
 
Method Summary
 ChangesDescriptor createChanges(PackageDescriptor pPackageDescriptor, ChangesProvider pChangesProvider, java.io.InputStream pRing, java.lang.String pKey, java.lang.String pPassphrase, java.io.OutputStream pOutput)
          Create changes file based on the provided PackageDescriptor.
 PackageDescriptor createDeb(java.io.File[] pControlFiles, DataProducer[] pData, java.io.File pOutput)
          Create the debian archive with from the provided control files and data producers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Processor

public Processor(Console pConsole,
                 VariableResolver pResolver)
Method Detail

createDeb

public PackageDescriptor createDeb(java.io.File[] pControlFiles,
                                   DataProducer[] pData,
                                   java.io.File pOutput)
                            throws PackagingException,
                                   InvalidDescriptorException
Create the debian archive with from the provided control files and data producers.

Parameters:
pControlFiles -
pData -
pOutput -
Returns:
PackageDescriptor
Throws:
PackagingException
InvalidDescriptorException

createChanges

public ChangesDescriptor createChanges(PackageDescriptor pPackageDescriptor,
                                       ChangesProvider pChangesProvider,
                                       java.io.InputStream pRing,
                                       java.lang.String pKey,
                                       java.lang.String pPassphrase,
                                       java.io.OutputStream pOutput)
                                throws java.io.IOException,
                                       InvalidDescriptorException
Create changes file based on the provided PackageDescriptor. If pRing, pKey and pPassphrase are provided the changes file will also be signed. It returns a ChangesDescriptor reflecting the changes

Parameters:
pPackageDescriptor -
pChangeSets -
pRing -
pKey -
pPassphrase -
pOutput -
Returns:
ChangesDescriptor
Throws:
java.io.IOException
InvalidDescriptorException


Copyright © 2007. All Rights Reserved.