Compare commits
4 Commits
4c2b2a5580
...
5f2f60b038
| Author | SHA1 | Date |
|---|---|---|
|
|
5f2f60b038 | 3 years ago |
|
|
6b7bd09106 | 3 years ago |
|
|
aab2f7b24f | 3 years ago |
|
|
959b7e924c | 3 years ago |
@ -1,38 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<classpath> |
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java"> |
|
||||||
<attributes> |
|
||||||
<attribute name="optional" value="true"/> |
|
||||||
<attribute name="maven.pomderived" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> |
|
||||||
<attributes> |
|
||||||
<attribute name="maven.pomderived" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> |
|
||||||
<attributes> |
|
||||||
<attribute name="test" value="true"/> |
|
||||||
<attribute name="maven.pomderived" value="true"/> |
|
||||||
<attribute name="optional" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> |
|
||||||
<attributes> |
|
||||||
<attribute name="maven.pomderived" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"> |
|
||||||
<attributes> |
|
||||||
<attribute name="maven.pomderived" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> |
|
||||||
<attributes> |
|
||||||
<attribute name="maven.pomderived" value="true"/> |
|
||||||
<attribute name="test" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="output" path="target/classes"/> |
|
||||||
</classpath> |
|
||||||
@ -1,3 +1,5 @@ |
|||||||
|
.classpath |
||||||
\.settings/ |
.project |
||||||
|
.factorypath |
||||||
|
.settings |
||||||
target |
target |
||||||
|
|||||||
@ -1,23 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<projectDescription> |
|
||||||
<name>PropertyToJavaGenerator</name> |
|
||||||
<comment></comment> |
|
||||||
<projects> |
|
||||||
</projects> |
|
||||||
<buildSpec> |
|
||||||
<buildCommand> |
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name> |
|
||||||
<arguments> |
|
||||||
</arguments> |
|
||||||
</buildCommand> |
|
||||||
<buildCommand> |
|
||||||
<name>org.eclipse.m2e.core.maven2Builder</name> |
|
||||||
<arguments> |
|
||||||
</arguments> |
|
||||||
</buildCommand> |
|
||||||
</buildSpec> |
|
||||||
<natures> |
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature> |
|
||||||
<nature>org.eclipse.m2e.core.maven2Nature</nature> |
|
||||||
</natures> |
|
||||||
</projectDescription> |
|
||||||
@ -1,9 +1,27 @@ |
|||||||
package de.kreth.property2java.processor; |
package de.kreth.property2java.processor; |
||||||
|
|
||||||
|
import java.util.PropertyResourceBundle; |
||||||
|
|
||||||
public enum Format { |
public enum Format { |
||||||
|
|
||||||
|
/** |
||||||
|
* Offers a getString(UnaryOperator<String> resourceFunction) method to access |
||||||
|
* the String value |
||||||
|
*/ |
||||||
WithUnaryOperatorParameter, |
WithUnaryOperatorParameter, |
||||||
|
/** |
||||||
|
* Generates {@link PropertyResourceBundle} to offer a getText() method without |
||||||
|
* parameters. |
||||||
|
*/ |
||||||
WithInnerPropertyResourceBundle, |
WithInnerPropertyResourceBundle, |
||||||
|
/** |
||||||
|
* Offers a generated {@link PropertyResourceBundle} to offer a getText() method |
||||||
|
* without parameters. |
||||||
|
*/ |
||||||
WithInnerPropertyLoader, |
WithInnerPropertyLoader, |
||||||
|
/** |
||||||
|
* Offers a static init(UnaryOperator<String> resourceFunction) method to offer |
||||||
|
* a getText() method. The init method must be called before any getText() call. |
||||||
|
*/ |
||||||
WithInitializer |
WithInitializer |
||||||
} |
} |
||||||
|
|||||||
Loading…
Reference in new issue