public class HadoopFileOwnerAttributeView extends Object implements FileOwnerAttributeView
FileOwnerAttributeView.| Constructor and Description |
|---|
HadoopFileOwnerAttributeView(HadoopPath path) |
| Modifier and Type | Method and Description |
|---|---|
UserPrincipal |
getOwner() |
String |
name() |
void |
setOwner(UserPrincipal owner) |
public HadoopFileOwnerAttributeView(HadoopPath path)
public String name()
name in interface AttributeViewname in interface FileOwnerAttributeViewpublic UserPrincipal getOwner() throws IOException
getOwner in interface FileOwnerAttributeViewIOExceptionpublic void setOwner(UserPrincipal owner) throws IOException
setOwner in interface FileOwnerAttributeViewIOExceptionCopyright © 2017. All rights reserved.