Class OfficeFloorFileAttributes
- java.lang.Object
-
- net.officefloor.server.filesystem.OfficeFloorFileAttributes
-
public class OfficeFloorFileAttributes extends java.lang.Object
Provides safeFileAttribute
support.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorFileAttributes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.nio.file.attribute.FileAttribute<?>[]
getDefaultDirectoryAttributes()
Obtains the defaultFileAttribute
instances for a directory.static java.nio.file.attribute.FileAttribute<?>[]
getDefaultFileAttributes()
Obtains the defaultFileAttribute
instances for a file.static boolean
isSupportPosix()
Indicates if posix is supported.
-
-
-
Method Detail
-
isSupportPosix
public static boolean isSupportPosix()
Indicates if posix is supported.- Returns:
true
if posix is supported.
-
getDefaultDirectoryAttributes
public static java.nio.file.attribute.FileAttribute<?>[] getDefaultDirectoryAttributes()
Obtains the defaultFileAttribute
instances for a directory.- Returns:
- Default
FileAttribute
instances for a directory.
-
getDefaultFileAttributes
public static java.nio.file.attribute.FileAttribute<?>[] getDefaultFileAttributes()
Obtains the defaultFileAttribute
instances for a file.- Returns:
- Default
FileAttribute
instances for a file.
-
-