devdaily home | career | drupal | java | mac | mysql | perl | php | uml | unix

Friki example source code file (FilterLock.java)

This example Friki source code file (FilterLock.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Friki tags/keywords

augmentfromtotransformation, augmentfromtotransformation, filterlock, filterlock, regexsplitreplacetractfilter, regexsplitreplacetractfilter, string, string

The Friki FilterLock.java source code

import org.stringtree.juicer.formatter.AugmentFromToTransformation;
import org.stringtree.juicer.tract.RegexSplitReplaceTractFilter;

public class FilterLock
	extends AugmentFromToTransformation
{
	public void init(String from, String to)
	{
		setOther(new RegexSplitReplaceTractFilter(from, to));
		setName("FilterLock ('" + from + "'->'" + to + "')");
	}
}

Other Friki examples (source code examples)

Here is a short list of links related to this Friki FilterLock.java source code file:

new blog posts

 

Other websites by Alvin Alexander:  
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)

Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.