public class MapRFileSystem
extends FileSystem
| Constructor and Description |
|---|
MapRFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAces(Path path)
This method deletes all ACEs of a file or directory.
|
java.util.List<MapRFileAce> |
getAces(Path path)
This method gets the ACEs of a file or directory.
|
void |
modifyAces(Path path,
java.util.List<MapRFileAce> aces)
This method modifies ACEs of a file or directory.
|
void |
setAces(Path path,
java.util.List<MapRFileAce> aces)
This method fully replace ACEs of a file or directory,
discarding all existing ones.
|
public void setAces(Path path,
java.util.List<MapRFileAce> aces)
throws java.io.IOException
path - path to set ACEsaces - list of file ACEsjava.io.IOException - if an ACE could not be replacedpublic void modifyAces(Path path,
java.util.List<MapRFileAce> aces)
throws java.io.IOException
path - path to set ACEsaces - list of file ACEsjava.io.IOException - if an ACE could not be modifiedpublic void deleteAces(Path path)
throws java.io.IOException
path - path to delete ACEsjava.io.IOException - if an ACEs could not be modifiedpublic java.util.List<MapRFileAce> getAces(Path path) throws java.io.IOException
path - path to set ACEsjava.io.IOException - if an ACE could not be read