Package net.sourceforge.pmd.util
Class IOUtil
- java.lang.Object
-
- net.sourceforge.pmd.util.IOUtil
-
@InternalApi @Deprecated public final class IOUtil extends Object
Deprecated.Is internal API- Author:
- Brian Remedios
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Writer
createWriter()
Deprecated.static Writer
createWriter(String reportFile)
Deprecated.Creates a writer that writes to the given file or to stdout.static Reader
skipBOM(Reader source)
Deprecated.static void
tryCloseClassLoader(ClassLoader classLoader)
Deprecated.
-
-
-
Method Detail
-
createWriter
public static Writer createWriter()
Deprecated.
-
createWriter
public static Writer createWriter(String reportFile)
Deprecated.Creates a writer that writes to the given file or to stdout.Warning: This writer always uses the system default charset.
- Parameters:
reportFile
- the file name (optional)- Returns:
- the writer, never
null
-
tryCloseClassLoader
public static void tryCloseClassLoader(ClassLoader classLoader)
Deprecated.
-
-