public enum LicenseType extends Enum<LicenseType>
Modifier and Type | Method and Description |
---|---|
String |
getResourceName() |
String |
getResourcePath() |
static Licenses |
loadLicensesFrom(Platform platform) |
void |
putTextInto(Map<String,String> licenseTextByName,
TentaclesResources tentaclesResources) |
String |
readText(TentaclesResources tentaclesResources) |
static LicenseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseType ASL_2_0
public static final LicenseType CPL_1_0
public static final LicenseType CDDL_1_0
public static LicenseType[] values()
for (LicenseType c : LicenseType.values()) System.out.println(c);
public static LicenseType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Licenses loadLicensesFrom(Platform platform) throws IOException
IOException
public String getResourceName()
public String getResourcePath()
public String readText(TentaclesResources tentaclesResources) throws IOException
IOException
public void putTextInto(Map<String,String> licenseTextByName, TentaclesResources tentaclesResources) throws IOException
IOException
Copyright © 2022 Apache Software Foundation. All rights reserved.