Package net.snowflake.client.core
Class FileUtil
- java.lang.Object
-
- net.snowflake.client.core.FileUtil
-
@SnowflakeJdbcInternalApi public class FileUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidlogFileUsage(File file, String context, boolean logReadAccess)static voidlogFileUsage(String stringPath, String context, boolean logReadAccess)static voidlogFileUsage(Path filePath, String context, boolean logReadAccess)static voidthrowWhenOwnerDifferentThanCurrentUser(File file, String context)static voidthrowWhenPermiossionDifferentThanReadWriteForOwner(File file, String context)static voidthrowWhenPermiossionDifferentThanReadWriteForOwner(Path filePath, String context)
-
-
-
Method Detail
-
logFileUsage
public static void logFileUsage(String stringPath, String context, boolean logReadAccess)
-
throwWhenPermiossionDifferentThanReadWriteForOwner
public static void throwWhenPermiossionDifferentThanReadWriteForOwner(File file, String context)
-
throwWhenPermiossionDifferentThanReadWriteForOwner
public static void throwWhenPermiossionDifferentThanReadWriteForOwner(Path filePath, String context)
-
-