uPortal 2.4.1
API Documentation

org.jasig.portal.utils
Class SubstitutionIntegerFilter

java.lang.Object
  extended byorg.jasig.portal.utils.SubstitutionIntegerFilter

public class SubstitutionIntegerFilter
extends java.lang.Object

Performs substitution operation on a stream of integer write requests.

Version:
$Revision: 1.7 $
Author:
Peter Kharchenko

Constructor Summary
SubstitutionIntegerFilter(IWriteable out, int[] target, int[] substitute)
          Creates a new SubstitutionIntegerFilter instance.
SubstitutionIntegerFilter(IWriteable out, int[] target, int[] substitute, int bufferSize)
          Creates a new SubstitutionIntegerFilter instance.
 
Method Summary
 void close()
           
 void flush()
           
 void write(int number)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstitutionIntegerFilter

public SubstitutionIntegerFilter(IWriteable out,
                                 int[] target,
                                 int[] substitute)
Creates a new SubstitutionIntegerFilter instance.

Parameters:
out - an IWriteable object value
target - an int[] pattern to be replaced
substitute - an int[] pattern to replace the original

SubstitutionIntegerFilter

public SubstitutionIntegerFilter(IWriteable out,
                                 int[] target,
                                 int[] substitute,
                                 int bufferSize)
Creates a new SubstitutionIntegerFilter instance.

Parameters:
out - an IWriteable object value
target - an int[] pattern to be replaced
substitute - an int[] pattern to replace the original
bufferSize - a buffer size
Method Detail

write

public void write(int number)
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

uPortal 2.4.1
API Documentation