Arch4J 1.1

org.arch4j.propertytree
Interface PropertyBuilder

All Known Implementing Classes:
BasicPropertyBuilder, XMLPropertyBuilder

public interface PropertyBuilder

Title: PropertyBuilder Description: Interface implemented by classes that build Property hierarchies from files. They must be able to recognize thier own files and parse them to create Propertys.

Version:
1.0
Author:
Russ Brown

Method Summary
 ReadOnlyProperty buildProperties(String aFilepath)
          this method accepts a full filepath and then parses that file to return a Property hierarchy.
 boolean canParse(String aFilePath)
          this method accepts a filename and then determines if this property builder can build properties from that file, based on its extension.
 

Method Detail

buildProperties

public ReadOnlyProperty buildProperties(String aFilepath)
this method accepts a full filepath and then parses that file to return a Property hierarchy.

Parameters:
aFilepath - full filepath of a file to parse.

canParse

public boolean canParse(String aFilePath)
this method accepts a filename and then determines if this property builder can build properties from that file, based on its extension.

Returns:
true if this class can create properties from the file

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.