Package org.codehaus.plexus.util
Class BaseFileUtils
- java.lang.Object
-
- org.codehaus.plexus.util.BaseFileUtils
-
- Direct Known Subclasses:
FileUtils
abstract class BaseFileUtils extends java.lang.Object
Implementation specific to Java SE 8 version.
-
-
Constructor Summary
Constructors Constructor Description BaseFileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.String
fileRead(java.nio.file.Path path, java.lang.String encoding)
(package private) static void
fileWrite(java.nio.file.Path path, java.lang.String encoding, java.lang.String data, java.nio.file.OpenOption... openOptions)
-
-
-
Method Detail
-
fileRead
static java.lang.String fileRead(java.nio.file.Path path, java.lang.String encoding) throws java.io.IOException
- Throws:
java.io.IOException
-
fileWrite
static void fileWrite(java.nio.file.Path path, java.lang.String encoding, java.lang.String data, java.nio.file.OpenOption... openOptions) throws java.io.IOException
- Throws:
java.io.IOException
-
-