Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Methods

Deprecated Classes
org.apache.commons.io.CopyUtils Use IOUtils. Will be removed in 2.0. Methods renamed to IOUtils.write() or IOUtils.copy(). Null handling behaviour changed in IOUtils (null data does not throw NullPointerException).
org.apache.commons.io.FileCleaner Use `FileCleaningTracker`
org.apache.commons.io.filefilter.WildcardFilter Use WilcardFileFilter. Deprecated as this class performs directory filtering which it shouldn't do, but that can't be removed due to compatability.

Deprecated Methods
org.apache.commons.io.filefilter.FileFilterUtils.andFileFilter(IOFileFilter, IOFileFilter) use `FileFilterUtils.and(IOFileFilter...)`
org.apache.commons.io.FileCleaner.exitWhenFinished() Use `FileCleaningTracker.exitWhenFinished()`.
org.apache.commons.io.FileSystemUtils.freeSpace(String) Use freeSpaceKb(String) Deprecated from 1.3, may be removed in 2.0
org.apache.commons.io.FileCleaner.getTrackCount() Use `FileCleaningTracker.getTrackCount()`.
org.apache.commons.io.filefilter.FileFilterUtils.orFileFilter(IOFileFilter, IOFileFilter) use `FileFilterUtils.or(IOFileFilter...)`
org.apache.commons.io.IOUtils.toByteArray(String) Use `String.getBytes()`
org.apache.commons.io.IOUtils.toString(byte[]) Use `String.String(byte[])`
org.apache.commons.io.IOUtils.toString(byte[], String) Use `String.String(byte[],String)`
org.apache.commons.io.FileCleaner.track(File, Object) Use `FileCleaningTracker.track(File, Object)`.
org.apache.commons.io.FileCleaner.track(File, Object, FileDeleteStrategy) Use `FileCleaningTracker.track(File, Object, FileDeleteStrategy)`.
org.apache.commons.io.FileCleaner.track(String, Object) Use `FileCleaningTracker.track(String, Object)`.
org.apache.commons.io.FileCleaner.track(String, Object, FileDeleteStrategy) Use `FileCleaningTracker.track(String, Object, FileDeleteStrategy)`.
org.apache.commons.io.IOUtils.write(StringBuffer, OutputStream) replaced by write(CharSequence, OutputStream)
org.apache.commons.io.IOUtils.write(StringBuffer, OutputStream, String) replaced by write(CharSequence, OutputStream, String)
org.apache.commons.io.IOUtils.write(StringBuffer, Writer) replaced by write(CharSequence, Writer)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.