public class Java7AttributeUtils extends Object
Constructor and Description |
---|
Java7AttributeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
chmod(File file,
int mode) |
static long |
getLastModified(File file) |
static Set<java.nio.file.attribute.PosixFilePermission> |
getPermissions(int mode) |
static java.nio.file.attribute.PosixFileAttributes |
getPosixFileAttributes(File file) |
public static long getLastModified(File file)
public static void chmod(File file, int mode) throws IOException
IOException
public static Set<java.nio.file.attribute.PosixFilePermission> getPermissions(int mode)
public static java.nio.file.attribute.PosixFileAttributes getPosixFileAttributes(File file) throws IOException
IOException
Copyright © 2001-2014 Codehaus. All Rights Reserved.