Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**
     * Make a component specific extra name
     *
     * @param clazz the class.
     * @param name the extra key.
     * @return an extra key
     */
    public static String makeExtraKey(final Class<?> clazz, final String name) {
        return clazz.getCanonicalName() + "." + name;
    }
}