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 WritercreateWriter()Deprecated.static WritercreateWriter(String reportFile)Deprecated.Creates a writer that writes to the given file or to stdout.static ReaderskipBOM(Reader source)Deprecated.static voidtryCloseClassLoader(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. The file is created if it does not exist.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.
-
-