| Package | Description |
|---|---|
| net.sf.mmm.util.file.api |
Provides the API for utilities that help to deal with files.
|
| net.sf.mmm.util.file.base |
Contains public implementations of
File-utilities. |
| Modifier and Type | Method and Description |
|---|---|
static FileAccessClass |
FileAccessClass.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileAccessClass[] |
FileAccessClass.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FileAccessPermissions |
FileUtil.getPermissions(File file,
FileAccessClass accessClass)
This method gets the
permissions of the given file. |
| Modifier and Type | Method and Description |
|---|---|
FileAccessPermissions |
FileUtilImpl.getPermissions(File file,
FileAccessClass accessClass) |
private boolean |
FileAccessPermissions.hasFlag(FileAccessClass fileModeClass,
int bitMask)
This method determines if the flag(s) given by
bitMask is set in this mask for the
given fileModeClass. |
boolean |
FileAccessPermissions.isExecutable(FileAccessClass fileModeClass)
This method determines if this
mask is executable for the given fileModeClass. |
boolean |
FileAccessPermissions.isReadable(FileAccessClass fileModeClass)
This method determines if this
mask is readable for the given fileModeClass. |
boolean |
FileAccessPermissions.isWritable(FileAccessClass fileModeClass)
This method determines if this
mask is writable for the given fileModeClass. |
void |
FileAccessPermissions.setExecutable(FileAccessClass fileModeClass,
boolean executable)
This method sets the
executable flag of this this mask for the given fileModeClass to the given value ( executable). |
private void |
FileAccessPermissions.setFlag(FileAccessClass fileModeClass,
int bitMask,
boolean flag)
This method sets the flag(s) given by
bitMask of this this mask for the given
fileModeClass to the given value (flag). |
void |
FileAccessPermissions.setReadable(FileAccessClass fileModeClass,
boolean readable)
This method sets the
readable flag of this this mask
for the given fileModeClass to the given value ( readable). |
void |
FileAccessPermissions.setWritable(FileAccessClass fileModeClass,
boolean writable)
This method sets the
writable flag of this this mask
for the given fileModeClass to the given value ( writable). |
private int |
FileAccessPermissions.shiftMask(FileAccessClass fileModeClass,
int bitMask)
This method shifts the given
bitMask according to the given fileModeClass. |
Copyright © 2001–2016 mmm-Team. All rights reserved.