Menu

IPropertyFinder

IPropertyFinder

La interfáz IPropertyFinder debe ser implementada por aquellas clases que quieran ser consideradas [Origenes de propiedades]. Es de fácil implementación, tan sólo tiene dos métodos:

String getProperty(String key) throws PropertyRuntimeException;

Permite obtener una propiedad a través de una clave. En caso de no existir debe lanzar una excepción del tipo PropertyRuntimeException.

void setProperty(String key, String value);

Permite definir nuevas propiedades, indicando el nombre y el valor.


Related

Wiki: Origenes de propiedades

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.