wcs
Class Task.In.String

java.lang.Object
  extended by wcs.Task.In
      extended by wcs.Task.In.String
Enclosing class:
Task.In

public static class Task.In.String
extends Task.In

string as input source.


Nested Class Summary
 
Nested classes/interfaces inherited from class wcs.Task.In
Task.In.None, Task.In.Stream, Task.In.String
 
Field Summary
protected  String string
          not null.
 
Constructor Summary
protected Task.In.String(String string)
           
 
Method Summary
 Matcher match(Pattern pattern)
          match head of content to pattern.
 String toString()
          shows content.
 void write(OutputStream out)
          copy entire content (once only).
 void write(Writer out)
          copy entire content (once only).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

string

protected final String string
not null.

Constructor Detail

Task.In.String

protected Task.In.String(String string)
Method Detail

match

public Matcher match(Pattern pattern)
Description copied from class: Task.In
match head of content to pattern.

Specified by:
match in class Task.In

write

public void write(OutputStream out)
           throws IOException
Description copied from class: Task.In
copy entire content (once only).

Specified by:
write in class Task.In
Throws:
IOException

write

public void write(Writer out)
           throws IOException
Description copied from class: Task.In
copy entire content (once only).

Specified by:
write in class Task.In
Throws:
IOException

toString

public String toString()
Description copied from class: Task.In
shows content.

Specified by:
toString in class Task.In