package com.raychenon.licensedroid.license;

/**
 * @author Raymond Chenon
 * mapping
 */
public class MapLicense {

    public static LicenseInfos MIT(final int year){
        return new MITLicense(year);
    }

    public static LicenseInfos APACHE2(final int year){
        return new ApacheLicense20(year);
    }
}

@@ -75,15 +75,44 @@
 %0A * 
-mapping
+used as Map but not a map underneath
 %0A */
@@ -170,19 +170,23 @@
 seInfos 
-MIT
+APACHE2
 (final i
@@ -218,18 +218,23 @@
 new 
-MIT
+Apache
 License
+20
 (yea
@@ -279,58 +279,603 @@
 fos 
-APACHE2(final int year)%7B%0A        return new Apache
+BSD_2()%7B%0A        return new BSD2ClauseLicense();%0A    %7D%0A%0A    public static LicenseInfos BSD_3()%7B%0A        return new BSD3ClauseLicense();%0A    %7D%0A%0A    public static LicenseInfos ECLIPSE_10()%7B%0A        return new EclipsePublicLicense10();%0A    %7D%0A%0A    public static LicenseInfos LGPL_21()%7B%0A        return new LGPL21License();%0A    %7D%0A%0A    public static LicenseInfos LGPL_30()%7B%0A        return new LGPL30License();%0A    %7D%0A%0A    public static LicenseInfos MIT(final int year)%7B%0A        return new MITLicense(year);%0A    %7D%0A%0A    public static LicenseInfos MOZILLA_PUBLIC_LICENSE()%7B%0A        return new MozillaPublic
 Lice
@@ -872,31 +872,27 @@
 PublicLicense20(
-year
 );%0A    %7D%0A%7D%0A
@@ -889,10 +889,11 @@
 ;%0A    %7D%0A
+%0A
 %7D%0A

complete MapLicense