org.bibeault.jrjournal.ccc
Class FieldPathParser

java.lang.Object
  extended byorg.bibeault.jrjournal.ccc.FieldPathParser

public class FieldPathParser
extends java.lang.Object

A utility class that parses the simple field name and its declaring class from the fully qualified name (path) of the field.

Author:
Bear Bibeault

Constructor Summary
FieldPathParser(java.lang.String path)
          Constructor for the parser.
 
Method Summary
 java.lang.String getDeclaringClassName()
           
 java.lang.String getFieldName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldPathParser

public FieldPathParser(java.lang.String path)
Constructor for the parser. The fully qualified field name is parsed into its simple name and its declaring class name.

Parameters:
path - the fully qualified name (path) of the field
Method Detail

getDeclaringClassName

public java.lang.String getDeclaringClassName()

getFieldName

public java.lang.String getFieldName()