Class FileUtil


  • public final class FileUtil
    extends Object
    Author:
    Geoffroy Jamgotchian
    • Method Detail

      • createDirectory

        public static Path createDirectory​(Path directory)
      • asByteSource

        public static com.google.common.io.ByteSource asByteSource​(Path path,
                                                                   OpenOption... openOptions)
        Simplistic implementation of byte source based on a Path, waiting for guava 21.
        Parameters:
        path -
        openOptions -
        Returns: