Nuiton-utils-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
April 2010
- 3 participants
- 27 discussions
r1825 - in trunk: . src/main/java/org/nuiton/util src/test/java/org/nuiton/util
by tchemit@users.nuiton.org 14 Apr '10
by tchemit@users.nuiton.org 14 Apr '10
14 Apr '10
Author: tchemit
Date: 2010-04-14 11:26:43 +0200 (Wed, 14 Apr 2010)
New Revision: 1825
Log:
- Evolution #450: Remove deprecated package org.nuiton.util.config
- Evolution #510: [ApplicationConfig] Make option states modifiable
Removed:
trunk/src/main/java/org/nuiton/util/config/
Modified:
trunk/pom.xml
trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java
trunk/src/main/java/org/nuiton/util/CollectionUtil.java
trunk/src/main/java/org/nuiton/util/FileUtil.java
trunk/src/main/java/org/nuiton/util/Log.java
trunk/src/main/java/org/nuiton/util/SortedProperties.java
trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/pom.xml 2010-04-14 09:26:43 UTC (rev 1825)
@@ -27,7 +27,9 @@
#L%
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -42,7 +44,7 @@
</parent>
<artifactId>nuiton-utils</artifactId>
- <version>1.2.3-SNAPSHOT</version>
+ <version>1.3-SNAPSHOT</version>
<dependencies>
Modified: trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -391,9 +391,35 @@
* par exemple pour la version de l'application, ...)
*/
boolean isFinal();
+
+ /**
+ * Changes the default value of the option.
+ *
+ * @param defaultValue the new default value of the option
+ */
+ void setDefaultValue(String defaultValue);
+
+ /**
+ * Changes the transient state of the option.
+ *
+ * @param isTransient the new value of the transient state
+ */
+ void setTransient(boolean isTransient);
+
+ /**
+ * Changes the final state of the option.
+ *
+ * @param isFinal the new transient state value
+ */
+ void setFinal(boolean isFinal);
}
- /** TODO */
+ /**
+ * Defines a runtime action to be launched via the {@link #doAction()}
+ * method.
+ *
+ * @author poussin
+ */
static public class Action {
@Retention(RetentionPolicy.RUNTIME)
@@ -600,10 +626,10 @@
*
* @param step do action only defined in this step
*
- * @throws IllegalAccessException TODO
- * @throws IllegalArgumentException TODO
- * @throws InvocationTargetException TODO
- * @throws InstantiationException TODO
+ * @throws IllegalAccessException if action invocation failed
+ * @throws IllegalArgumentException if action invocation failed
+ * @throws InvocationTargetException if action invocation failed
+ * @throws InstantiationException if action invocation failed
*
* @see Action.Step
*/
@@ -728,7 +754,7 @@
* </ul>
*
* @since 1.2.1
- * @return TODO
+ * @return the system path
*/
protected String getSystemConfigurationPath() {
@@ -792,7 +818,7 @@
* http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
*
* @since 1.2.1
- * @return TODO
+ * @return the user configuration path
*/
protected String getUserPath() {
@@ -1183,13 +1209,13 @@
* if package, class or method missing, default is used
*
* @param name name of the action
- * @param args TODO
+ * @param args arguments for action invocation
* @return the created action
- * @throws ArgumentsParserException TODO
- * @throws IllegalAccessException TODO
- * @throws IllegalArgumentException TODO
- * @throws InstantiationException TODO
- * @throws InvocationTargetException TODO
+ * @throws ArgumentsParserException if parsing failed
+ * @throws IllegalAccessException if could not create action
+ * @throws IllegalArgumentException if could not create action
+ * @throws InstantiationException if could not create action
+ * @throws InvocationTargetException if could not create action
*/
protected Action createAction(String name,
ListIterator<String> args)
@@ -1271,7 +1297,7 @@
* Load configuration file and prepare Action.
*
* @param args argument as main(String[] args)
- * @throws ArgumentsParserException TODO
+ * @throws ArgumentsParserException if parsing failed
*/
public void parse(String[] args) throws ArgumentsParserException {
try {
@@ -1526,16 +1552,16 @@
pcs.removePropertyChangeListener(propertyName, listener);
}
- public synchronized boolean hasListeners(String propertyName) {
+ public boolean hasListeners(String propertyName) {
return pcs.hasListeners(propertyName);
}
- public synchronized PropertyChangeListener[] getPropertyChangeListeners(
+ public PropertyChangeListener[] getPropertyChangeListeners(
String propertyName) {
return pcs.getPropertyChangeListeners(propertyName);
}
- public synchronized PropertyChangeListener[] getPropertyChangeListeners() {
+ public PropertyChangeListener[] getPropertyChangeListeners() {
return pcs.getPropertyChangeListeners();
}
}
Modified: trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -67,7 +67,7 @@
*
* @param <L> listener type
*
- * @see org.nuiton.util.ListenerSet
+ * @see ListenerSet
*/
public class CategorisedListenerSet<L> { // CategorisedListenerSet
@@ -107,23 +107,8 @@
this.isClassCategory = isClassCategory;
}
- /**
- * @param listenerClass la classe dont doit heriter les listeners pour
- * etre accepté lors de l'ajout
- * @param isClassCategory si vrai et que les categorie passé en arguement
- * lors de l'ajout sont de type Class alors lors du fire on recherche aussi
- * les peres dans la hierarchie d'heritage de la classe (Super class et
- * interfaces)
- *
- * @deprecated unused same as {@code CategorisedListenerSet(boolean)}
- */
- @Deprecated
- public CategorisedListenerSet(Class<?> listenerClass, boolean isClassCategory) {
- this(isClassCategory);
- }
-
protected void checkCategory(Object category) {
- if (category == ALL) {
+ if (ALL.equals(category)) {
throw new IllegalArgumentException(
"ALL category can't be use to add listener or add Category");
}
@@ -217,12 +202,13 @@
}
/**
- * Retourne un ListenerSet contenant tous les listeners c'est à dire les
+ * @param category categorie demandee
+ * @return un ListenerSet contenant tous les listeners c'est à dire les
* listener de la categorie demandé mais aussi les listeners des ancetres
*/
protected ListenerSet<L> getAllListeners(Object category) {
ListenerSet<L> result = new ListenerSet<L>();
- if (category == ALL) {
+ if (ALL.equals(category)) {
for (ListenerSet<L> ls : listeners.values()) {
result.addAll(ls);
}
@@ -256,7 +242,8 @@
}
/**
- * Retourne un ListenerSet contenant seulement les listener de la categorie
+ * @param category categorie demandee
+ * @return un ListenerSet contenant seulement les listener de la categorie
* demandé. Si la categorie n'existe pas alors elle est créé.
*/
protected ListenerSet<L> getListeners(Object category) {
Modified: trunk/src/main/java/org/nuiton/util/CollectionUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/CollectionUtil.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/main/java/org/nuiton/util/CollectionUtil.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -92,16 +92,19 @@
* pas en adéquation avec le type voulue.
*/
@SuppressWarnings({"unchecked"})
- static public <O> List<O> toGenericList(List list, Class<O> type) throws IllegalArgumentException {
+ static public <O> List<O> toGenericList(
+ List<?> list, Class<O> type) throws IllegalArgumentException {
if (list.isEmpty()) {
- return list;
+ return (List<O>) list;
}
for (Object o : list) {
- if (!(type.isAssignableFrom(o.getClass()))) {
- throw new IllegalArgumentException("can not cast List with object of type " + o.getClass() + " to " + type + " type!");
+ if (!type.isAssignableFrom(o.getClass())) {
+ throw new IllegalArgumentException(
+ "can not cast List with object of type " +
+ o.getClass() + " to " + type + " type!");
}
}
- return list;
+ return (List<O>) list;
}
/**
@@ -120,16 +123,19 @@
* pas en adéquation avec le type voulue.
*/
@SuppressWarnings({"unchecked"})
- static public <O> Collection<O> toGenericCollection(Collection list, Class<O> type) throws IllegalArgumentException {
+ static public <O> Collection<O> toGenericCollection(
+ Collection<?> list, Class<O> type) throws IllegalArgumentException {
if (list.isEmpty()) {
- return list;
+ return (Collection<O>) list;
}
for (Object o : list) {
- if (!(type.isAssignableFrom(o.getClass()))) {
- throw new IllegalArgumentException("can not cast Collection with object of type " + o.getClass() + " to " + type + " type!");
+ if (!type.isAssignableFrom(o.getClass())) {
+ throw new IllegalArgumentException(
+ "can not cast Collection with object of type " +
+ o.getClass() + " to " + type + " type!");
}
}
- return list;
+ return (Collection<O>) list;
}
/**
@@ -148,16 +154,19 @@
* pas en adéquation avec le type voulue.
*/
@SuppressWarnings({"unchecked"})
- static public <O> Set<O> toGenericSet(Set list, Class<O> type) throws IllegalArgumentException {
+ static public <O> Set<O> toGenericSet(
+ Set<?> list, Class<O> type) throws IllegalArgumentException {
if (list.isEmpty()) {
- return list;
+ return (Set<O>) list;
}
for (Object o : list) {
- if (!(type.isAssignableFrom(o.getClass()))) {
- throw new IllegalArgumentException("can not cast Set with object of type " + o.getClass() + " to " + type + " type!");
+ if (!type.isAssignableFrom(o.getClass())) {
+ throw new IllegalArgumentException(
+ "can not cast Set with object of type " +
+ o.getClass() + " to " + type + " type!");
}
}
- return list;
+ return (Set<O>) list;
}
}
Modified: trunk/src/main/java/org/nuiton/util/FileUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FileUtil.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/main/java/org/nuiton/util/FileUtil.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -614,8 +614,8 @@
return result;
}
- static public interface FileAction {
- public boolean doAction(File f);
+ public interface FileAction {
+ boolean doAction(File f);
}
/**
Modified: trunk/src/main/java/org/nuiton/util/Log.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/Log.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/main/java/org/nuiton/util/Log.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -78,10 +78,10 @@
static private Log LOG_INSTANCE = new Log();
/** L'interface que doivent respecter un listener */
- static public interface LogListener extends EventListener {
- public void logMessage(LogEvent e);
+ public interface LogListener extends EventListener {
+ void logMessage(LogEvent e);
- public void logTask(LogEvent e);
+ void logTask(LogEvent e);
}
/** Les events envoyes aux listeners */
Modified: trunk/src/main/java/org/nuiton/util/SortedProperties.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/SortedProperties.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/main/java/org/nuiton/util/SortedProperties.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -45,7 +45,6 @@
public SortedProperties() {
- super();
}
public SortedProperties(Properties defaults) {
Modified: trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java 2010-04-12 19:25:17 UTC (rev 1824)
+++ trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java 2010-04-14 09:26:43 UTC (rev 1825)
@@ -83,7 +83,7 @@
}
{
- CategorisedListenerSet<Object> cls = new CategorisedListenerSet<Object>(null, false);
+ CategorisedListenerSet<Object> cls = new CategorisedListenerSet<Object>(false);
String[] ls = new String[]{"Double", "Long", "Number", "Object",
"LoggingException", "Throwable"};
1
0
Author: tchemit
Date: 2010-04-12 21:25:17 +0200 (Mon, 12 Apr 2010)
New Revision: 1824
Log:
[maven-release-plugin] prepare for next development iteration
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-12 19:25:16 UTC (rev 1823)
+++ trunk/pom.xml 2010-04-12 19:25:17 UTC (rev 1824)
@@ -42,7 +42,7 @@
</parent>
<artifactId>nuiton-utils</artifactId>
- <version>1.2.2</version>
+ <version>1.2.3-SNAPSHOT</version>
<dependencies>
@@ -169,9 +169,9 @@
<!-- Source control management. -->
<scm>
- <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/tags/nuiton-utils-1.2.2</connection>
- <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/tags/nuiton-utils-1.2.2</developerConnection>
- <url>http://www.nuiton.org/repositories/browse/nuiton-utils/tags/nuiton-utils-1.…</url>
+ <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/trunk</connection>
+ <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/trunk</developerConnection>
+ <url>http://www.nuiton.org/repositories/browse/nuiton-utils/trunk</url>
</scm>
<profiles>
1
0
Author: tchemit
Date: 2010-04-12 21:25:16 +0200 (Mon, 12 Apr 2010)
New Revision: 1823
Log:
[maven-release-plugin] copy for tag nuiton-utils-1.2.2
Added:
tags/nuiton-utils-1.2.2/
Property changes on: tags/nuiton-utils-1.2.2
___________________________________________________________________
Added: svn:ignore
+ target
velocity.log
maven.log
.eclipse
.classpath
*.iml
*.ipr
*.iws
.settings
.project
Added: svn:mergeinfo
+
1
0
Author: tchemit
Date: 2010-04-12 21:25:14 +0200 (Mon, 12 Apr 2010)
New Revision: 1822
Log:
[maven-release-plugin] prepare release nuiton-utils-1.2.2
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-12 13:46:06 UTC (rev 1821)
+++ trunk/pom.xml 2010-04-12 19:25:14 UTC (rev 1822)
@@ -27,9 +27,7 @@
#L%
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -44,7 +42,7 @@
</parent>
<artifactId>nuiton-utils</artifactId>
- <version>1.2.2-SNAPSHOT</version>
+ <version>1.2.2</version>
<dependencies>
@@ -171,9 +169,9 @@
<!-- Source control management. -->
<scm>
- <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/trunk</connection>
- <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/trunk</developerConnection>
- <url>http://www.nuiton.org/repositories/browse/nuiton-utils/trunk</url>
+ <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/tags/nuiton-utils-1.2.2</connection>
+ <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-utils/tags/nuiton-utils-1.2.2</developerConnection>
+ <url>http://www.nuiton.org/repositories/browse/nuiton-utils/tags/nuiton-utils-1.…</url>
</scm>
<profiles>
1
0
r1821 - in trunk: . src src/license src/main/java/org/nuiton/util src/main/java/org/nuiton/util/beans src/main/java/org/nuiton/util/config src/main/java/org/nuiton/util/war src/site src/site/apt src/test/java/org/nuiton/util src/test/java/org/nuiton/util/beans
by tchemit@users.nuiton.org 12 Apr '10
by tchemit@users.nuiton.org 12 Apr '10
12 Apr '10
Author: tchemit
Date: 2010-04-12 15:46:06 +0200 (Mon, 12 Apr 2010)
New Revision: 1821
Log:
- Evolution #489: Use mavenpom 2.1 and maven-license-plugin 2.1
- Evolution #490: Use junit 4.8.1
- remove H2TypeEnum
- use new file headers
- clean a little code
Added:
trunk/src/license/
trunk/src/license/project.xml
Removed:
trunk/src/main/java/org/nuiton/util/H2TypeEnum.java
Modified:
trunk/pom.xml
trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java
trunk/src/main/java/org/nuiton/util/ArrayUtil.java
trunk/src/main/java/org/nuiton/util/BoundedList.java
trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java
trunk/src/main/java/org/nuiton/util/CallAnalyse.java
trunk/src/main/java/org/nuiton/util/CardinalityHelper.java
trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java
trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java
trunk/src/main/java/org/nuiton/util/CollectionUtil.java
trunk/src/main/java/org/nuiton/util/ConverterUtil.java
trunk/src/main/java/org/nuiton/util/DateUtils.java
trunk/src/main/java/org/nuiton/util/DigestGenerator.java
trunk/src/main/java/org/nuiton/util/EnumConverter.java
trunk/src/main/java/org/nuiton/util/ExceptionUtil.java
trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java
trunk/src/main/java/org/nuiton/util/FileCompletion.java
trunk/src/main/java/org/nuiton/util/FileUtil.java
trunk/src/main/java/org/nuiton/util/FormatConverter.java
trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java
trunk/src/main/java/org/nuiton/util/FormatMap.java
trunk/src/main/java/org/nuiton/util/GZUtil.java
trunk/src/main/java/org/nuiton/util/GZUtilException.java
trunk/src/main/java/org/nuiton/util/HashList.java
trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java
trunk/src/main/java/org/nuiton/util/ListenerSet.java
trunk/src/main/java/org/nuiton/util/Log.java
trunk/src/main/java/org/nuiton/util/LoggingException.java
trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java
trunk/src/main/java/org/nuiton/util/MD5InputStream.java
trunk/src/main/java/org/nuiton/util/MD5OutputStream.java
trunk/src/main/java/org/nuiton/util/MonthEnum.java
trunk/src/main/java/org/nuiton/util/ObjectUtil.java
trunk/src/main/java/org/nuiton/util/PeriodDates.java
trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java
trunk/src/main/java/org/nuiton/util/RecursiveProperties.java
trunk/src/main/java/org/nuiton/util/ReflectUtil.java
trunk/src/main/java/org/nuiton/util/Resource.java
trunk/src/main/java/org/nuiton/util/ResourceException.java
trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java
trunk/src/main/java/org/nuiton/util/ResourceResolver.java
trunk/src/main/java/org/nuiton/util/ReverseFileReader.java
trunk/src/main/java/org/nuiton/util/SortedProperties.java
trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java
trunk/src/main/java/org/nuiton/util/StringUtil.java
trunk/src/main/java/org/nuiton/util/StringUtilException.java
trunk/src/main/java/org/nuiton/util/TransformedList.java
trunk/src/main/java/org/nuiton/util/Transformer.java
trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java
trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java
trunk/src/main/java/org/nuiton/util/URIConverter.java
trunk/src/main/java/org/nuiton/util/URLConverter.java
trunk/src/main/java/org/nuiton/util/Version.java
trunk/src/main/java/org/nuiton/util/VersionConverter.java
trunk/src/main/java/org/nuiton/util/VersionUtil.java
trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java
trunk/src/main/java/org/nuiton/util/ZipUtil.java
trunk/src/main/java/org/nuiton/util/beans/Binder.java
trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java
trunk/src/main/java/org/nuiton/util/beans/BinderModel.java
trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java
trunk/src/main/java/org/nuiton/util/beans/package-info.java
trunk/src/main/java/org/nuiton/util/config/Config.java
trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java
trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java
trunk/src/main/java/org/nuiton/util/config/Property.java
trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java
trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java
trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java
trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java
trunk/src/main/java/org/nuiton/util/war/package-info.java
trunk/src/site/apt/ApplicationConfig.apt
trunk/src/site/apt/Warlauncher.apt
trunk/src/site/apt/index.apt
trunk/src/site/apt/nuitonUtil.apt
trunk/src/site/site_fr.xml
trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java
trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java
trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java
trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java
trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java
trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java
trunk/src/test/java/org/nuiton/util/DateUtilsTest.java
trunk/src/test/java/org/nuiton/util/FileCompletionTest.java
trunk/src/test/java/org/nuiton/util/FileUtilTest.java
trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java
trunk/src/test/java/org/nuiton/util/ListenerSetTest.java
trunk/src/test/java/org/nuiton/util/LogTest.java
trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java
trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java
trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java
trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java
trunk/src/test/java/org/nuiton/util/ResourceTest.java
trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java
trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java
trunk/src/test/java/org/nuiton/util/StringUtilTest.java
trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java
trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java
trunk/src/test/java/org/nuiton/util/VersionConverterTest.java
trunk/src/test/java/org/nuiton/util/VersionTest.java
trunk/src/test/java/org/nuiton/util/VersionUtilTest.java
trunk/src/test/java/org/nuiton/util/ZipUtilTest.java
trunk/src/test/java/org/nuiton/util/beans/BeanA.java
trunk/src/test/java/org/nuiton/util/beans/BeanB.java
trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java
trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java
trunk/src/test/java/org/nuiton/util/beans/BinderTest.java
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/pom.xml 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,6 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<!--
+ #%L
+ Nuiton Utils
+ $Author$
+ $LastChangedDate$
+ $LastChangedRevision$
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2004 - 2010 CodeLutin
+ %%
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<modelVersion>4.0.0</modelVersion>
<!-- ************************************************************* -->
@@ -65,7 +95,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.7</version>
+ <version>4.8.1</version>
<scope>test</scope>
</dependency>
@@ -135,20 +165,6 @@
</build>
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <quiet>true</quiet>
- <links>
- <link>http://java.sun.com/javase/6/docs/api/</link>
- </links>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
<!-- ************************************************************* -->
<!-- *** Build Environment ************************************** -->
<!-- ************************************************************* -->
@@ -162,6 +178,31 @@
<profiles>
<profile>
+ <id>reporting</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <quiet>true</quiet>
+ <links>
+ <link>http://java.sun.com/javase/6/docs/api/</link>
+ </links>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ </profile>
+
+ <profile>
<id>release-profile</id>
<activation>
<property>
Added: trunk/src/license/project.xml
===================================================================
--- trunk/src/license/project.xml (rev 0)
+++ trunk/src/license/project.xml 2010-04-12 13:46:06 UTC (rev 1821)
@@ -0,0 +1,69 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ #%L
+ Nuiton Utils
+
+ $Author$
+ $LastChangedDate$
+ $LastChangedRevision$
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2004 - 2010 CodeLutin
+ %%
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+ -->
+
+<project xmlns="http://maven-site.nuiton.org/maven-license-plugin/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven-site.nuiton.org/maven-license-plugin/1.0.0 http://maven-site.nuiton.org/maven-license-plugin/licenseProjectDescriptor-…">
+ <mainLicense>lgpl_v3</mainLicense>
+
+ <headers>
+
+ <header>
+ <commentStyle>java</commentStyle>
+ <fileSets>
+ <fileSet>
+ <basedir>src/main/java</basedir>
+ <include>**/*.java</include>
+ </fileSet>
+ <fileSet>
+ <basedir>src/test/java</basedir>
+ <include>**/*.java</include>
+ </fileSet>
+ </fileSets>
+ </header>
+
+ <header>
+ <commentStyle>apt</commentStyle>
+ <fileSet>
+ <basedir>src/site</basedir>
+ <include>**/*.apt</include>
+ </fileSet>
+ </header>
+
+ <header>
+ <commentStyle>xml</commentStyle>
+ <fileSet>
+ <basedir>src/site</basedir>
+ <include>**/*.xml</include>
+ </fileSet>
+ </header>
+
+ </headers>
+
+</project>
Property changes on: trunk/src/license/project.xml
___________________________________________________________________
Added: svn:keywords
+ "Author Date Id Revision HeadURL
Modified: trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,32 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.beanutils.ConstructorUtils;
Modified: trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
Modified: trunk/src/main/java/org/nuiton/util/ArrayUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ArrayUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ArrayUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,32 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* ArrayUtil.java
*
Modified: trunk/src/main/java/org/nuiton/util/BoundedList.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/BoundedList.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/BoundedList.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,32 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* BoundedList.java
*
Modified: trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* BoundedListOfBoundsException.java
Modified: trunk/src/main/java/org/nuiton/util/CallAnalyse.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/CallAnalyse.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/CallAnalyse.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,32 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* CallAnalyse.java
*
Modified: trunk/src/main/java/org/nuiton/util/CardinalityHelper.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/CardinalityHelper.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/CardinalityHelper.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
-* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import java.util.regex.Matcher;
@@ -48,7 +59,7 @@
* disponibles sur une cardianlité à partir d'un nombre d'oocurrence et du max
* de la cardinalité.
*
- * @author tony
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class CardinalityHelper {
Modified: trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,32 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* CategorisedListenerSet.java
*
Modified: trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import org.apache.commons.logging.Log;
@@ -32,7 +42,7 @@
/**
* A usefull class with method for ClassLoader
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class ClassLoaderUtil {
Modified: trunk/src/main/java/org/nuiton/util/CollectionUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/CollectionUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/CollectionUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* CollectionUtil.java
Modified: trunk/src/main/java/org/nuiton/util/ConverterUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ConverterUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ConverterUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import java.lang.reflect.Method;
@@ -27,7 +38,7 @@
/**
* Une classe contenant des méthodes utiles sur les converters et les conversions
*
- * @author tony
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class ConverterUtil {
Modified: trunk/src/main/java/org/nuiton/util/DateUtils.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/DateUtils.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/DateUtils.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,32 +1,40 @@
-package org.nuiton.util;
-
-/**
- * *##% Chorem-Commons
- * Copyright (C) 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+package org.nuiton.util;
+
+import java.text.DateFormat;
import java.text.DateFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
-import org.apache.commons.logging.LogFactory;
-import org.apache.commons.logging.Log;
/**
* Library for manipulating dates.
@@ -50,7 +58,7 @@
* @param date the date to format
* @param pattern the pattern to use
* @return a String corresponding to the date formatted
- * @see java.text.DateFormat
+ * @see DateFormat
*/
public static String formatDate(Date date, String pattern) {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);
@@ -70,7 +78,7 @@
* @param pattern the pattern to use
* @return a Date corresponding to the String argument parsed
* @throws ParseException for parsing errors
- * @see java.text.DateFormat
+ * @see DateFormat
*/
public static Date parseDate(String date, String pattern) throws ParseException {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);
@@ -198,7 +206,7 @@
* @param afterDate the second date of the period
* @return true if the current date is included between the two dates,
* false otherwise
- * @see #between(java.util.Date, java.util.Date, java.util.Date)
+ * @see #between(Date, Date, Date)
*/
public static boolean currentPeriod(Date beforeDate, Date afterDate) {
return between(new Date(), beforeDate, afterDate);
@@ -228,7 +236,7 @@
long begin = beginDate.getTime();
long end = endDate.getTime();
// 86400000 = 24 * 60 * 60 * 1000
- return (int) Math.ceil(((end - begin) / 86400000));
+ return (int) Math.ceil((end - begin) / 86400000);
}
/**
Modified: trunk/src/main/java/org/nuiton/util/DigestGenerator.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/DigestGenerator.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/DigestGenerator.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,22 +1,12 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
- */
/*
+ * Nuiton Utils %%Ignore-License
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
Modified: trunk/src/main/java/org/nuiton/util/EnumConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/EnumConverter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/EnumConverter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.beanutils.ConversionException;
@@ -35,7 +46,7 @@
* méthodes * {@link ConverterUtil#registerEnumConverter(Class)},
* et {@link ConverterUtil#registerEnumConverter(Class,Object)} .
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @see Enum
* @see Enum#ordinal()
*/
Modified: trunk/src/main/java/org/nuiton/util/ExceptionUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ExceptionUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ExceptionUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* ExceptionUtil.java
Modified: trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import java.net.URL;
Modified: trunk/src/main/java/org/nuiton/util/FileCompletion.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FileCompletion.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/FileCompletion.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util;
Modified: trunk/src/main/java/org/nuiton/util/FileUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FileUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/FileUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* FileUtil.java
@@ -29,6 +40,7 @@
package org.nuiton.util;
+import java.awt.Component;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
@@ -61,12 +73,13 @@
import javax.swing.JFileChooser;
+import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class FileUtil { // FileUtil
/** to use log facility, just put in your code: log.info(\"...\"); */
- static private org.apache.commons.logging.Log log = LogFactory.getLog(FileUtil.class);
+ static private Log log = LogFactory.getLog(FileUtil.class);
/** Encoding par defaut utilisé si non spécifié */
static public String ENCODING = "ISO-8859-1";
@@ -139,7 +152,7 @@
* @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé
* @see #getFile(javax.swing.filechooser.FileFilter[])
*/
- static public File getFile(java.awt.Component parent, String... patternOrDescriptionFilters) {
+ static public File getFile(Component parent, String... patternOrDescriptionFilters) {
File result;
result = getFile("Ok", "Ok", parent, patternOrDescriptionFilters);
return result;
@@ -157,7 +170,7 @@
* @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé
* @see #getFile(javax.swing.filechooser.FileFilter[])
*/
- static public File getFile(String title, String approvalText,java.awt.Component parent, String... patternOrDescriptionFilters) {
+ static public File getFile(String title, String approvalText, Component parent, String... patternOrDescriptionFilters) {
if (patternOrDescriptionFilters.length % 2 != 0) {
throw new IllegalArgumentException("Arguments must be (pattern, description) couple");
@@ -182,7 +195,7 @@
* @param filters les filtres a ajouter
* @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé
*/
- static public File getFile(java.awt.Component parent, javax.swing.filechooser.FileFilter... filters) {
+ static public File getFile(Component parent, javax.swing.filechooser.FileFilter... filters) {
File result = getFile("Ok", "Ok", parent, filters);
return result;
}
@@ -197,7 +210,7 @@
* @param filters les filtres a ajouter
* @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé
*/
- static public File getFile(String title, String approvalText, java.awt.Component parent, javax.swing.filechooser.FileFilter... filters) {
+ static public File getFile(String title, String approvalText, Component parent, javax.swing.filechooser.FileFilter... filters) {
try {
JFileChooser chooser = new JFileChooser(currentDirectory);
@@ -257,7 +270,7 @@
* Si le bouton annuler est utilisé, ou qu'il y a une erreur retourne
* null.
*/
- static public String getDirectory(java.awt.Component parent, String title, String approvalText) {
+ static public String getDirectory(Component parent, String title, String approvalText) {
try {
JFileChooser chooser = new JFileChooser(currentDirectory);
chooser.setDialogType(JFileChooser.CUSTOM_DIALOG);
@@ -422,7 +435,7 @@
* @param tmpdir le répertoire temporaire ou il faut creer le repertoire
* si null on utilise java.io.tmpdir
* @return le fichier pointant sur le nouveau repertoire
- * @throws java.io.IOException if any io pb
+ * @throws IOException if any io pb
*/
static public File createTempDirectory(String prefix, String suffix, File tmpdir) throws IOException {
if (tmpdir == null) {
@@ -445,7 +458,7 @@
* @param prefix le prefix du repertoire a creer
* @param suffix le suffix du repertoire a creer.
* @return the temprary created file
- * @throws java.io.IOException if any io pb
+ * @throws IOException if any io pb
*/
static public File createTempDirectory(String prefix, String suffix) throws IOException {
return createTempDirectory(prefix, suffix, null);
Modified: trunk/src/main/java/org/nuiton/util/FormatConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FormatConverter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/FormatConverter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* FormatConverter.java
Modified: trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* FormatConverterFactory.java
@@ -61,7 +72,7 @@
/** to use log facility, just put in your code: log.info(\"...\"); */
static private Log log = LogFactory.getLog(FormatConverterFactory.class);
- static protected FormatConverterFactory instance = null;
+ static protected FormatConverterFactory instance;
/** <Class, from, to -> FormatConverter> */
protected MultiKeyMap converters = new MultiKeyMap();
Modified: trunk/src/main/java/org/nuiton/util/FormatMap.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FormatMap.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/FormatMap.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* FormatMap.java
@@ -69,7 +80,7 @@
static public class Format {
- protected String name = null;
+ protected String name;
public Format(String name) {
this.name = name;
@@ -80,7 +91,7 @@
return name;
}
}
- protected Class<?> clazz = null;
+ protected Class<?> clazz;
public FormatMap(Class<?> clazz) {
this.clazz = clazz;
Modified: trunk/src/main/java/org/nuiton/util/GZUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/GZUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/GZUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* GZUtil.java
Modified: trunk/src/main/java/org/nuiton/util/GZUtilException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/GZUtilException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/GZUtilException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* GZUtilException.java
Deleted: trunk/src/main/java/org/nuiton/util/H2TypeEnum.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/H2TypeEnum.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/H2TypeEnum.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,32 +0,0 @@
-/*
-* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
- * License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
-package org.nuiton.util;
-
-/**
- * Une énumération pour représenter les différentes types d'implantation dans H2
- *
- * @author chemit
- * @deprecated since 1.2, will be removed soon and not replace.
- */
-@Deprecated
-public enum H2TypeEnum {
- derby,
- h2,
- hsql,
- mckoi
-}
Modified: trunk/src/main/java/org/nuiton/util/HashList.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/HashList.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/HashList.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* HashList.java
@@ -32,7 +43,6 @@
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
-import java.util.Iterator;
/**
* Cette objet permet de gerer l'unicité des objets ajouté.
@@ -54,7 +64,6 @@
protected HashSet<E> set = new HashSet<E>();
public HashList() {
- super();
}
public HashList(Collection<? extends E> c) {
@@ -105,9 +114,8 @@
@Override
public boolean addAll(Collection<? extends E> c) {
boolean modified = false;
- Iterator<? extends E> e = c.iterator();
- while (e.hasNext()) {
- if (add(e.next()))
+ for (E aC : c) {
+ if (add(aC))
modified = true;
}
return modified;
@@ -117,9 +125,8 @@
@Override
public boolean addAll(int index, Collection<? extends E> c) {
boolean modified = false;
- Iterator<? extends E> e = c.iterator();
- while (e.hasNext()) {
- add(index++, e.next());
+ for (E aC : c) {
+ add(index++, aC);
modified = true;
}
return modified;
Modified: trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* LRUMapMultiKey.java
Modified: trunk/src/main/java/org/nuiton/util/ListenerSet.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ListenerSet.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ListenerSet.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* ListenerSet.java
*
Modified: trunk/src/main/java/org/nuiton/util/Log.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/Log.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/Log.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* Log.java
Modified: trunk/src/main/java/org/nuiton/util/LoggingException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/LoggingException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/LoggingException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* LogException.java
Modified: trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* PatternFormatter.java
Modified: trunk/src/main/java/org/nuiton/util/MD5InputStream.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/MD5InputStream.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/MD5InputStream.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import org.apache.commons.logging.Log;
Modified: trunk/src/main/java/org/nuiton/util/MD5OutputStream.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/MD5OutputStream.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/MD5OutputStream.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import java.io.OutputStream;
Modified: trunk/src/main/java/org/nuiton/util/MonthEnum.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/MonthEnum.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/MonthEnum.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
-* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.logging.Log;
@@ -25,7 +36,7 @@
/**
* Une énumération pour représenter les mois d'une année.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public enum MonthEnum {
Modified: trunk/src/main/java/org/nuiton/util/ObjectUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ObjectUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ObjectUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* ObjectUtil.java
Modified: trunk/src/main/java/org/nuiton/util/PeriodDates.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/PeriodDates.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/PeriodDates.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,30 +1,36 @@
-package org.nuiton.util;
-
-/**
- * *##% Chorem-Commons
- * Copyright (C) 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+package org.nuiton.util;
-
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
-import java.util.GregorianCalendar;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
-* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import java.io.FilterOutputStream;
Modified: trunk/src/main/java/org/nuiton/util/RecursiveProperties.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/RecursiveProperties.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/RecursiveProperties.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* RecursiveProperties.java
@@ -56,7 +67,6 @@
private static final long serialVersionUID = -5012939272780929116L;
public RecursiveProperties() {
- super();
}
public RecursiveProperties(Properties defaults) {
Modified: trunk/src/main/java/org/nuiton/util/ReflectUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ReflectUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ReflectUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import static org.nuiton.i18n.I18n._;
@@ -27,7 +38,7 @@
/**
* Des méthodes utiles d'introspection
*
- * @author tony
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class ReflectUtil {
Modified: trunk/src/main/java/org/nuiton/util/Resource.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/Resource.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/Resource.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* Resource.java
Modified: trunk/src/main/java/org/nuiton/util/ResourceException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ResourceException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ResourceException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* ResourceException.java
Modified: trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* ResourceNotFoundException.java
Modified: trunk/src/main/java/org/nuiton/util/ResourceResolver.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ResourceResolver.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ResourceResolver.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import java.net.URL;
Modified: trunk/src/main/java/org/nuiton/util/ReverseFileReader.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ReverseFileReader.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ReverseFileReader.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
* Copyright (C) 2004 - 2010 CodeLutin
- *
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util;
Modified: trunk/src/main/java/org/nuiton/util/SortedProperties.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/SortedProperties.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/SortedProperties.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
Modified: trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* StreamKeywordTokenizer.java
Modified: trunk/src/main/java/org/nuiton/util/StringUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* StringUtil.java
*
Modified: trunk/src/main/java/org/nuiton/util/StringUtilException.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/StringUtilException.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/StringUtilException.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,29 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util;
Modified: trunk/src/main/java/org/nuiton/util/TransformedList.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/TransformedList.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/TransformedList.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* TransformedList.java
Modified: trunk/src/main/java/org/nuiton/util/Transformer.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/Transformer.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/Transformer.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,32 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* Transformer.java
*
Modified: trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* TransparenteSoftReference.java
*
Modified: trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
/* *
* TransparenteWeakReference.java
*
Modified: trunk/src/main/java/org/nuiton/util/URIConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/URIConverter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/URIConverter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,31 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.beanutils.ConversionException;
@@ -28,7 +40,7 @@
/**
* classe pour convertir une chaine en un objet URI.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class URIConverter implements Converter {
Modified: trunk/src/main/java/org/nuiton/util/URLConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/URLConverter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/URLConverter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.beanutils.ConversionException;
@@ -29,7 +40,7 @@
/**
* classe pour convertir une chaine en un objet URL.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class URLConverter implements Converter {
Modified: trunk/src/main/java/org/nuiton/util/Version.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/Version.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/Version.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import static org.nuiton.i18n.I18n._;
@@ -54,7 +65,7 @@
* but prefer use the factory static methods
* <code>VersionUtil.valueOf(...)</code> instead.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.1.0
*/
public class Version implements Comparable<Version>, Serializable {
Modified: trunk/src/main/java/org/nuiton/util/VersionConverter.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/VersionConverter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/VersionConverter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.beanutils.ConversionException;
@@ -26,7 +37,7 @@
/**
* classe pour convertir une chaine en un objet Version.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @see Version
*/
public class VersionConverter implements Converter {
Modified: trunk/src/main/java/org/nuiton/util/VersionUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/VersionUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/VersionUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import java.util.*;
@@ -36,7 +46,7 @@
* - removeClassifier(Version) : to remove a classifier from a version
* </pre>
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.1.0
*/
public class VersionUtil {
Modified: trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
-/*
-* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import java.io.IOException;
Modified: trunk/src/main/java/org/nuiton/util/ZipUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ZipUtil.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/ZipUtil.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
Modified: trunk/src/main/java/org/nuiton/util/beans/Binder.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/beans/Binder.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/beans/Binder.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
* Copyright (C) 2004 - 2010 CodeLutin
- *
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util.beans;
Modified: trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
/*
- * *##% Nuiton utilities library
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
* Copyright (C) 2004 - 2010 CodeLutin
- *
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.beans;
import java.beans.BeanInfo;
Modified: trunk/src/main/java/org/nuiton/util/beans/BinderModel.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/beans/BinderModel.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/beans/BinderModel.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,24 +1,35 @@
/*
- * *##% Nuiton utilities library
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
* Copyright (C) 2004 - 2010 CodeLutin
- *
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.beans;
import java.beans.PropertyDescriptor;
+import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.Map;
import java.util.Set;
@@ -35,7 +46,7 @@
* @param <T> the target type
* @since 1.1.5
*/
-public class BinderModel<S, T> implements java.io.Serializable {
+public class BinderModel<S, T> implements Serializable {
/**
* source type
@@ -65,9 +76,9 @@
public BinderModel(Class<S> sourceType, Class<T> targetType) {
this.sourceType = sourceType;
this.targetType = targetType;
- this.sourceDescriptors = new TreeMap<String, PropertyDescriptor>();
- this.targetDescriptors = new TreeMap<String, PropertyDescriptor>();
- this.propertiesMapping = new TreeMap<String, String>();
+ sourceDescriptors = new TreeMap<String, PropertyDescriptor>();
+ targetDescriptors = new TreeMap<String, PropertyDescriptor>();
+ propertiesMapping = new TreeMap<String, String>();
}
/**
Modified: trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
* Copyright (C) 2004 - 2010 CodeLutin
- *
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util.beans;
@@ -155,7 +164,7 @@
* @param builder the builder which contains builder model to use
* @see BinderBuilder#createBinder(Class)
*/
- public static <B extends Binder> void registerBinder(BinderBuilder builder) {
+ public static void registerBinder(BinderBuilder builder) {
registerBinder(builder, Binder.class);
}
@@ -169,7 +178,7 @@
* @param binderType the type of binder to instanciate and register.
* @see BinderBuilder#createBinder(Class)
*/
- public static <B extends Binder> void registerBinder(BinderBuilder builder,
+ public static <B extends Binder<?,?>> void registerBinder(BinderBuilder builder,
Class<B> binderType) {
registerBinder(builder, binderType, null);
@@ -185,8 +194,7 @@
* @param name the context's name
* @see BinderBuilder#createBinder(Class)
*/
- public static <B extends Binder> void registerBinder(BinderBuilder builder,
- String name) {
+ public static void registerBinder(BinderBuilder builder, String name) {
registerBinder(builder, Binder.class, name);
}
@@ -202,7 +210,7 @@
* @param name the context's name
* @see BinderBuilder#createBinder(Class)
*/
- public static <B extends Binder> void registerBinder(BinderBuilder builder,
+ public static <B extends Binder<?,?>> void registerBinder(BinderBuilder builder,
Class<B> binderType,
String name) {
// instanciate the binder
@@ -230,7 +238,7 @@
if (log.isDebugEnabled()) {
log.debug("binder to seek : " + entry);
}
- Binder oldBinder = getBinders().get(entry);
+ Binder<?,?> oldBinder = getBinders().get(entry);
if (oldBinder != null) {
// already a binder for this entry
if (log.isWarnEnabled()) {
Modified: trunk/src/main/java/org/nuiton/util/beans/package-info.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/beans/package-info.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/beans/package-info.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,30 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* Packages for all stuff of bean transformations (binder, and others...).
*
Modified: trunk/src/main/java/org/nuiton/util/config/Config.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/config/Config.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/config/Config.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.config;
import java.util.EnumMap;
@@ -24,7 +34,7 @@
/**
* config contract based on a Enum to obtain properties
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public interface Config<E extends Enum<E>> {
Modified: trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.config;
import org.nuiton.util.ApplicationConfig;
@@ -24,7 +34,7 @@
/**
* Definition of an identity
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig}
* instead
*/
Modified: trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.config;
import org.nuiton.util.ApplicationConfig;
@@ -23,7 +33,7 @@
/**
* Enumaration of properties to be used in a {@link IdentityConfig}
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @see IdentityConfig
* @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig}
* instead
Modified: trunk/src/main/java/org/nuiton/util/config/Property.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/config/Property.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/config/Property.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,27 +1,37 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.config;
import org.nuiton.util.ApplicationConfig;
/**
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @deprecated since 1.2.2 (will be remove soon), use {@link
* ApplicationConfig} instead
*/
Modified: trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.config;
import org.apache.commons.beanutils.BeanUtils;
@@ -31,7 +41,7 @@
/**
* simple config implementation based on a Enum to obtain properties
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig}
* instead
*/
Modified: trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util.config;
import org.nuiton.util.ApplicationConfig;
@@ -26,7 +36,7 @@
import java.util.EnumMap;
-/** @author chemit
+/** @author tchemit <chemit(a)codelutin.com>
* @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig}
* instead*/
@Deprecated
Modified: trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,30 @@
-/* *##%
- * Copyright (C) 2009 Code Lutin
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *##%*/
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util.war;
Modified: trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,30 @@
-/* *##%
- * Copyright (C) 2009 Code Lutin
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *##%*/
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util.war;
Modified: trunk/src/main/java/org/nuiton/util/war/package-info.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/war/package-info.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/main/java/org/nuiton/util/war/package-info.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,30 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* Embedded war launchers.
*
Modified: trunk/src/site/apt/ApplicationConfig.apt
===================================================================
--- trunk/src/site/apt/ApplicationConfig.apt 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/site/apt/ApplicationConfig.apt 2010-04-12 13:46:06 UTC (rev 1821)
@@ -4,7 +4,36 @@
----
2010-02-23
----
+
+~~~
+~~ #%L
+~~ Nuiton Utils
+~~
+~~ $Author$
+~~ $LastChangedDate$
+~~ $LastChangedRevision$
+~~ $Id$
+~~ $HeadURL$
+~~ %%
+~~ Copyright (C) 2004 - 2010 CodeLutin
+~~ %%
+~~ This program is free software: you can redistribute it and/or modify
+~~ it under the terms of the GNU Lesser General Public License as
+~~ published by the Free Software Foundation, either version 3 of the
+~~ License, or (at your option) any later version.
+~~
+~~ This program is distributed in the hope that it will be useful,
+~~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+~~ GNU General Lesser Public License for more details.
+~~
+~~ You should have received a copy of the GNU General Lesser Public
+~~ License along with this program. If not, see
+~~ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+~~ #L%
+~~~
+
Présentation
La classe ApplicationConfig a pour but de gérer les options et action
@@ -292,4 +321,4 @@
System.out.println("Connected, do something...");
config.doAction(MyConfig.AFTER_LOGIN);
}
-+-------------------------------------------
\ No newline at end of file
++-------------------------------------------
Modified: trunk/src/site/apt/Warlauncher.apt
===================================================================
--- trunk/src/site/apt/Warlauncher.apt 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/site/apt/Warlauncher.apt 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,7 +1,36 @@
------
War launcher
------
+
+~~~
+~~ #%L
+~~ Nuiton Utils
+~~
+~~ $Author$
+~~ $LastChangedDate$
+~~ $LastChangedRevision$
+~~ $Id$
+~~ $HeadURL$
+~~ %%
+~~ Copyright (C) 2004 - 2010 CodeLutin
+~~ %%
+~~ This program is free software: you can redistribute it and/or modify
+~~ it under the terms of the GNU Lesser General Public License as
+~~ published by the Free Software Foundation, either version 3 of the
+~~ License, or (at your option) any later version.
+~~
+~~ This program is distributed in the hope that it will be useful,
+~~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+~~ GNU General Lesser Public License for more details.
+~~
+~~ You should have received a copy of the GNU General Lesser Public
+~~ License along with this program. If not, see
+~~ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+~~ #L%
+~~~
+
War launcher
* Features
Modified: trunk/src/site/apt/index.apt
===================================================================
(Binary files differ)
Modified: trunk/src/site/apt/nuitonUtil.apt
===================================================================
--- trunk/src/site/apt/nuitonUtil.apt 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/site/apt/nuitonUtil.apt 2010-04-12 13:46:06 UTC (rev 1821)
@@ -4,6 +4,34 @@
----
2009-08-23
----
+
+~~~
+~~ #%L
+~~ Nuiton Utils
+~~
+~~ $Author$
+~~ $LastChangedDate$
+~~ $LastChangedRevision$
+~~ $Id$
+~~ $HeadURL$
+~~ %%
+~~ Copyright (C) 2004 - 2010 CodeLutin
+~~ %%
+~~ This program is free software: you can redistribute it and/or modify
+~~ it under the terms of the GNU Lesser General Public License as
+~~ published by the Free Software Foundation, either version 3 of the
+~~ License, or (at your option) any later version.
+~~
+~~ This program is distributed in the hope that it will be useful,
+~~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+~~ GNU General Lesser Public License for more details.
+~~
+~~ You should have received a copy of the GNU General Lesser Public
+~~ License along with this program. If not, see
+~~ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+~~ #L%
+~~~
Documentation
Modified: trunk/src/site/site_fr.xml
===================================================================
--- trunk/src/site/site_fr.xml 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/site/site_fr.xml 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,38 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ #%L
+ Nuiton Utils
+
+ $Author$
+ $LastChangedDate$
+ $LastChangedRevision$
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2004 - 2010 CodeLutin
+ %%
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation, either version 3 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+ -->
+
<project name="${project.name}">
- <bannerLeft>
- <name>${project.name}</name>
- <href>index.html</href>
- </bannerLeft>
+ <bannerLeft>
+ <name>${project.name}</name>
+ <href>index.html</href>
+ </bannerLeft>
- <poweredBy>
- <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/>
- </poweredBy>
+ <poweredBy>
+ <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/>
+ </poweredBy>
- <body>
+ <body>
- <breadcrumbs>
- <item name="${project.name}" href="index.html" />
- </breadcrumbs>
-
- <menu name="Utilisateur">
- <item name="Accueil" href="index.html"/>
- <item name="Documentation" href="/nuitonUtil.html"/>
- <item name="Application config" href="/ApplicationConfig.html"/>
- <item name="War launcher" href="/Warlauncher.html"/>
- </menu>
+ <breadcrumbs>
+ <item name="${project.name}" href="index.html"/>
+ </breadcrumbs>
- <menu name="Téléchargement">
- <item href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}.jar"
- name="Librairie (jar)"/>
- <item href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-javadoc.jar"
- name="Javadoc (jar)"/>
- <item href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-sources.jar"
- name="Sources (jar)"/>
- </menu>
+ <menu name="Utilisateur">
+ <item name="Accueil" href="index.html"/>
+ <item name="Documentation" href="/nuitonUtil.html"/>
+ <item name="Application config" href="/ApplicationConfig.html"/>
+ <item name="War launcher" href="/Warlauncher.html"/>
+ </menu>
- <menu ref="reports"/>
+ <menu name="Téléchargement">
+ <item
+ href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}.jar"
+ name="Librairie (jar)"/>
+ <item
+ href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-javadoc.jar"
+ name="Javadoc (jar)"/>
+ <item
+ href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-sources.jar"
+ name="Sources (jar)"/>
+ </menu>
- </body>
+ <menu ref="reports"/>
+
+ </body>
</project>
Modified: trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util;
Modified: trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* CallAnalyseTest.java
Modified: trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,31 @@
/*
-* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import junit.framework.TestCase;
@@ -22,7 +33,7 @@
/**
* CardinalityHelper Tester.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @version 1.0
* @since <pre>12/17/2007</pre>
*/
Modified: trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
/*******************************************************************************
Modified: trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import junit.framework.TestCase;
@@ -26,7 +36,7 @@
/**
* CollectionUtil Tester.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @version 1.0
* @since <pre>02/04/2008</pre>
*/
Modified: trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import org.apache.commons.beanutils.ConvertUtils;
@@ -26,7 +36,7 @@
/**
* ConverterUtil Tester.
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @version 1.0
* @since <pre>02/13/2008</pre>
*/
Modified: trunk/src/test/java/org/nuiton/util/DateUtilsTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/DateUtilsTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/DateUtilsTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,30 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
Modified: trunk/src/test/java/org/nuiton/util/FileCompletionTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/FileCompletionTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/FileCompletionTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import org.junit.Ignore;
Modified: trunk/src/test/java/org/nuiton/util/FileUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/FileUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/FileUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
Modified: trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* LRUMapMultiKeyTest.java
Modified: trunk/src/test/java/org/nuiton/util/ListenerSetTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ListenerSetTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ListenerSetTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* ListenerSetTest.java
Modified: trunk/src/test/java/org/nuiton/util/LogTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/LogTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/LogTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* LogTest.java
Modified: trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.logging.Log;
Modified: trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* ObjectUtilTest.java
Modified: trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,30 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
@@ -227,4 +254,4 @@
System.out.println("toString");
}
-}
\ No newline at end of file
+}
Modified: trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
Modified: trunk/src/test/java/org/nuiton/util/ResourceTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ResourceTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ResourceTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* ResourceTest.java
Modified: trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
/*
- * *##% Nuiton utilities library
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
* Copyright (C) 2004 - 2010 CodeLutin
- *
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util;
Modified: trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* StreamKeywordTokenizer.java
Modified: trunk/src/test/java/org/nuiton/util/StringUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/StringUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/StringUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/*******************************************************************************
* StringUtilTest.java
@@ -39,7 +50,8 @@
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
-public class StringUtilTest { // StringUtilTest
+public class StringUtilTest {
+ private static final String[] EMPTY_STRING_ARRAY = new String[0]; // StringUtilTest
@Test
public void testSubstring() throws Exception {
@@ -95,8 +107,8 @@
public void testSplit() {
assertTrue(Arrays.equals(StringUtil.split("toto,titi,tutu"), new String[]{"toto", "titi", "tutu"}));
assertTrue(Arrays.equals(StringUtil.split("toto"), new String[]{"toto"}));
- assertTrue(Arrays.equals(StringUtil.split(""), new String[0]));
- assertTrue(Arrays.equals(StringUtil.split(null), new String[0]));
+ assertTrue(Arrays.equals(StringUtil.split(""), EMPTY_STRING_ARRAY));
+ assertTrue(Arrays.equals(StringUtil.split(null), EMPTY_STRING_ARRAY));
String argTest = "toto, titi, titi($tru('roer'), erke), \"t|u(t{u\\\"ti[ti'\", fin";
String[] arg = StringUtil.split(argTest);
Modified: trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/* *
* TransparenteReferenceTest.java
@@ -40,13 +51,13 @@
public class TransparenteReferenceTest extends TestCase {
public void testHash() {
- Map<TransparenteSoftReference, TransparenteSoftReference> map = new HashMap<TransparenteSoftReference, TransparenteSoftReference>();
+ Map<TransparenteSoftReference<?>, TransparenteSoftReference<?>> map = new HashMap<TransparenteSoftReference<?>, TransparenteSoftReference<?>>();
String key = "key";
- TransparenteSoftReference keyRef = new TransparenteSoftReference<String>(key);
+ TransparenteSoftReference<?> keyRef = new TransparenteSoftReference<String>(key);
String value = "value";
- TransparenteSoftReference valueRef = new TransparenteSoftReference<String>(value);
+ TransparenteSoftReference<?> valueRef = new TransparenteSoftReference<String>(value);
map.put(keyRef, valueRef);
Modified: trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util;
import org.apache.commons.beanutils.Converter;
@@ -5,7 +33,7 @@
/**
* A converter with no getType method, so not registreable via {@link ConverterUtil#initConverters()}
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class UnregistreableConverter implements Converter{
Modified: trunk/src/test/java/org/nuiton/util/VersionConverterTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/VersionConverterTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/VersionConverterTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,20 +1,29 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
package org.nuiton.util;
@@ -28,7 +37,7 @@
/**
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
*/
public class VersionConverterTest {
@@ -91,4 +100,4 @@
boolean result = converter.isEnabled(Version.class);
assertEquals(expResult, result);
}
-}
\ No newline at end of file
+}
Modified: trunk/src/test/java/org/nuiton/util/VersionTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/VersionTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/VersionTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import java.util.ArrayList;
@@ -28,7 +38,7 @@
/**
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.1.0
*/
public class VersionTest {
Modified: trunk/src/test/java/org/nuiton/util/VersionUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/VersionUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/VersionUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,21 +1,31 @@
-/**
- * *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
*/
+
package org.nuiton.util;
import java.util.ArrayList;
@@ -31,7 +41,7 @@
/**
*
- * @author chemit
+ * @author tchemit <chemit(a)codelutin.com>
* @since 1.1.0
*/
public class VersionUtilTest {
Modified: trunk/src/test/java/org/nuiton/util/ZipUtilTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ZipUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/ZipUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,19 +1,30 @@
-/* *##% Nuiton utilities library
- * Copyright (C) 2004 - 2009 CodeLutin
- *
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
- *
- * You should have received a copy of the GNU General Lesser Public
+ *
+ * You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
- * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.util;
@@ -24,6 +35,7 @@
import java.util.Collections;
import java.util.List;
+import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Assert;
import org.junit.Test;
@@ -42,8 +54,7 @@
public class ZipUtilTest {
/** to use log facility, just put in your code: log.info(\"...\"); */
- private static org.apache.commons.logging.Log log = LogFactory
- .getLog(ZipUtilTest.class);
+ private static Log log = LogFactory.getLog(ZipUtilTest.class);
protected static final File DIR = new File(System.getProperty("java.home"),
"bin");
Modified: trunk/src/test/java/org/nuiton/util/beans/BeanA.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/beans/BeanA.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/beans/BeanA.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util.beans;
public class BeanA {
@@ -61,4 +89,4 @@
public void setF(int f) {
this.f = f;
}
-}
\ No newline at end of file
+}
Modified: trunk/src/test/java/org/nuiton/util/beans/BeanB.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/beans/BeanB.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/beans/BeanB.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util.beans;
public class BeanB extends BeanA {
@@ -59,4 +87,4 @@
public void setF2(int f2) {
this.f2 = f2;
}
-}
\ No newline at end of file
+}
Modified: trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util.beans;
import org.junit.Assert;
@@ -304,4 +332,4 @@
Assert.assertEquals("b", b.getB2());
Assert.assertNull(b.getB());
}
-}
\ No newline at end of file
+}
Modified: trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util.beans;
import org.junit.Assert;
Modified: trunk/src/test/java/org/nuiton/util/beans/BinderTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/beans/BinderTest.java 2010-04-12 12:15:35 UTC (rev 1820)
+++ trunk/src/test/java/org/nuiton/util/beans/BinderTest.java 2010-04-12 13:46:06 UTC (rev 1821)
@@ -1,3 +1,31 @@
+/*
+ * #%L
+ * Nuiton Utils
+ *
+ * $Author$
+ * $LastChangedDate$
+ * $LastChangedRevision$
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2004 - 2010 CodeLutin
+ * %%
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
+
package org.nuiton.util.beans;
import org.junit.*;
@@ -123,4 +151,4 @@
Assert.assertEquals(0,b.getE2());
}
-}
\ No newline at end of file
+}
1
0
Author: tchemit
Date: 2010-04-12 14:15:35 +0200 (Mon, 12 Apr 2010)
New Revision: 1820
Log:
Utilisation de mavenpom4redmine 2.1
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-04-09 23:12:05 UTC (rev 1819)
+++ trunk/pom.xml 2010-04-12 12:15:35 UTC (rev 1820)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>mavenpom4redmine</artifactId>
- <version>2.0.7</version>
+ <version>2.1</version>
</parent>
<artifactId>nuiton-utils</artifactId>
1
0
Author: tchemit
Date: 2010-04-10 01:12:05 +0200 (Sat, 10 Apr 2010)
New Revision: 1819
Log:
add svn:keywords on files
Modified:
trunk/LICENSE.txt
trunk/README.txt
trunk/changelog.txt
trunk/doc/FormatConverter-uml.uxf
trunk/pom.xml
trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java
trunk/src/main/java/org/nuiton/util/ArrayUtil.java
trunk/src/main/java/org/nuiton/util/BoundedList.java
trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java
trunk/src/main/java/org/nuiton/util/CallAnalyse.java
trunk/src/main/java/org/nuiton/util/CardinalityHelper.java
trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java
trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java
trunk/src/main/java/org/nuiton/util/CollectionUtil.java
trunk/src/main/java/org/nuiton/util/ConverterUtil.java
trunk/src/main/java/org/nuiton/util/DateUtils.java
trunk/src/main/java/org/nuiton/util/DigestGenerator.java
trunk/src/main/java/org/nuiton/util/EnumConverter.java
trunk/src/main/java/org/nuiton/util/ExceptionUtil.java
trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java
trunk/src/main/java/org/nuiton/util/FileCompletion.java
trunk/src/main/java/org/nuiton/util/FileUtil.java
trunk/src/main/java/org/nuiton/util/FormatConverter.java
trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java
trunk/src/main/java/org/nuiton/util/FormatMap.java
trunk/src/main/java/org/nuiton/util/GZUtil.java
trunk/src/main/java/org/nuiton/util/GZUtilException.java
trunk/src/main/java/org/nuiton/util/H2TypeEnum.java
trunk/src/main/java/org/nuiton/util/HashList.java
trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java
trunk/src/main/java/org/nuiton/util/ListenerSet.java
trunk/src/main/java/org/nuiton/util/Log.java
trunk/src/main/java/org/nuiton/util/LoggingException.java
trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java
trunk/src/main/java/org/nuiton/util/MD5InputStream.java
trunk/src/main/java/org/nuiton/util/MD5OutputStream.java
trunk/src/main/java/org/nuiton/util/MonthEnum.java
trunk/src/main/java/org/nuiton/util/ObjectUtil.java
trunk/src/main/java/org/nuiton/util/PeriodDates.java
trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java
trunk/src/main/java/org/nuiton/util/RecursiveProperties.java
trunk/src/main/java/org/nuiton/util/ReflectUtil.java
trunk/src/main/java/org/nuiton/util/Resource.java
trunk/src/main/java/org/nuiton/util/ResourceException.java
trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java
trunk/src/main/java/org/nuiton/util/ResourceResolver.java
trunk/src/main/java/org/nuiton/util/ReverseFileReader.java
trunk/src/main/java/org/nuiton/util/SortedProperties.java
trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java
trunk/src/main/java/org/nuiton/util/StringUtil.java
trunk/src/main/java/org/nuiton/util/StringUtilException.java
trunk/src/main/java/org/nuiton/util/TransformedList.java
trunk/src/main/java/org/nuiton/util/Transformer.java
trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java
trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java
trunk/src/main/java/org/nuiton/util/URIConverter.java
trunk/src/main/java/org/nuiton/util/URLConverter.java
trunk/src/main/java/org/nuiton/util/Version.java
trunk/src/main/java/org/nuiton/util/VersionConverter.java
trunk/src/main/java/org/nuiton/util/VersionUtil.java
trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java
trunk/src/main/java/org/nuiton/util/ZipUtil.java
trunk/src/main/java/org/nuiton/util/beans/Binder.java
trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java
trunk/src/main/java/org/nuiton/util/beans/BinderModel.java
trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java
trunk/src/main/java/org/nuiton/util/beans/package-info.java
trunk/src/main/java/org/nuiton/util/config/Config.java
trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java
trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java
trunk/src/main/java/org/nuiton/util/config/Property.java
trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java
trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java
trunk/src/main/java/org/nuiton/util/package.html
trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java
trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java
trunk/src/main/java/org/nuiton/util/war/package-info.java
trunk/src/main/resources/META-INF/services/org.apache.commons.beanutils.Converter
trunk/src/main/resources/META-INF/services/org.apache.commons.logging.LogFactory
trunk/src/main/resources/i18n/nuiton-utils-en_GB.properties
trunk/src/main/resources/i18n/nuiton-utils-fr_FR.properties
trunk/src/site/apt/ApplicationConfig.apt
trunk/src/site/apt/Warlauncher.apt
trunk/src/site/apt/index.apt
trunk/src/site/apt/nuitonUtil.apt
trunk/src/site/site_fr.xml
trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java
trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java
trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java
trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java
trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java
trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java
trunk/src/test/java/org/nuiton/util/DateUtilsTest.java
trunk/src/test/java/org/nuiton/util/FileCompletionTest.java
trunk/src/test/java/org/nuiton/util/FileUtilTest.java
trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java
trunk/src/test/java/org/nuiton/util/ListenerSetTest.java
trunk/src/test/java/org/nuiton/util/LogTest.java
trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java
trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java
trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java
trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java
trunk/src/test/java/org/nuiton/util/ResourceTest.java
trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java
trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java
trunk/src/test/java/org/nuiton/util/StringUtilTest.java
trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java
trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java
trunk/src/test/java/org/nuiton/util/VersionConverterTest.java
trunk/src/test/java/org/nuiton/util/VersionTest.java
trunk/src/test/java/org/nuiton/util/VersionUtilTest.java
trunk/src/test/java/org/nuiton/util/ZipUtilTest.java
trunk/src/test/java/org/nuiton/util/beans/BeanA.java
trunk/src/test/java/org/nuiton/util/beans/BeanB.java
trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java
trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java
trunk/src/test/java/org/nuiton/util/beans/BinderTest.java
trunk/src/test/resources/META-INF/services/org.apache.commons.beanutils.Converter
trunk/src/test/resources/log4j.properties
trunk/src/test/resources/org/nuiton/util/reverseread.txt
trunk/src/test/resources/properties/recursive.properties
trunk/src/test/resources/properties/windows.properties
trunk/src/test/resources/zip/test-uncompress.zip
Property changes on: trunk/LICENSE.txt
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/README.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/changelog.txt
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/doc/FormatConverter-uml.uxf
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/pom.xml
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ArrayUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/BoundedList.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/CallAnalyse.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/CardinalityHelper.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/CollectionUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ConverterUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Modified: trunk/src/main/java/org/nuiton/util/DateUtils.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/DateUtils.java 2010-04-08 08:51:45 UTC (rev 1818)
+++ trunk/src/main/java/org/nuiton/util/DateUtils.java 2010-04-09 23:12:05 UTC (rev 1819)
@@ -32,10 +32,10 @@
* Library for manipulating dates.
*
* @author fdesbois
- * @version $Revision: 87 $
+ * @version $Revision$
*
- * Last update: $Date: 2009-12-01 14:26:40 +0100 (Tue, 01 Dec 2009) $
- * by : $Author: fdesbois $
+ * Last update: $Date$
+ * by : $Author$
*/
public class DateUtils {
Property changes on: trunk/src/main/java/org/nuiton/util/DateUtils.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/DigestGenerator.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/EnumConverter.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ExceptionUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Modified: trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java 2010-04-08 08:51:45 UTC (rev 1818)
+++ trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java 2010-04-09 23:12:05 UTC (rev 1819)
@@ -41,10 +41,10 @@
* search resource : /META-INF/cache/foo/bar/file.txt
* </pre>
* @author chorlet
- * @version $Revision: 1644 $
+ * @version $Revision$
*
- * Last update : $Date: 2009-06-25 00:45:36 +0200 (Thu, 25 Jun 2009) $
- * By : $Author: tchemit $
+ * Last update : $Date$
+ * By : $Author$
*/
public class FasterCachedResourceResolver extends ResourceResolver {
Property changes on: trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/FileCompletion.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/FileUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/FormatConverter.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/FormatMap.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/GZUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/GZUtilException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/H2TypeEnum.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/HashList.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ListenerSet.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/Log.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/LoggingException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/MD5InputStream.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/MD5OutputStream.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/MonthEnum.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ObjectUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Modified: trunk/src/main/java/org/nuiton/util/PeriodDates.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/PeriodDates.java 2010-04-08 08:51:45 UTC (rev 1818)
+++ trunk/src/main/java/org/nuiton/util/PeriodDates.java 2010-04-09 23:12:05 UTC (rev 1819)
@@ -35,10 +35,10 @@
* Created on 2009-08-13
*
* @author fdesbois
- * @version $Revision: 98 $
+ * @version $Revision$
*
- * Last update: $Date: 2009-12-04 01:28:16 +0100 (Fri, 04 Dec 2009) $
- * by : $Author: fdesbois $
+ * Last update: $Date$
+ * by : $Author$
*/
public class PeriodDates {
Property changes on: trunk/src/main/java/org/nuiton/util/PeriodDates.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/RecursiveProperties.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ReflectUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/Resource.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ResourceException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ResourceResolver.java
___________________________________________________________________
Modified: svn:keywords
- Date Author Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ReverseFileReader.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/SortedProperties.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/StringUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/StringUtilException.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/TransformedList.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/Transformer.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/URIConverter.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/URLConverter.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/Version.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/VersionConverter.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/VersionUtil.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/ZipUtil.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/beans/Binder.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/beans/BinderModel.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/beans/package-info.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/config/Config.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/config/Property.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/package.html
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/java/org/nuiton/util/war/package-info.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/META-INF/services/org.apache.commons.beanutils.Converter
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/META-INF/services/org.apache.commons.logging.LogFactory
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/i18n/nuiton-utils-en_GB.properties
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/main/resources/i18n/nuiton-utils-fr_FR.properties
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/ApplicationConfig.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/Warlauncher.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/index.apt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/apt/nuitonUtil.apt
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/site/site_fr.xml
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/DateUtilsTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/FileCompletionTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/FileUtilTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ListenerSetTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/LogTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Modified: trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java 2010-04-08 08:51:45 UTC (rev 1818)
+++ trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java 2010-04-09 23:12:05 UTC (rev 1819)
@@ -27,10 +27,10 @@
* Test recursives properties class.
*
* @author chatellier
- * @version $Revision: 1.0 $
+ * @version $Revision$
*
- * Last update : $Date: 24 avr. 2009 $
- * By : $Author: chatellier $
+ * Last update : $Date$
+ * By : $Author$
*/
public class RecursivePropertiesTest {
Property changes on: trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ResourceTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL"
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/StringUtilTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/VersionConverterTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/VersionTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/VersionUtilTest.java
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/ZipUtilTest.java
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/beans/BeanA.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/beans/BeanB.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/java/org/nuiton/util/beans/BinderTest.java
___________________________________________________________________
Modified: svn:keywords
- "Author Date Id Revision HeadURL
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/META-INF/services/org.apache.commons.beanutils.Converter
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/log4j.properties
___________________________________________________________________
Modified: svn:keywords
- Author Date Id Revision
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/org/nuiton/util/reverseread.txt
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/properties/recursive.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/properties/windows.properties
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
Property changes on: trunk/src/test/resources/zip/test-uncompress.zip
___________________________________________________________________
Added: svn:keywords
+ HeadURL Id Date Revision Author
1
0
Author: fdesbois
Date: 2010-04-08 10:51:45 +0200 (Thu, 08 Apr 2010)
New Revision: 1818
Log:
join : Change Type Collection in Iterable more generic + String in ? for method with no ToString contract
Modified:
trunk/src/main/java/org/nuiton/util/StringUtil.java
Modified: trunk/src/main/java/org/nuiton/util/StringUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-07 15:25:19 UTC (rev 1817)
+++ trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-08 08:51:45 UTC (rev 1818)
@@ -36,10 +36,8 @@
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
-import java.util.Collection;
import java.util.Date;
import java.util.List;
-import java.util.Locale;
/**
* Classe contenant un ensemle de methode static utiles pour la manipulation des
@@ -121,23 +119,24 @@
}
/**
- * Used to concat a {@code list} of String separated by {@code separator}.
+ * Used to concat an {@code iterable} of Object separated
+ * by {@code separator} using the toString() method of each object.
* You can specify if the string must be trimmed or not.
*
- * @param list to treate
+ * @param iterable Iterable with objects to treate
* @param separator to used
* @param trim if each string must be trim
* @return the String chain of all elements separated by separator, never
* return null, will return an empty String for an empty list.
*/
- static public String join(Collection<String> list, String separator,
+ static public String join(Iterable<?> iterable, String separator,
boolean trim) {
- String result = join(list, null, separator, trim);
+ String result = join(iterable, null, separator, trim);
return result;
}
/**
- * Used to concat a {@code list} of object {@code <O>} separated by
+ * Used to concat an {@code iterable} of object {@code <O>} separated by
* {@code separator}. This method need a {@code ts} contract to
* call on each object. The ToString can be null to use directly the
* toString() method on the object. The {@code trim} boolean is used
@@ -145,21 +144,26 @@
* in the {@code list} will be ignored.
*
* @param <O> type of object in the list
- * @param list of object to treate
+ * @param iterable Iterable with objects to treate
* @param ts used to specify how the object is converted in String
* @param separator to used between each object string
* @param trim if trim() method need to by apply on each object string
* @return the String chain of all elements separated by separator, never
* return null, will return an empty String for an empty list.
+ * @throws NullPointerException
*/
- static public <O> String join(Collection<O> list, ToString<O> ts,
- String separator, boolean trim) {
+ static public <O> String join(Iterable<O> iterable, ToString<O> ts,
+ String separator, boolean trim) throws NullPointerException {
+ if (iterable == null) {
+ throw new NullPointerException("null iterable can't be used" +
+ " to join the elements with " + separator);
+ }
// Do nothing for an empty list
- if (list.isEmpty()) {
+ if (!iterable.iterator().hasNext()) {
return "";
}
StringBuilder builder = new StringBuilder();
- for (O o : list) {
+ for (O o : iterable) {
// Ignore the null object in the list
if (o == null) {
continue;
1
0
Author: fdesbois
Date: 2010-04-07 17:25:19 +0200 (Wed, 07 Apr 2010)
New Revision: 1817
Log:
Add method to join a list of object (concat object as string with a separator)
Modified:
trunk/src/main/java/org/nuiton/util/StringUtil.java
Modified: trunk/src/main/java/org/nuiton/util/StringUtil.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-07 12:13:11 UTC (rev 1816)
+++ trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-07 15:25:19 UTC (rev 1817)
@@ -36,6 +36,7 @@
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
+import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Locale;
@@ -101,9 +102,89 @@
return result;
}
+ /**
+ * Contract to use in {@link #join(java.util.Collection, org.nuiton.util.StringUtil.ToString, java.lang.String, boolean) }
+ * method. This will provide a toString method to convert an object in a
+ * string.
+ *
+ * @param <O> type of object manipulated
+ */
+ static public interface ToString<O> {
+
+ /**
+ * Convert an object o in a string.
+ *
+ * @param o to convert
+ * @return the string for this object o
+ */
+ String toString(O o);
+ }
+
+ /**
+ * Used to concat a {@code list} of String separated by {@code separator}.
+ * You can specify if the string must be trimmed or not.
+ *
+ * @param list to treate
+ * @param separator to used
+ * @param trim if each string must be trim
+ * @return the String chain of all elements separated by separator, never
+ * return null, will return an empty String for an empty list.
+ */
+ static public String join(Collection<String> list, String separator,
+ boolean trim) {
+ String result = join(list, null, separator, trim);
+ return result;
+ }
+
+ /**
+ * Used to concat a {@code list} of object {@code <O>} separated by
+ * {@code separator}. This method need a {@code ts} contract to
+ * call on each object. The ToString can be null to use directly the
+ * toString() method on the object. The {@code trim} boolean is used
+ * to specify if each string object has to be trimmed. The null elements
+ * in the {@code list} will be ignored.
+ *
+ * @param <O> type of object in the list
+ * @param list of object to treate
+ * @param ts used to specify how the object is converted in String
+ * @param separator to used between each object string
+ * @param trim if trim() method need to by apply on each object string
+ * @return the String chain of all elements separated by separator, never
+ * return null, will return an empty String for an empty list.
+ */
+ static public <O> String join(Collection<O> list, ToString<O> ts,
+ String separator, boolean trim) {
+ // Do nothing for an empty list
+ if (list.isEmpty()) {
+ return "";
+ }
+ StringBuilder builder = new StringBuilder();
+ for (O o : list) {
+ // Ignore the null object in the list
+ if (o == null) {
+ continue;
+ }
+ String str = null;
+ // Use ToString contract from argument
+ if (ts != null) {
+ str = ts.toString(o);
+ // Or call toString() method directly on object
+ } else {
+ str = o.toString();
+ }
+ // Apply trim if needed
+ if (trim) {
+ str = str.trim();
+ }
+ builder.append(separator).append(str);
+ }
+ // Suppress the first separator at beginning of the chain
+ String result = builder.substring(separator.length());
+ return result;
+ }
+
static public String substring(String s, int begin) {
- String result;
- result = substring(s, begin, s.length());
+ String result = substring(s, begin, s.length());
return result;
}
1
0
r1816 - in trunk/src: main/java/org/nuiton/util test/java/org/nuiton/util
by echatellier@users.nuiton.org 07 Apr '10
by echatellier@users.nuiton.org 07 Apr '10
07 Apr '10
Author: echatellier
Date: 2010-04-07 14:13:11 +0200 (Wed, 07 Apr 2010)
New Revision: 1816
Log:
#467 : Add method to get all options as flat properties
Modified:
trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java
Modified: trunk/src/main/java/org/nuiton/util/ApplicationConfig.java
===================================================================
--- trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-03 18:38:16 UTC (rev 1815)
+++ trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-07 12:13:11 UTC (rev 1816)
@@ -1080,6 +1080,40 @@
}
/**
+ * Get all options as flat {@link Properties} object (replace inner options).
+ *
+ * @return flat Properties object
+ * @since 1.2.2
+ */
+ public Properties getFlatOptions() {
+ return getFlatOptions(true);
+ }
+
+ /**
+ * Get all options as flat {@link Properties} object.
+ *
+ * @param replaceInner if {@code true} replace imbricated options by theirs values
+ * @return flat Properties object
+ * @since 1.2.2
+ */
+ public Properties getFlatOptions(boolean replaceInner) {
+ Properties props = new Properties();
+ for (String propertyKey : options.stringPropertyNames()) {
+ String propertyValue = null;
+ if (replaceInner) {
+ // replace ${xxx} option
+ propertyValue = getOption(propertyKey);
+ }
+ else {
+ // do not replace ${xxx} option
+ propertyValue = options.getProperty(propertyKey);
+ }
+ props.setProperty(propertyKey, propertyValue);
+ }
+ return props;
+ }
+
+ /**
* Get all set method on this object or super object.
*
* @return map with method name without set and in lower case as key, and
Modified: trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java
===================================================================
--- trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java 2010-04-03 18:38:16 UTC (rev 1815)
+++ trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java 2010-04-07 12:13:11 UTC (rev 1816)
@@ -274,4 +274,28 @@
Assert.assertEquals(8, instance.getUnparsed().size());
Assert.assertEquals("test", instance.getUnparsed().get(0));
}
+
+ /**
+ * Test get flat options method.
+ */
+ public void testGetFlatOptions() throws Exception {
+
+ ApplicationConfig instance = new ApplicationConfig();
+ instance.parse(new String[]{});
+ instance.setDefaultOption("user.firstname", "toto");
+ instance.setDefaultOption("user.lastname", "tutu");
+ instance.setOption("user.fullname", "${user.lastname} ${user.firstname}");
+
+ Assert.assertEquals(1, instance.getOptions().size());
+ // il y en a plus de 3 car il y a aussi les variables d'environnement
+ Assert.assertTrue(instance.getFlatOptions().size() > 3);
+
+ // test replacement and non replacement
+ Assert.assertEquals("tutu toto",
+ instance.getFlatOptions().getProperty("user.fullname"));
+ Assert.assertEquals("tutu toto",
+ instance.getFlatOptions(true).getProperty("user.fullname"));
+ Assert.assertEquals("${user.lastname} ${user.firstname}",
+ instance.getFlatOptions(false).getProperty("user.fullname"));
+ }
}
1
0