com.agimatec.sql.meta.script
Class PropertiesExtractor

java.lang.Object
  extended by com.agimatec.sql.meta.script.PropertiesExtractor

public class PropertiesExtractor
extends Object

Description: a class that can extract properties out of a string by using an expression tree. This is a kind of string parser to extract some values, e.g. out of a SQL script or anything.
Copyright: Copyright (c) 2007
Company: Agimatec GmbH

Author:
Roman Stumm

Constructor Summary
PropertiesExtractor()
           
PropertiesExtractor(String aDelim)
           
 
Method Summary
 void close()
           
 Map extract(String aText, ExtractExpr aExpr)
           
 Map getProperties()
           
protected  RevertableStringTokenizer getTokens()
           
protected  void setToken(String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesExtractor

public PropertiesExtractor()

PropertiesExtractor

public PropertiesExtractor(String aDelim)
Method Detail

close

public void close()

extract

public Map extract(String aText,
                   ExtractExpr aExpr)

getProperties

public Map getProperties()

getTokens

protected RevertableStringTokenizer getTokens()

setToken

protected void setToken(String token)


Copyright © 2008-2011. All Rights Reserved.