Package flexagon.ff.common.core.utils
Class FlexFileBase
java.lang.Object
flexagon.ff.common.core.utils.FlexFileBase
- Direct Known Subclasses:
FlexFileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSymbolicLink(File file) Returns true if file represents symbolic link.static booleanisSymbolicLink(Path pPath) Returns true if pPath represents symbolic link.static voidsetOwnerOnlyFilePermissions(File pFile) Sets the permissions of the given File instance to 700
-
Constructor Details
-
FlexFileBase
public FlexFileBase()
-
-
Method Details
-
isSymbolicLink
Returns true if pPath represents symbolic link.- Parameters:
pPath-- Returns:
-
isSymbolicLink
Returns true if file represents symbolic link.- Parameters:
file-- Returns:
-
setOwnerOnlyFilePermissions
Sets the permissions of the given File instance to 700- Parameters:
pFile- file or directory to have its permissions set- Throws:
IOException
-