
com.cedarsoft.utils.ObjectFactory Maven / Gradle / Ivy
package com.cedarsoft.utils;
import org.jetbrains.annotations.NotNull;
/**
* Creates an object from a string
*/
public interface ObjectFactory {
@NotNull
T create( @NotNull String representation ) throws InvalidRepresentationException;
class InvalidRepresentationException extends Exception {
public InvalidRepresentationException( String message ) {
super( message );
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy