From echatellier@users.nuiton.org Mon Dec 14 17:02:56 2009
From: echatellier@users.nuiton.org
To: nuiton-utils-commits@list.nuiton.org
Subject: [Nuiton-utils-commits] r1700 - trunk/src/main/java/org/nuiton/util
Date: Mon, 14 Dec 2009 17:02:55 +0100
Message-ID: <20091214160255.F048615D3F@nuiton.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4824970991814951444=="

--===============4824970991814951444==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: echatellier
Date: 2009-12-14 17:02:55 +0100 (Mon, 14 Dec 2009)
New Revision: 1700

Modified:
   trunk/src/main/java/org/nuiton/util/FileUtil.java
Log:
Add @since in javadoc

Modified: trunk/src/main/java/org/nuiton/util/FileUtil.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/src/main/java/org/nuiton/util/FileUtil.java	2009-12-07 14:22:14 UTC=
 (rev 1699)
+++ trunk/src/main/java/org/nuiton/util/FileUtil.java	2009-12-14 16:02:55 UTC=
 (rev 1700)
@@ -948,6 +948,7 @@
      * @param cb nio buffer
      * @return matching lines (or {code null} if no matching lines)
      * @throws IOException
+     * @since 1.1.2
      */
     protected static List<CharSequence> grep(String regex, CharBuffer cb) {
        =20
@@ -996,6 +997,7 @@
      * @param encoding encoding to use
      * @return matching lines (or {code null} if no matching lines)
      * @throws IOException
+     * @since 1.1.2
      */
     public static List<CharSequence> grep(String searchRegex, File f, String=
 encoding) throws IOException {
        =20
@@ -1030,6 +1032,7 @@
      * @param encoding encoding to use
      * @return all matching lines for each files
      * @throws IOException
+     * @since 1.1.2
      */
     public static Map<File, List<CharSequence>> grep(String searchRegex, Fil=
e rootDirectory, String fileRegex, String encoding) throws IOException {
         Map<File, List<CharSequence>> results =3D new HashMap<File, List<Cha=
rSequence>>();
@@ -1051,6 +1054,7 @@
      * @param encoding encoding to use
      * @return all matching lines for each files
      * @throws IOException
+     * @since 1.1.2
      */
     public static Map<File, List<CharSequence>> grep(String searchRegex, Str=
ing fileRegex, String encoding) throws IOException {
         Map<File, List<CharSequence>> results =3D grep(searchRegex, new File=
("."), fileRegex, encoding);
@@ -1067,6 +1071,7 @@
      * @param file File which sed shall be applied
      * @param encoding charset encoding
      * @throws IOException
+     * @since 1.1.2
      */
     public static void sed(String searchRegex, String replace, File file, St=
ring encoding) throws IOException {
=20
@@ -1105,6 +1110,7 @@
      * @param fileRegex regex for file to find in {@code rootDirectory}
      * @param encoding encoding to use
      * @throws IOException
+     * @since 1.1.2
      */
     public static void sed(String searchRegex, String replace, File rootDire=
ctory, String fileRegex, String encoding) throws IOException {
         List<File> files =3D FileUtil.find(rootDirectory, fileRegex, true);


--===============4824970991814951444==--


