bip
Class BIPReader
java.lang.Object
bpp.DecoratorFilter
bpp.PreprocessorDecoratorFilter
bpp.BeanshellDecoratorFilter
bip.BIPReader
- All Implemented Interfaces:
- bpp.Filter
- Direct Known Subclasses:
- BIPDelimitedReader, BIPFixedWidthReader, BIPUnformattedReader
public class BIPReader
- extends bpp.BeanshellDecoratorFilter
This is used by the BPFilter for the decorating stages of filtering.
The Beanshell Preprocessor
Copyright (C) 2003-2004 Karl Castleton
Fields inherited from class bpp.PreprocessorDecoratorFilter |
defaultCmd, depth, echoChar, exactCmd, magicCmd, magicIdentifier |
Constructor Summary |
BIPReader(int _depth,
int _blankLines)
|
Method Summary |
void |
begin(java.io.PrintWriter out)
|
void |
echo(java.lang.String line,
java.io.PrintWriter out)
|
void |
end(java.io.PrintWriter out)
|
void |
exact(java.lang.String line,
java.io.PrintWriter out)
|
void |
exception(java.lang.Exception e)
|
int |
getLine()
|
void |
magic(java.lang.String line,
java.io.PrintWriter out)
|
Methods inherited from class bpp.PreprocessorDecoratorFilter |
decorate, getDefaultCommand, getDepth, getEchoCommmand, getExactCommmand, getMagicCommmand, hasMagic |
Methods inherited from class bpp.DecoratorFilter |
filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blankLines
protected int blankLines
lineNumber
protected int lineNumber
BIPReader
public BIPReader(int _depth,
int _blankLines)
getLine
public int getLine()
- Overrides:
getLine
in class bpp.BeanshellDecoratorFilter
begin
public void begin(java.io.PrintWriter out)
throws java.io.IOException
- Overrides:
begin
in class bpp.BeanshellDecoratorFilter
- Throws:
java.io.IOException
end
public void end(java.io.PrintWriter out)
throws java.io.IOException
- Overrides:
end
in class bpp.DecoratorFilter
- Throws:
java.io.IOException
exact
public void exact(java.lang.String line,
java.io.PrintWriter out)
throws java.io.IOException
- Overrides:
exact
in class bpp.BeanshellDecoratorFilter
- Throws:
java.io.IOException
magic
public void magic(java.lang.String line,
java.io.PrintWriter out)
throws java.io.IOException
- Overrides:
magic
in class bpp.BeanshellDecoratorFilter
- Throws:
java.io.IOException
echo
public void echo(java.lang.String line,
java.io.PrintWriter out)
throws java.io.IOException
- Overrides:
echo
in class bpp.BeanshellDecoratorFilter
- Throws:
java.io.IOException
exception
public void exception(java.lang.Exception e)
- Overrides:
exception
in class bpp.BeanshellDecoratorFilter