KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > agent > client > util > Transformation


1 package com.sslexplorer.agent.client.util;
2
3 import java.io.IOException JavaDoc;
4
5 /**
6  * Interface to be implemented by classes that can take a block of text (maybe
7  * the contents of a file) and transform it in some way. These are loaded by the
8  * {@link ParameterTransformation} that process <transform> elements in an
9  * application extension descriptor.
10  *
11  * @author Lee David Painter <a HREF="mailto: lee@3sp.com">&lt;lee@3sp.com&gt;</a>
12  */

13 public interface Transformation {
14
15     /**
16      * Transform a block of text
17      *
18      * @param input
19      * @return transformed text
20      * @throws IOException
21      */

22     public String JavaDoc transform(String JavaDoc input) throws IOException JavaDoc;
23 }
24
Popular Tags