com.maxmind.db.MaxMindDbParameter Maven / Gradle / Ivy
The newest version!
package com.maxmind.db;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Interface for a MaxMind DB parameter. This is used to mark a parameter that
* should be used to create an instance of a class when decoding a MaxMind DB
* file.
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface MaxMindDbParameter {
/**
* @return the name of the parameter in the MaxMind DB file
*/
String name();
}