You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/03/22 21:55:32 UTC
svn commit: r1304052 [1/2] - in
/commons/proper/io/trunk/src/main/java/org/apache/commons/io: ./
comparator/ filefilter/ input/ monitor/ output/
Author: ggregory
Date: Thu Mar 22 20:55:29 2012
New Revision: 1304052
URL: http://svn.apache.org/viewvc?rev=1304052&view=rev
Log:
Use "@since x.y" instead of "@since Commons IO x.y"
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/ByteOrderMark.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/DirectoryWalker.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileExistsException.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOCase.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOExceptionWithCause.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/AutoCloseInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BOMInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BoundedInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/BrokenInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceReader.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ClassLoaderObjectInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CloseShieldInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ClosedInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CountingInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/NullReader.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ProxyInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ProxyReader.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TaggedInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/Tailer.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListener.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TailerListenerAdapter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/TeeInputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReader.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/XmlStreamReaderException.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationListener.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationListenerAdaptor.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationMonitor.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileAlterationObserver.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/monitor/FileEntry.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/BrokenOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ByteArrayOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/CloseShieldOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ClosedOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/CountingOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/FileWriterWithEncoding.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/NullWriter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/ProxyWriter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/StringBuilderWriter.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/TaggedOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/WriterOutputStream.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/ByteOrderMark.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/ByteOrderMark.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/ByteOrderMark.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/ByteOrderMark.java Thu Mar 22 20:55:29 2012
@@ -26,7 +26,7 @@ import java.io.Serializable;
* @see <a href="http://en.wikipedia.org/wiki/Byte_order_mark">Wikipedia: Byte Order Mark</a>
* @see <a href="http://www.w3.org/TR/2006/REC-xml-20060816/#sec-guessing">W3C: Autodetection of Character Encodings (Non-Normative)</a>
* @version $Id$
- * @since Commons IO 2.0
+ * @since 2.0
*/
public class ByteOrderMark implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/DirectoryWalker.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/DirectoryWalker.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/DirectoryWalker.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/DirectoryWalker.java Thu Mar 22 20:55:29 2012
@@ -245,7 +245,7 @@ import org.apache.commons.io.filefilter.
* }
* </pre>
*
- * @since Commons IO 1.3
+ * @since 1.3
* @version $Id$
*/
public abstract class DirectoryWalker<T> {
@@ -514,7 +514,7 @@ public abstract class DirectoryWalker<T>
* @param files the files (possibly filtered) in the directory
* @return the filtered list of files
* @throws IOException if an I/O Error occurs
- * @since Commons IO 2.0
+ * @since 2.0
*/
protected File[] filterDirectoryContents(File directory, int depth, File[] files) throws IOException {
return files;
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileCleaningTracker.java Thu Mar 22 20:55:29 2012
@@ -158,7 +158,7 @@ public class FileCleaningTracker {
* Return the file paths that failed to delete.
*
* @return the file paths that failed to delete
- * @since Commons IO 2.0
+ * @since 2.0
*/
public List<String> getDeleteFailures() {
return deleteFailures;
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileDeleteStrategy.java Thu Mar 22 20:55:29 2012
@@ -29,7 +29,7 @@ import java.io.IOException;
* This class captures the strategy to use and is designed for user subclassing.
*
* @version $Id$
- * @since Commons IO 1.3
+ * @since 1.3
*/
public class FileDeleteStrategy {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileExistsException.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileExistsException.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileExistsException.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileExistsException.java Thu Mar 22 20:55:29 2012
@@ -23,7 +23,7 @@ import java.io.IOException;
* Indicates that a file already exists.
*
* @version $Id$
- * @since Commons IO 2.0
+ * @since 2.0
*/
public class FileExistsException extends IOException {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileSystemUtils.java Thu Mar 22 20:55:29 2012
@@ -165,7 +165,7 @@ public class FileSystemUtils {
* @throws IllegalArgumentException if the path is invalid
* @throws IllegalStateException if an error occurred in initialisation
* @throws IOException if an error occurs when finding the free space
- * @since Commons IO 1.2, enhanced OS support in 1.3
+ * @since 1.2, enhanced OS support in 1.3
*/
public static long freeSpaceKb(String path) throws IOException {
return freeSpaceKb(path, -1);
@@ -194,7 +194,7 @@ public class FileSystemUtils {
* @throws IllegalArgumentException if the path is invalid
* @throws IllegalStateException if an error occurred in initialisation
* @throws IOException if an error occurs when finding the free space
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static long freeSpaceKb(String path, long timeout) throws IOException {
return INSTANCE.freeSpaceOS(path, OS, true, timeout);
@@ -210,7 +210,7 @@ public class FileSystemUtils {
* @return the amount of free drive space on the drive or volume in kilobytes
* @throws IllegalStateException if an error occurred in initialisation
* @throws IOException if an error occurs when finding the free space
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static long freeSpaceKb() throws IOException {
return freeSpaceKb(-1);
@@ -228,7 +228,7 @@ public class FileSystemUtils {
* @return the amount of free drive space on the drive or volume in kilobytes
* @throws IllegalStateException if an error occurred in initialisation
* @throws IOException if an error occurs when finding the free space
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static long freeSpaceKb(long timeout) throws IOException {
return freeSpaceKb(new File(".").getAbsolutePath(), timeout);
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java Thu Mar 22 20:55:29 2012
@@ -141,7 +141,7 @@ public class FileUtils {
* @param directory the parent directory
* @param names the name elements
* @return the file
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static File getFile(File directory, String... names) {
if (directory == null) {
@@ -162,7 +162,7 @@ public class FileUtils {
*
* @param names the name elements
* @return the file
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static File getFile(String... names) {
if (names == null) {
@@ -184,7 +184,7 @@ public class FileUtils {
*
* @return the path to the system temporary directory.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static String getTempDirectoryPath() {
return System.getProperty("java.io.tmpdir");
@@ -195,7 +195,7 @@ public class FileUtils {
*
* @return the system temporary directory.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static File getTempDirectory() {
return new File(getTempDirectoryPath());
@@ -206,7 +206,7 @@ public class FileUtils {
*
* @return the path to the user's home directory.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static String getUserDirectoryPath() {
return System.getProperty("user.home");
@@ -217,7 +217,7 @@ public class FileUtils {
*
* @return the user's home directory.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static File getUserDirectory() {
return new File(getUserDirectoryPath());
@@ -240,7 +240,7 @@ public class FileUtils {
* @throws FileNotFoundException if the file does not exist
* @throws IOException if the file object is a directory
* @throws IOException if the file cannot be read
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static FileInputStream openInputStream(File file) throws IOException {
if (file.exists()) {
@@ -275,7 +275,7 @@ public class FileUtils {
* @throws IOException if the file object is a directory
* @throws IOException if the file cannot be written to
* @throws IOException if a parent directory needs creating but that fails
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static FileOutputStream openOutputStream(File file) throws IOException {
return openOutputStream(file, false);
@@ -301,7 +301,7 @@ public class FileUtils {
* @throws IOException if the file object is a directory
* @throws IOException if the file cannot be written to
* @throws IOException if a parent directory needs creating but that fails
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static FileOutputStream openOutputStream(File file, boolean append) throws IOException {
if (file.exists()) {
@@ -552,7 +552,7 @@ public class FileUtils {
* @return an iterator of java.io.File for the matching files
* @see org.apache.commons.io.filefilter.FileFilterUtils
* @see org.apache.commons.io.filefilter.NameFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static Iterator<File> iterateFiles(
File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) {
@@ -634,7 +634,7 @@ public class FileUtils {
* parameter is <code>null</code>, all files are returned.
* @param recursive if true all subdirectories are searched as well
* @return an iterator of java.io.File with the matching files
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static Iterator<File> iterateFiles(
File directory, String[] extensions, boolean recursive) {
@@ -930,7 +930,7 @@ public class FileUtils {
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs during copying
* @see #copyFile(File, File, boolean)
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static void copyFileToDirectory(File srcFile, File destDir, boolean preserveFileDate) throws IOException {
if (destDir == null) {
@@ -1036,7 +1036,7 @@ public class FileUtils {
* if the input or output is null
* @throws IOException
* if an I/O error occurs
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static long copyFile(File input, OutputStream output) throws IOException {
final FileInputStream fis = new FileInputStream(input);
@@ -1114,7 +1114,7 @@ public class FileUtils {
* @throws NullPointerException if source or destination is <code>null</code>
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs during copying
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static void copyDirectoryToDirectory(File srcDir, File destDir) throws IOException {
if (srcDir == null) {
@@ -1233,7 +1233,7 @@ public class FileUtils {
* @throws NullPointerException if source or destination is <code>null</code>
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs during copying
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void copyDirectory(File srcDir, File destDir,
FileFilter filter) throws IOException {
@@ -1284,7 +1284,7 @@ public class FileUtils {
* @throws NullPointerException if source or destination is <code>null</code>
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs during copying
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void copyDirectory(File srcDir, File destDir,
FileFilter filter, boolean preserveFileDate) throws IOException {
@@ -1409,7 +1409,7 @@ public class FileUtils {
* @throws IOException if <code>destination</code> cannot be written
* @throws IOException if <code>destination</code> needs creating but can't be
* @throws IOException if an IO error occurs during copying
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void copyURLToFile(URL source, File destination,
int connectionTimeout, int readTimeout) throws IOException {
@@ -1433,7 +1433,7 @@ public class FileUtils {
* @throws IOException if <code>destination</code> cannot be written
* @throws IOException if <code>destination</code> needs creating but can't be
* @throws IOException if an IO error occurs during copying
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void copyInputStreamToFile(InputStream source, File destination) throws IOException {
try {
@@ -1485,7 +1485,7 @@ public class FileUtils {
* @return <code>true</code> if the file or directory was deleted, otherwise
* <code>false</code>
*
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static boolean deleteQuietly(File file) {
if (file == null) {
@@ -1653,7 +1653,7 @@ public class FileUtils {
* @param file the file to read, must not be <code>null</code>
* @return the file contents, never <code>null</code>
* @throws IOException in case of an I/O error
- * @since Commons IO 1.3.1
+ * @since 1.3.1
*/
public static String readFileToString(File file) throws IOException {
return readFileToString(file, null);
@@ -1706,7 +1706,7 @@ public class FileUtils {
* @param file the file to read, must not be <code>null</code>
* @return the list of Strings representing each line in the file, never <code>null</code>
* @throws IOException in case of an I/O error
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static List<String> readLines(File file) throws IOException {
return readLines(file, null);
@@ -1741,7 +1741,7 @@ public class FileUtils {
* @param encoding the encoding to use, <code>null</code> means platform default
* @return an Iterator of the lines in the file, never <code>null</code>
* @throws IOException in case of an I/O error (file closed)
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static LineIterator lineIterator(File file, String encoding) throws IOException {
InputStream in = null;
@@ -1763,7 +1763,7 @@ public class FileUtils {
* @param file the file to open for input, must not be <code>null</code>
* @return an Iterator of the lines in the file, never <code>null</code>
* @throws IOException in case of an I/O error (file closed)
- * @since Commons IO 1.3
+ * @since 1.3
* @see #lineIterator(File, String)
*/
public static LineIterator lineIterator(File file) throws IOException {
@@ -1797,7 +1797,7 @@ public class FileUtils {
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
* @throws java.io.UnsupportedEncodingException if the encoding is not supported by the VM
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void writeStringToFile(File file, String data, String encoding, boolean append) throws IOException {
OutputStream out = null;
@@ -1829,7 +1829,7 @@ public class FileUtils {
* @param append if <code>true</code>, then the String will be added to the
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void writeStringToFile(File file, String data, boolean append) throws IOException {
writeStringToFile(file, data, null, append);
@@ -1841,7 +1841,7 @@ public class FileUtils {
* @param file the file to write
* @param data the content to write to the file
* @throws IOException in case of an I/O error
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void write(File file, CharSequence data) throws IOException {
write(file, data, null, false);
@@ -1855,7 +1855,7 @@ public class FileUtils {
* @param append if <code>true</code>, then the data will be added to the
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void write(File file, CharSequence data, boolean append) throws IOException {
write(file, data, null, append);
@@ -1869,7 +1869,7 @@ public class FileUtils {
* @param encoding the encoding to use, <code>null</code> means platform default
* @throws IOException in case of an I/O error
* @throws java.io.UnsupportedEncodingException if the encoding is not supported by the VM
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void write(File file, CharSequence data, String encoding) throws IOException {
write(file, data, encoding, false);
@@ -1959,7 +1959,7 @@ public class FileUtils {
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
* @throws java.io.UnsupportedEncodingException if the encoding is not supported by the VM
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void writeLines(File file, String encoding, Collection<?> lines, boolean append) throws IOException {
writeLines(file, encoding, lines, null, append);
@@ -1973,7 +1973,7 @@ public class FileUtils {
* @param file the file to write to
* @param lines the lines to write, <code>null</code> entries produce blank lines
* @throws IOException in case of an I/O error
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static void writeLines(File file, Collection<?> lines) throws IOException {
writeLines(file, null, lines, null, false);
@@ -1989,7 +1989,7 @@ public class FileUtils {
* @param append if <code>true</code>, then the lines will be added to the
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void writeLines(File file, Collection<?> lines, boolean append) throws IOException {
writeLines(file, null, lines, null, append);
@@ -2029,7 +2029,7 @@ public class FileUtils {
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
* @throws java.io.UnsupportedEncodingException if the encoding is not supported by the VM
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void writeLines(File file, String encoding, Collection<?> lines, String lineEnding, boolean append)
throws IOException {
@@ -2052,7 +2052,7 @@ public class FileUtils {
* @param lines the lines to write, <code>null</code> entries produce blank lines
* @param lineEnding the line separator to use, <code>null</code> is system default
* @throws IOException in case of an I/O error
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static void writeLines(File file, Collection<?> lines, String lineEnding) throws IOException {
writeLines(file, null, lines, lineEnding, false);
@@ -2069,7 +2069,7 @@ public class FileUtils {
* @param append if <code>true</code>, then the lines will be added to the
* end of the file rather than overwriting
* @throws IOException in case of an I/O error
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static void writeLines(File file, Collection<?> lines, String lineEnding, boolean append)
throws IOException {
@@ -2231,7 +2231,7 @@ public class FileUtils {
* @throws NullPointerException if the file is <code>null</code>
* @throws IllegalArgumentException if the file does not exist.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static long sizeOf(File file) {
@@ -2422,7 +2422,7 @@ public class FileUtils {
* @throws NullPointerException if the file or checksum is <code>null</code>
* @throws IllegalArgumentException if the file is a directory
* @throws IOException if an IO error occurs reading the file
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static long checksumCRC32(File file) throws IOException {
CRC32 crc = new CRC32();
@@ -2445,7 +2445,7 @@ public class FileUtils {
* @throws NullPointerException if the file or checksum is <code>null</code>
* @throws IllegalArgumentException if the file is a directory
* @throws IOException if an IO error occurs reading the file
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static Checksum checksum(File file, Checksum checksum) throws IOException {
if (file.isDirectory()) {
@@ -2472,7 +2472,7 @@ public class FileUtils {
* @throws FileExistsException if the destination directory exists
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs moving the file
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void moveDirectory(File srcDir, File destDir) throws IOException {
if (srcDir == null) {
@@ -2515,7 +2515,7 @@ public class FileUtils {
* @throws FileExistsException if the directory exists in the destination directory
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs moving the file
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void moveDirectoryToDirectory(File src, File destDir, boolean createDestDir) throws IOException {
if (src == null) {
@@ -2549,7 +2549,7 @@ public class FileUtils {
* @throws FileExistsException if the destination file exists
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs moving the file
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void moveFile(File srcFile, File destFile) throws IOException {
if (srcFile == null) {
@@ -2592,7 +2592,7 @@ public class FileUtils {
* @throws FileExistsException if the destination file exists
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs moving the file
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void moveFileToDirectory(File srcFile, File destDir, boolean createDestDir) throws IOException {
if (srcFile == null) {
@@ -2627,7 +2627,7 @@ public class FileUtils {
* @throws FileExistsException if the directory or file exists in the destination directory
* @throws IOException if source or destination is invalid
* @throws IOException if an IO error occurs moving the file
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static void moveToDirectory(File src, File destDir, boolean createDestDir) throws IOException {
if (src == null) {
@@ -2658,7 +2658,7 @@ public class FileUtils {
* @param file the file to check
* @return true if the file is a Symbolic Link
* @throws IOException if an IO error occurs while checking the file
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static boolean isSymlink(File file) throws IOException {
if (file == null) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FilenameUtils.java Thu Mar 22 20:55:29 2012
@@ -84,13 +84,13 @@ public class FilenameUtils {
/**
* The extension separator character.
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static final char EXTENSION_SEPARATOR = '.';
/**
* The extension separator String.
- * @since Commons IO 1.4
+ * @since 1.4
*/
public static final String EXTENSION_SEPARATOR_STR = Character.toString(EXTENSION_SEPARATOR);
@@ -235,7 +235,7 @@ public class FilenameUtils {
* @param unixSeparator <code>true</code> if a unix separator should
* be used or <code>false</code> if a windows separator should be used.
* @return the normalized filename, or null if invalid
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static String normalize(String filename, boolean unixSeparator) {
char separator = unixSeparator ? UNIX_SEPARATOR : WINDOWS_SEPARATOR;
@@ -329,7 +329,7 @@ public class FilenameUtils {
* @param unixSeparator <code>true</code> if a unix separator should
* be used or <code>false</code> if a windows separtor should be used.
* @return the normalized filename, or null if invalid
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static String normalizeNoEndSeparator(String filename, boolean unixSeparator) {
char separator = unixSeparator ? UNIX_SEPARATOR : WINDOWS_SEPARATOR;
@@ -1107,7 +1107,7 @@ public class FilenameUtils {
* @param normalized whether to normalize the filenames
* @param caseSensitivity what case sensitivity rule to use, null means case-sensitive
* @return true if the filenames are equal, null equals null
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static boolean equals(
String filename1, String filename2,
@@ -1272,7 +1272,7 @@ public class FilenameUtils {
* @param wildcardMatcher the wildcard string to match against
* @param caseSensitivity what case sensitivity rule to use, null means case-sensitive
* @return true if the filename matches the wilcard string
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static boolean wildcardMatch(String filename, String wildcardMatcher, IOCase caseSensitivity) {
if (filename == null && wildcardMatcher == null) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOCase.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOCase.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOCase.java Thu Mar 22 20:55:29 2012
@@ -32,7 +32,7 @@ import java.io.Serializable;
* class to compare filenames.
*
* @version $Id$
- * @since Commons IO 1.3
+ * @since 1.3
*/
public final class IOCase implements Serializable {
@@ -212,7 +212,7 @@ public final class IOCase implements Ser
* @return the first index of the search String,
* -1 if no match or <code>null</code> string input
* @throws NullPointerException if either string is null
- * @since Commons IO 2.0
+ * @since 2.0
*/
public int checkIndexOf(String str, int strStartIndex, String search) {
int endIndex = str.length() - search.length();
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOExceptionWithCause.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOExceptionWithCause.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOExceptionWithCause.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOExceptionWithCause.java Thu Mar 22 20:55:29 2012
@@ -24,7 +24,7 @@ import java.io.IOException;
* consider this class deprecated and use {@link IOException}.
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class IOExceptionWithCause extends IOException {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java Thu Mar 22 20:55:29 2012
@@ -277,7 +277,7 @@ public class IOUtils {
* </pre>
*
* @param closeable the object to close, may be null or already closed
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void closeQuietly(Closeable closeable) {
try {
@@ -310,7 +310,7 @@ public class IOUtils {
* </pre>
*
* @param sock the Socket to close, may be null or already closed
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void closeQuietly(Socket sock){
if (sock != null){
@@ -407,7 +407,7 @@ public class IOUtils {
* @param input Stream to be fully buffered.
* @return A fully buffered stream.
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static InputStream toBufferedInputStream(InputStream input) throws IOException {
return ByteArrayOutputStream.toBufferedInputStream(input);
@@ -446,7 +446,7 @@ public class IOUtils {
* @throws IOException if an I/O error occurs or <code>InputStream</code> size differ from parameter size
* @throws IllegalArgumentException if size is less than zero or size is greater than Integer.MAX_VALUE
* @see IOUtils#toByteArray(java.io.InputStream, int)
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static byte[] toByteArray(InputStream input, long size) throws IOException {
@@ -466,7 +466,7 @@ public class IOUtils {
* @return the requested byte array
* @throws IOException if an I/O error occurs or <code>InputStream</code> size differ from parameter size
* @throws IllegalArgumentException if size is less than zero
- * @since Commons IO 2.1
+ * @since 2.1
*/
public static byte[] toByteArray(InputStream input, int size) throws IOException {
@@ -870,7 +870,7 @@ public class IOUtils {
* @param reader the <code>Reader</code> to read from, not null
* @return an Iterator of the lines in the reader, never null
* @throws IllegalArgumentException if the reader is null
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static LineIterator lineIterator(Reader reader) {
return new LineIterator(reader);
@@ -904,7 +904,7 @@ public class IOUtils {
* @return an Iterator of the lines in the reader, never null
* @throws IllegalArgumentException if the input is null
* @throws IOException if an I/O error occurs, such as if the encoding is invalid
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static LineIterator lineIterator(InputStream input, String encoding)
throws IOException {
@@ -924,7 +924,7 @@ public class IOUtils {
*
* @param input the CharSequence to convert
* @return an input stream
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static InputStream toInputStream(CharSequence input) {
return toInputStream(input.toString());
@@ -941,7 +941,7 @@ public class IOUtils {
* @param encoding the encoding to use, null means platform default
* @throws IOException if the encoding is invalid
* @return an input stream
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static InputStream toInputStream(CharSequence input, String encoding) throws IOException {
return toInputStream(input.toString(), encoding);
@@ -1123,7 +1123,7 @@ public class IOUtils {
* @param output the <code>Writer</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void write(CharSequence data, Writer output) throws IOException {
if (data != null) {
@@ -1142,7 +1142,7 @@ public class IOUtils {
* @param output the <code>OutputStream</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void write(CharSequence data, OutputStream output)
throws IOException {
@@ -1165,7 +1165,7 @@ public class IOUtils {
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void write(CharSequence data, OutputStream output, String encoding)
throws IOException {
@@ -1445,7 +1445,7 @@ public class IOUtils {
* @return the number of bytes copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static long copyLarge(InputStream input, OutputStream output)
throws IOException {
@@ -1595,7 +1595,7 @@ public class IOUtils {
* @return the number of characters copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static long copyLarge(Reader input, Writer output) throws IOException {
char[] buffer = new char[DEFAULT_BUFFER_SIZE];
@@ -1844,7 +1844,7 @@ public class IOUtils {
*
* @throws IOException if there is a problem reading the file
* @throws IllegalArgumentException if toSkip is negative
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static long skip(InputStream input, long toSkip) throws IOException {
if (toSkip < 0) {
@@ -1883,7 +1883,7 @@ public class IOUtils {
*
* @throws IOException if there is a problem reading the file
* @throws IllegalArgumentException if toSkip is negative
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static long skip(Reader input, long toSkip) throws IOException {
if (toSkip < 0) {
@@ -1921,7 +1921,7 @@ public class IOUtils {
* @throws IOException if there is a problem reading the file
* @throws IllegalArgumentException if toSkip is negative
* @throws EOFException if the number of bytes skipped was incorrect
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void skipFully(InputStream input, long toSkip) throws IOException {
if (toSkip < 0) {
@@ -1946,7 +1946,7 @@ public class IOUtils {
* @throws IOException if there is a problem reading the file
* @throws IllegalArgumentException if toSkip is negative
* @throws EOFException if the number of characters skipped was incorrect
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static void skipFully(Reader input, long toSkip) throws IOException {
long skipped = skip(input, toSkip);
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/LineIterator.java Thu Mar 22 20:55:29 2012
@@ -45,7 +45,7 @@ import java.util.NoSuchElementException;
* </pre>
*
* @version $Id$
- * @since Commons IO 1.2
+ * @since 1.2
*/
public class LineIterator implements Iterator<String> {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/TaggedIOException.java Thu Mar 22 20:55:29 2012
@@ -24,7 +24,7 @@ import java.io.Serializable;
* wrapped exception. Both the tag and the original exception can be used
* to determine further processing when this exception is caught.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public class TaggedIOException extends IOExceptionWithCause {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/AbstractFileComparator.java Thu Mar 22 20:55:29 2012
@@ -26,7 +26,7 @@ import java.util.List;
* Abstract file {@link Comparator} which provides sorting for file arrays and lists.
*
* @version $Id$
- * @since Commons IO 2.0
+ * @since 2.0
*/
abstract class AbstractFileComparator implements Comparator<File> {
@@ -38,7 +38,7 @@ abstract class AbstractFileComparator im
*
* @param files The files to sort, may be null
* @return The sorted array
- * @since Commons IO 2.0
+ * @since 2.0
*/
public File[] sort(File... files) {
if (files != null) {
@@ -55,7 +55,7 @@ abstract class AbstractFileComparator im
*
* @param files The files to sort, may be null
* @return The sorted list
- * @since Commons IO 2.0
+ * @since 2.0
*/
public List<File> sort(List<File> files) {
if (files != null) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/CompositeFileComparator.java Thu Mar 22 20:55:29 2012
@@ -40,7 +40,7 @@ import java.util.List;
* </pre>
*
* @version $Id$
- * @since Commons IO 2.0
+ * @since 2.0
*/
public class CompositeFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DefaultFileComparator.java Thu Mar 22 20:55:29 2012
@@ -42,7 +42,7 @@ import java.util.Comparator;
* <p>
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class DefaultFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/DirectoryFileComparator.java Thu Mar 22 20:55:29 2012
@@ -41,7 +41,7 @@ import java.util.Comparator;
* <p>
*
* @version $Id$
- * @since Commons IO 2.0
+ * @since 2.0
*/
public class DirectoryFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ExtensionFileComparator.java Thu Mar 22 20:55:29 2012
@@ -49,7 +49,7 @@ import org.apache.commons.io.IOCase;
* <p>
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class ExtensionFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/LastModifiedFileComparator.java Thu Mar 22 20:55:29 2012
@@ -43,7 +43,7 @@ import java.util.Comparator;
* <p>
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class LastModifiedFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/NameFileComparator.java Thu Mar 22 20:55:29 2012
@@ -47,7 +47,7 @@ import org.apache.commons.io.IOCase;
* <p>
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class NameFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/PathFileComparator.java Thu Mar 22 20:55:29 2012
@@ -47,7 +47,7 @@ import org.apache.commons.io.IOCase;
* <p>
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class PathFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/ReverseComparator.java Thu Mar 22 20:55:29 2012
@@ -25,7 +25,7 @@ import java.util.Comparator;
* the delegate {@link Comparator}.
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
class ReverseComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/comparator/SizeFileComparator.java Thu Mar 22 20:55:29 2012
@@ -47,7 +47,7 @@ import org.apache.commons.io.FileUtils;
* <code>sumDirectoryContents</code> is <code>true</code>.
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class SizeFileComparator extends AbstractFileComparator implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AbstractFileFilter.java Thu Mar 22 20:55:29 2012
@@ -25,7 +25,7 @@ import java.io.File;
* Note that a subclass <b>must</b> override one of the accept methods,
* otherwise your class will infinitely loop.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*/
public abstract class AbstractFileFilter implements IOFileFilter {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AgeFileFilter.java Thu Mar 22 20:55:29 2012
@@ -46,7 +46,7 @@ import org.apache.commons.io.FileUtils;
* @see FileFilterUtils#ageFileFilter(Date, boolean)
* @see FileFilterUtils#ageFileFilter(File, boolean)
* @see FileFilterUtils#ageFileFilter(long, boolean)
- * @since Commons IO 1.2
+ * @since 1.2
*/
public class AgeFileFilter extends AbstractFileFilter implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/AndFileFilter.java Thu Mar 22 20:55:29 2012
@@ -29,7 +29,7 @@ import java.util.List;
* Checking of the file filter list stops when the first filter returns
* <code>false</code>.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*
* @see FileFilterUtils#and(IOFileFilter...)
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanReadFileFilter.java Thu Mar 22 20:55:29 2012
@@ -57,7 +57,7 @@ import java.io.Serializable;
* }
* </pre>
*
- * @since Commons IO 1.3
+ * @since 1.3
* @version $Id$
*/
public class CanReadFileFilter extends AbstractFileFilter implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/CanWriteFileFilter.java Thu Mar 22 20:55:29 2012
@@ -49,7 +49,7 @@ import java.io.Serializable;
* <b>N.B.</b> For read-only files, use
* <code>CanReadFileFilter.READ_ONLY</code>.
*
- * @since Commons IO 1.3
+ * @since 1.3
* @version $Id$
*/
public class CanWriteFileFilter extends AbstractFileFilter implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DelegateFileFilter.java Thu Mar 22 20:55:29 2012
@@ -24,7 +24,7 @@ import java.io.Serializable;
/**
* This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*
* @see FileFilterUtils#asFileFilter(FileFilter)
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/DirectoryFileFilter.java Thu Mar 22 20:55:29 2012
@@ -33,7 +33,7 @@ import java.io.Serializable;
* }
* </pre>
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*
* @see FileFilterUtils#directoryFileFilter()
@@ -42,7 +42,7 @@ public class DirectoryFileFilter extends
/**
* Singleton instance of directory filter.
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static final IOFileFilter DIRECTORY = new DirectoryFileFilter();
/**
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/EmptyFileFilter.java Thu Mar 22 20:55:29 2012
@@ -48,7 +48,7 @@ import java.io.Serializable;
* }
* </pre>
*
- * @since Commons IO 1.3
+ * @since 1.3
* @version $Id$
*/
public class EmptyFileFilter extends AbstractFileFilter implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FalseFileFilter.java Thu Mar 22 20:55:29 2012
@@ -22,7 +22,7 @@ import java.io.Serializable;
/**
* A file filter that always returns false.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*
* @see FileFilterUtils#falseFileFilter()
@@ -31,7 +31,7 @@ public class FalseFileFilter implements
/**
* Singleton instance of false filter.
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static final IOFileFilter FALSE = new FalseFileFilter();
/**
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFileFilter.java Thu Mar 22 20:55:29 2012
@@ -33,7 +33,7 @@ import java.io.Serializable;
* }
* </pre>
*
- * @since Commons IO 1.3
+ * @since 1.3
* @version $Id$
* @see FileFilterUtils#fileFileFilter()
*/
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java Thu Mar 22 20:55:29 2012
@@ -34,7 +34,7 @@ import org.apache.commons.io.IOCase;
* file filter implementations in this package so you don't have to import
* every class you use.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*/
public class FileFilterUtils {
@@ -71,7 +71,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if the filter is <code>null</code>
* or <code>files</code> contains a <code>null</code> value.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static File[] filter(IOFileFilter filter, File... files) {
if (filter == null) {
@@ -116,7 +116,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if the filter is <code>null</code>
* or <code>files</code> contains a <code>null</code> value.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static File[] filter(IOFileFilter filter, Iterable<File> files) {
List<File> acceptedFiles = filterList(filter, files);
@@ -146,7 +146,7 @@ public class FileFilterUtils {
* file filter.
* @throws IllegalArgumentException if the filter is <code>null</code>
* or <code>files</code> contains a <code>null</code> value.
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static List<File> filterList(IOFileFilter filter, Iterable<File> files) {
return filter(filter, files, new ArrayList<File>());
@@ -175,7 +175,7 @@ public class FileFilterUtils {
* file filter.
* @throws IllegalArgumentException if the filter is <code>null</code>
* or <code>files</code> contains a <code>null</code> value.
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static List<File> filterList(IOFileFilter filter, File... files) {
File[] acceptedFiles = filter(filter, files);
@@ -206,7 +206,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if the filter is <code>null</code>
* or <code>files</code> contains a <code>null</code> value.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static Set<File> filterSet(IOFileFilter filter, File... files) {
File[] acceptedFiles = filter(filter, files);
@@ -237,7 +237,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if the filter is <code>null</code>
* or <code>files</code> contains a <code>null</code> value.
*
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static Set<File> filterSet(IOFileFilter filter, Iterable<File> files) {
return filter(filter, files, new HashSet<File>());
@@ -301,7 +301,7 @@ public class FileFilterUtils {
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @return a prefix checking filter
* @see PrefixFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter prefixFileFilter(String prefix, IOCase caseSensitivity) {
return new PrefixFileFilter(prefix, caseSensitivity);
@@ -325,7 +325,7 @@ public class FileFilterUtils {
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @return a suffix checking filter
* @see SuffixFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter suffixFileFilter(String suffix, IOCase caseSensitivity) {
return new SuffixFileFilter(suffix, caseSensitivity);
@@ -349,7 +349,7 @@ public class FileFilterUtils {
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @return a name checking filter
* @see NameFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter nameFileFilter(String name, IOCase caseSensitivity) {
return new NameFileFilter(name, caseSensitivity);
@@ -415,7 +415,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if the filters are null or contain a
* null value.
* @see AndFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter and(IOFileFilter... filters) {
return new AndFileFilter(toList(filters));
@@ -430,7 +430,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if the filters are null or contain a
* null value.
* @see OrFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter or(IOFileFilter... filters) {
return new OrFileFilter(toList(filters));
@@ -443,7 +443,7 @@ public class FileFilterUtils {
* @return The list of file filters
* @throws IllegalArgumentException if the filters are null or contain a
* null value.
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static List<IOFileFilter> toList(IOFileFilter... filters) {
if (filters == null) {
@@ -524,7 +524,7 @@ public class FileFilterUtils {
* @param cutoff the time threshold
* @return an appropriately configured age file filter
* @see AgeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter ageFileFilter(long cutoff) {
return new AgeFileFilter(cutoff);
@@ -537,7 +537,7 @@ public class FileFilterUtils {
* @param acceptOlder if true, older files get accepted, if false, newer
* @return an appropriately configured age file filter
* @see AgeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter ageFileFilter(long cutoff, boolean acceptOlder) {
return new AgeFileFilter(cutoff, acceptOlder);
@@ -550,7 +550,7 @@ public class FileFilterUtils {
* @param cutoffDate the time threshold
* @return an appropriately configured age file filter
* @see AgeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter ageFileFilter(Date cutoffDate) {
return new AgeFileFilter(cutoffDate);
@@ -563,7 +563,7 @@ public class FileFilterUtils {
* @param acceptOlder if true, older files get accepted, if false, newer
* @return an appropriately configured age file filter
* @see AgeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter ageFileFilter(Date cutoffDate, boolean acceptOlder) {
return new AgeFileFilter(cutoffDate, acceptOlder);
@@ -577,7 +577,7 @@ public class FileFilterUtils {
* time is usesd as the threshold age of the files
* @return an appropriately configured age file filter
* @see AgeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter ageFileFilter(File cutoffReference) {
return new AgeFileFilter(cutoffReference);
@@ -591,7 +591,7 @@ public class FileFilterUtils {
* @param acceptOlder if true, older files get accepted, if false, newer
* @return an appropriately configured age file filter
* @see AgeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter ageFileFilter(File cutoffReference, boolean acceptOlder) {
return new AgeFileFilter(cutoffReference, acceptOlder);
@@ -604,7 +604,7 @@ public class FileFilterUtils {
* @param threshold the file size threshold
* @return an appropriately configured SizeFileFilter
* @see SizeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter sizeFileFilter(long threshold) {
return new SizeFileFilter(threshold);
@@ -617,7 +617,7 @@ public class FileFilterUtils {
* @param acceptLarger if true, larger files get accepted, if false, smaller
* @return an appropriately configured SizeFileFilter
* @see SizeFileFilter
- * @since Commons IO 1.2
+ * @since 1.2
*/
public static IOFileFilter sizeFileFilter(long threshold, boolean acceptLarger) {
return new SizeFileFilter(threshold, acceptLarger);
@@ -631,7 +631,7 @@ public class FileFilterUtils {
* @param maxSizeInclusive the maximum file size (inclusive)
* @return an appropriately configured IOFileFilter
* @see SizeFileFilter
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static IOFileFilter sizeRangeFileFilter(long minSizeInclusive, long maxSizeInclusive ) {
IOFileFilter minimumFilter = new SizeFileFilter(minSizeInclusive, true);
@@ -652,7 +652,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if <code>magicNumber</code> is
* <code>null</code> or the empty String.
* @see MagicNumberFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter magicNumberFileFilter(String magicNumber) {
return new MagicNumberFileFilter(magicNumber);
@@ -673,7 +673,7 @@ public class FileFilterUtils {
* <code>null</code> or the empty String, or if offset is a
* negative number.
* @see MagicNumberFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter magicNumberFileFilter(String magicNumber, long offset) {
return new MagicNumberFileFilter(magicNumber, offset);
@@ -692,7 +692,7 @@ public class FileFilterUtils {
* @throws IllegalArgumentException if <code>magicNumber</code> is
* <code>null</code> or is of length zero.
* @see MagicNumberFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter magicNumberFileFilter(byte[] magicNumber) {
return new MagicNumberFileFilter(magicNumber);
@@ -713,7 +713,7 @@ public class FileFilterUtils {
* <code>null</code>, or contains no bytes, or <code>offset</code>
* is a negative number.
* @see MagicNumberFileFilter
- * @since Commons IO 2.0
+ * @since 2.0
*/
public static IOFileFilter magicNumberFileFilter(byte[] magicNumber, long offset) {
return new MagicNumberFileFilter(magicNumber, offset);
@@ -769,7 +769,7 @@ public class FileFilterUtils {
* @param filter the filter to decorate, null means an unrestricted filter
* @return the decorated filter, never null
* @see DirectoryFileFilter#DIRECTORY
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static IOFileFilter makeDirectoryOnly(IOFileFilter filter) {
if (filter == null) {
@@ -784,7 +784,7 @@ public class FileFilterUtils {
* @param filter the filter to decorate, null means an unrestricted filter
* @return the decorated filter, never null
* @see FileFileFilter#FILE
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static IOFileFilter makeFileOnly(IOFileFilter filter) {
if (filter == null) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/HiddenFileFilter.java Thu Mar 22 20:55:29 2012
@@ -45,7 +45,7 @@ import java.io.Serializable;
* }
* </pre>
*
- * @since Commons IO 1.3
+ * @since 1.3
* @version $Id$
*/
public class HiddenFileFilter extends AbstractFileFilter implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/IOFileFilter.java Thu Mar 22 20:55:29 2012
@@ -24,7 +24,7 @@ import java.io.FilenameFilter;
* An interface which brings the FileFilter and FilenameFilter
* interfaces together.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
*/
public interface IOFileFilter extends FileFilter, FilenameFilter {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java Thu Mar 22 20:55:29 2012
@@ -58,7 +58,7 @@ import org.apache.commons.io.IOUtils;
* System.out.println(tarFile);
* }
* </pre></code>
- * @since Commons IO 2.0
+ * @since 2.0
* @see FileFilterUtils#magicNumberFileFilter(byte[])
* @see FileFilterUtils#magicNumberFileFilter(String)
* @see FileFilterUtils#magicNumberFileFilter(byte[], long)
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NameFileFilter.java Thu Mar 22 20:55:29 2012
@@ -36,7 +36,7 @@ import org.apache.commons.io.IOCase;
* }
* </pre>
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
* @see FileFilterUtils#nameFileFilter(String)
* @see FileFilterUtils#nameFileFilter(String, IOCase)
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/NotFileFilter.java Thu Mar 22 20:55:29 2012
@@ -22,7 +22,7 @@ import java.io.Serializable;
/**
* This filter produces a logical NOT of the filters specified.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
* @see FileFilterUtils#notFileFilter(IOFileFilter)
*/
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/OrFileFilter.java Thu Mar 22 20:55:29 2012
@@ -29,7 +29,7 @@ import java.util.List;
* Checking of the file filter list stops when the first filter returns
* <code>true</code>.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
* @see FileFilterUtils#or(IOFileFilter...)
*/
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/PrefixFileFilter.java Thu Mar 22 20:55:29 2012
@@ -36,7 +36,7 @@ import org.apache.commons.io.IOCase;
* }
* </pre>
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
* @see FileFilterUtils#prefixFileFilter(String)
* @see FileFilterUtils#prefixFileFilter(String, IOCase)
@@ -66,7 +66,7 @@ public class PrefixFileFilter extends Ab
* @param prefix the prefix to allow, must not be null
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @throws IllegalArgumentException if the prefix is null
- * @since Commons IO 1.4
+ * @since 1.4
*/
public PrefixFileFilter(String prefix, IOCase caseSensitivity) {
if (prefix == null) {
@@ -99,7 +99,7 @@ public class PrefixFileFilter extends Ab
* @param prefixes the prefixes to allow, must not be null
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @throws IllegalArgumentException if the prefix is null
- * @since Commons IO 1.4
+ * @since 1.4
*/
public PrefixFileFilter(String[] prefixes, IOCase caseSensitivity) {
if (prefixes == null) {
@@ -129,7 +129,7 @@ public class PrefixFileFilter extends Ab
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @throws IllegalArgumentException if the prefix list is null
* @throws ClassCastException if the list does not contain Strings
- * @since Commons IO 1.4
+ * @since 1.4
*/
public PrefixFileFilter(List<String> prefixes, IOCase caseSensitivity) {
if (prefixes == null) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/RegexFileFilter.java Thu Mar 22 20:55:29 2012
@@ -40,7 +40,7 @@ import org.apache.commons.io.IOCase;
* </pre>
*
* @version $Id$
- * @since Commons IO 1.4
+ * @since 1.4
*/
public class RegexFileFilter extends AbstractFileFilter implements Serializable {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SizeFileFilter.java Thu Mar 22 20:55:29 2012
@@ -35,7 +35,7 @@ import java.io.Serializable;
* </pre>
*
* @version $Id$
- * @since Commons IO 1.2
+ * @since 1.2
* @see FileFilterUtils#sizeFileFilter(long)
* @see FileFilterUtils#sizeFileFilter(long, boolean)
* @see FileFilterUtils#sizeRangeFileFilter(long, long)
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/SuffixFileFilter.java Thu Mar 22 20:55:29 2012
@@ -37,7 +37,7 @@ import org.apache.commons.io.IOCase;
* }
* </pre>
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
* @see FileFilterUtils#suffixFileFilter(String)
* @see FileFilterUtils#suffixFileFilter(String, IOCase)
@@ -67,7 +67,7 @@ public class SuffixFileFilter extends Ab
* @param suffix the suffix to allow, must not be null
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @throws IllegalArgumentException if the suffix is null
- * @since Commons IO 1.4
+ * @since 1.4
*/
public SuffixFileFilter(String suffix, IOCase caseSensitivity) {
if (suffix == null) {
@@ -100,7 +100,7 @@ public class SuffixFileFilter extends Ab
* @param suffixes the suffixes to allow, must not be null
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @throws IllegalArgumentException if the suffix array is null
- * @since Commons IO 1.4
+ * @since 1.4
*/
public SuffixFileFilter(String[] suffixes, IOCase caseSensitivity) {
if (suffixes == null) {
@@ -130,7 +130,7 @@ public class SuffixFileFilter extends Ab
* @param caseSensitivity how to handle case sensitivity, null means case-sensitive
* @throws IllegalArgumentException if the suffix list is null
* @throws ClassCastException if the list does not contain Strings
- * @since Commons IO 1.4
+ * @since 1.4
*/
public SuffixFileFilter(List<String> suffixes, IOCase caseSensitivity) {
if (suffixes == null) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/TrueFileFilter.java Thu Mar 22 20:55:29 2012
@@ -22,7 +22,7 @@ import java.io.Serializable;
/**
* A file filter that always returns true.
*
- * @since Commons IO 1.0
+ * @since 1.0
* @version $Id$
* @see FileFilterUtils#trueFileFilter()
*/
@@ -30,7 +30,7 @@ public class TrueFileFilter implements I
/**
* Singleton instance of true filter.
- * @since Commons IO 1.3
+ * @since 1.3
*/
public static final IOFileFilter TRUE = new TrueFileFilter();
/**
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java?rev=1304052&r1=1304051&r2=1304052&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/filefilter/WildcardFileFilter.java Thu Mar 22 20:55:29 2012
@@ -46,7 +46,7 @@ import org.apache.commons.io.IOCase;
* </pre>
*
* @version $Id$
- * @since Commons IO 1.3
+ * @since 1.3
*/
public class WildcardFileFilter extends AbstractFileFilter implements Serializable {