net.sf.whatsnew.mode.impl
Class Release

java.lang.Object
  |
  +--net.sf.whatsnew.mode.Mode
        |
        +--net.sf.whatsnew.mode.impl.Release

public class Release
extends Mode

The new Release mode

Version:
$Id: Release.java,v 1.1 2004/05/13 01:22:41 dquintela Exp $
Author:
Diogo Quintela

Fields inherited from class net.sf.whatsnew.mode.Mode
CHANGE, options, RELEASE
 
Constructor Summary
Release(Options options)
          Creates a new Release object.
 
Method Summary
protected  void checkOptions()
          Validade minimal mode options
protected  ConcatFilter getConcatFilter()
          Get concatenation filter to use
protected  Filter[] getExtraFilters()
          Get the filters to be applied to extra input
protected  java.lang.String[] getExtraInput()
          Get extra input
protected  Filter[] getFileFilters()
          Get the filters to be applied to file input
protected  java.lang.String[] getFileInput(java.io.File inputFile)
          Get file input
protected  OutputWriter getOutputWriter()
          Get output writer
 
Methods inherited from class net.sf.whatsnew.mode.Mode
getFactory, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Release

public Release(Options options)
        throws AppException
Creates a new Release object.
Parameters:
options - Application options
Throws:
AppException - in case of options checking error
Method Detail

getConcatFilter

protected ConcatFilter getConcatFilter()
Get concatenation filter to use
Overrides:
getConcatFilter in class Mode
Returns:
The filter to use

getExtraFilters

protected Filter[] getExtraFilters()
Get the filters to be applied to extra input
Overrides:
getExtraFilters in class Mode
Returns:
The filters to use

getExtraInput

protected java.lang.String[] getExtraInput()
Get extra input
Overrides:
getExtraInput in class Mode
Returns:
Extra input

getFileFilters

protected Filter[] getFileFilters()
Get the filters to be applied to file input
Overrides:
getFileFilters in class Mode
Returns:
The filters to use

getFileInput

protected java.lang.String[] getFileInput(java.io.File inputFile)
                                   throws AppException
Get file input
Overrides:
getFileInput in class Mode
Parameters:
inputFile - The file to use
Returns:
File input
Throws:
AppException - in case of error

getOutputWriter

protected OutputWriter getOutputWriter()
Get output writer
Overrides:
getOutputWriter in class Mode
Returns:
The output writter

checkOptions

protected void checkOptions()
                     throws AppException
Validade minimal mode options
Overrides:
checkOptions in class Mode
Throws:
AppException - in case of error


Copyright © 2004 Sourceforge. All Rights Reserved.