hudson.plugins.tasks.parser
Class TaskScanner

java.lang.Object
  extended by hudson.plugins.tasks.parser.TaskScanner

public class TaskScanner
extends java.lang.Object

Scans a given input stream for open tasks.

Author:
Ulli Hafner

Constructor Summary
TaskScanner()
          Creates a new instance of TaskScanner.
TaskScanner(java.lang.String high, java.lang.String normal, java.lang.String low, boolean ignoreCase)
          Creates a new instance of TaskScanner.
 
Method Summary
 java.util.Collection<Task> scan(java.io.Reader reader)
          Scans the specified input stream for open tasks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskScanner

public TaskScanner()
Creates a new instance of TaskScanner.


TaskScanner

public TaskScanner(java.lang.String high,
                   java.lang.String normal,
                   java.lang.String low,
                   boolean ignoreCase)
Creates a new instance of TaskScanner.

Parameters:
high - tag identifiers indicating high priority
normal - tag identifiers indicating normal priority
low - tag identifiers indicating low priority
ignoreCase - if case should be ignored during matching
Method Detail

scan

public java.util.Collection<Task> scan(java.io.Reader reader)
                                throws java.io.IOException
Scans the specified input stream for open tasks.

Parameters:
reader - the file to scan
Returns:
the result stored as java project
Throws:
java.io.IOException - if we can't read the file


Copyright © 2009. All Rights Reserved.