org.vafer.jdeb.changes
Class TextfileChangesProvider

java.lang.Object
  extended by org.vafer.jdeb.changes.TextfileChangesProvider
All Implemented Interfaces:
ChangesProvider

public final class TextfileChangesProvider
extends java.lang.Object
implements ChangesProvider

Gets the changes from a changes file. The first entry are the current changes. The release line will be added. Example: release date=22:13 19.08.2007,version=1.5+r90114,urgency=low,by=Torsten Curdt debian changes support release date=20:13 17.08.2007,version=1.4+r89114,urgency=low,by=Torsten Curdt debian changes support

Author:
tcurdt

Constructor Summary
TextfileChangesProvider(java.io.InputStream pInput, PackageDescriptor pDescriptor)
           
 
Method Summary
 ChangeSet[] getChangesSets()
           
 void save(java.io.OutputStream pOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextfileChangesProvider

public TextfileChangesProvider(java.io.InputStream pInput,
                               PackageDescriptor pDescriptor)
                        throws java.io.IOException,
                               java.text.ParseException
Throws:
java.io.IOException
java.text.ParseException
Method Detail

save

public void save(java.io.OutputStream pOutput)
          throws java.io.IOException
Throws:
java.io.IOException

getChangesSets

public ChangeSet[] getChangesSets()
Specified by:
getChangesSets in interface ChangesProvider


Copyright © 2007. All Rights Reserved.